/* Globals */
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --BLACK: #010101;
  --WHITE: #fefefe;
  --PRIMARY: #682bd7;
  --PRIMARY-LIGHT: #a37cf0;
  --PRIMARY-ALT: #bd2e95;
  --SECONDARY: #918983;
  --SECONDARY-LIGHT: #e6ddd6;
  --SECONDARY-ALT: #5b3629;

  --btn-padding: 0.5em 1em;
  --btn-border-radius: 1rem;
}

body {
  font-family: "Fira Sans", Arial, "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 400;
  vertical-align: baseline;
  display: flex;
  flex-flow: column nowrap;
  color: var(--SECONDARY);
}
img {
  vertical-align: bottom;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--PRIMARY);
  font-weight: 600;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 28px;
  margin: 0;
}
h4 {
  font-size: 24px;
  margin: 0;
}
h5 {
  font-size: 22px;
}
h6 {
  font-size: 20px;
}
.grecaptcha-badge {
  visibility: hidden;
}
a,
a:link,
a:visited {
  color: var(--PRIMARY);
  text-decoration: none;
}
a:hover {
  color: var(--PRIMARY-ALT);
  text-decoration: none;
}
a:active {
  color: var(--SECONDARY);
}

.negative {
  color: var(--SECONDARY-LIGHT);
}
.negative h1,
.negative h2,
.negative h3,
.negative h4,
.negative h5,
.negative h6 {
  color: var(--PRIMARY-LIGHT);
}
.wrapper {
  width: 80%;
  margin: 0 auto;
}
.bttn {
  display: inline-block; /* To allow padding */
  text-decoration: none; /* Remove underline */
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
}
a.bttn {
  text-align: center;
  font-size: 16px;
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
}
a.bttn:link,
a.bttn:visited {
  color: var(--SECONDARY);
  color: var(--SECONDARY-LIGHT);
  border: 1px solid var(--SECONDARY);
  text-decoration: none;
}
a.bttn:hover {
  background-color: var(--PRIMARY-LIGHT);
  color: var(--SECONDARY-LIGHT);
}
a.bttn:active {
  background-color: var(--SECONDARY-ALT);
  color: var(--SECONDARY);
}

/* Header */

#header {
  margin-top: 50px;
  background-color: var(--SECONDARY);
  padding: 25px 0;
  background-image: url("./assets/header-background.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
}

#headerTop {
  background-color: var(--BLACK);
  background-image: linear-gradient(to right, var(--BLACK), var(--PRIMARY));
  text-align: center;
  position: fixed;
  border-bottom: 1px solid var(--SECONDARY);
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 10px 0 5px 0;
  display: flex;
  justify-content: space-between;
}

.logo {
  width: 150px;
  height: auto;
  padding-left: 10px;
}

#navBttn {
  background-color: transparent;
  width: 48px;
  height: 48px;
  padding-right: 20px;
  display: flex;
  justify-content: right;
  align-items: center;
  position: relative;
  border: none;
}

#navBttn a {
  font-size: 26px;
  color: var(--SECONDARY-LIGHT);
}

nav {
  display: none;
  position: relative;
}

#headerTop:focus-within nav {
  display: block;
  transform-origin: top center;
  animation: showMenu 0.5s ease-in-out forwards;
}

@keyframes showMenu {
  0% {
    transform: scaleY(0);
  }
  80% {
    transform: scaleY(1.2);
  }
  100% {
    transform: scaleY(1);
  }
}

nav ul {
  display: flex;
  flex-flow: column nowrap;
  list-style-type: none;
  font-size: 16px;
  font-weight: 300;
}
nav ul li {
  padding: 0.5rem;
}
nav ul li a {
  display: block;
  text-align: right;
  width: 95%;
  margin: auto;
}
nav ul li a:link,
nav ul li a:visited {
  color: var(--SECONDARY-LIGHT);
  text-decoration: none;
}
nav ul li a:hover,
nav ul li a:focus {
  color: var(--PRIMARY-ALT);
  transition: all 0.3s;
}
nav ul li a:active {
  color: var(--PRIMARY-ALT);
}
nav ul li a:any-link {
  font-weight: bold;
}

#headerBottom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 200px;
}

#headBotContainerUp {
  display: block;
  justify-content: center;
  margin: 0 auto;
}
#headBotContainerUp h1 {
  color: var(--SECONDARY-LIGHT);
}

#headBotContainerDown span {
  font-size: 20px;
}

#textAnime {
  margin-top: 10px;
}
#textAnime h5 {
  color: var(--SECONDARY-LIGHT);
}
#domain {
  color: var(--PRIMARY);
  display: inline;
}
#animationContainer {
  margin: 0 auto;
}
span:before {
  content: "";
  animation: animationContainer infinite 35s ease-in-out;
}
@keyframes animationContainer {
  0% {
    content: "Differences in the configurations of development, testing and production environments";
    opacity: 0;
  }
  7% {
    content: "Differences in the configurations of development, testing and production environments";
    opacity: 1;
  }
  14% {
    content: "Differences in the configurations of development, testing and production environments";
    opacity: 0;
  }

  15% {
    content: "The slow manual process of providing new IT infrastructure";
    opacity: 0;
  }
  22% {
    content: "The slow manual process of providing new IT infrastructure";
    opacity: 1;
  }
  29% {
    content: "The slow manual process of providing new IT infrastructure";
    opacity: 0;
  }

  30% {
    content: "Time-consuming infrastructure modifications, software updates and bug fixing";
    opacity: 0;
  }
  37% {
    content: "Time-consuming infrastructure modifications, software updates and bug fixing";
    opacity: 1;
  }
  44% {
    content: "Time-consuming infrastructure modifications, software updates and bug fixing";
    opacity: 0;
  }

  45% {
    content: "The lack of collaboration between the teams (development, testing, system administration, and security) resulting in a slow software delivery and low software quality";
    opacity: 0;
  }
  52% {
    content: "The lack of collaboration between the teams (development, testing, system administration, and security) resulting in a slow software delivery and low software quality";
    opacity: 1;
  }
  59% {
    content: "The lack of collaboration between the teams (development, testing, system administration, and security) resulting in a slow software delivery and low software quality";
    opacity: 0;
  }

  60% {
    content: "Post-release errors affecting user or customer experience or business operations";
    opacity: 0;
  }
  67% {
    content: "Post-release errors affecting user or customer experience or business operations";
    opacity: 1;
  }
  74% {
    content: "Post-release errors affecting user or customer experience or business operations";
    opacity: 0;
  }

  75% {
    content: "A slow and inefficient testing process due to insufficient test automation";
    opacity: 0;
  }
  82% {
    content: "A slow and inefficient testing process due to insufficient test automation";
    opacity: 1;
  }
  89% {
    content: "A slow and inefficient testing process due to insufficient test automation";
    opacity: 0;
  }
  90% {
    content: "Customers are aware of problems on your application before you";
    opacity: 0;
  }
  95% {
    content: "Customers are aware of problems on your application before you";
    opacity: 1;
  }
  100% {
    content: "Customers are aware of problems on your application before you";
    opacity: 0;
  }
}

/* About us */

#about {
  background-color: var(--BLACK);
  top: 0;
  width: 100%;
  padding: 50px 0 50px 0;
}
.aboutLine {
  margin-bottom: 20px;
}
.aboutLine p {
  display: inline;
}
#aboutTop {
  border-bottom: 2px solid var(--SECONDARY-LIGHT);
  text-align: justify;
  line-height: 25px;
  padding-bottom: 20px;
}
#aboutHeader {
  text-align: justify;
  line-height: 25px;
  padding: 20px 0 20px 0;
}
#aboutText h6 {
  color: var(--PRIMARY);
  line-height: 35px;
}
#aboutBot {
  margin-top: 40px;
  display: block;
}
#ourInfo {
  margin-top: 60px;
}
#ourInfo .bttn:first-of-type {
  background-color: var(--PRIMARY);
  color: var(--SECONDARY-LIGHT);
}
#ourInfo .bttn:first-of-type:hover {
  background-color: var(--BLACK);
  color: var(--PRIMARY-ALT);
  transition: all 0.5s ease;
}
#ourInfo .bttn {
  transition: 400ms all ease;
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
}

/* Services */

#services {
  background-color: var(--SECONDARY-LIGHT);
  padding: 50px 0 70px 0;
}
.articles {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 30px;
  gap: 10px;
}
.inner {
  position: relative;
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  border: 1px solid var(--SECONDARY);
  text-align: center;
  background-color: var(--WHITE);
  margin: 0 auto 25px;
  font-size: 16px;
  flex: 40%;
  box-sizing: border-box;
}
.inner i {
  top: 10px;
  padding-top: 0.8em;
  text-align: center;
  color: var(--BLACK);
}
.inner p {
  font-size: 16px;
  color: var(--SECONDARY-ALT);
}
.inner ul {
  padding: 20px 35px 20px 35px;
}
.inner ul li {
  text-align: left;
  margin-top: 10px;
  color: var(--SECONDARY-ALT);
}
.inner h6 {
  margin-top: 25px;
}

/* Call to action */

#callToAction {
  padding: 100px 0 100px 0;
  background: url(./assets/call-to-action-background.jpg) repeat center center
    fixed;
  background-size: cover;
  border-top: 2px solid var(--BLACK);
  border-bottom: 2px solid var(--BLACK);
}
#borderBackground {
  margin: 30px auto;
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 15px;
  width: 60%;
  justify-content: center;
}
#ctaContent {
  margin: 0 auto;
  text-align: center;
  padding: 30px;
}
#ctaContent h3 {
  color: var(--PRIMARY);
}
#hireMeBttn .bttn {
  margin: 0px auto 30px;
  background-color: var(--PRIMARY);
  color: var(--WHITE);
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  border: 2px solid var(--SECONDARY);
}
#hireMeBttn {
  text-align: center;
  bottom: 0;
  color: var(--WHITE);
  width: 100%;
}

/* Tech */

#tech {
  background-color: var(--SECONDARY-LIGHT);
  padding: 50px 0 70px 0;
  width: 100%;
  overflow: hidden;
}
#tools {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.tool {
  display: flex;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  justify-content: center;
}
.tool img {
  align-items: center;
  width: auto;
  height: 70%;
}

/* Projects */

#projects {
  padding: 50px 0 50px 0;
  background-color: var(--BLACK);
}

#projectBoxes {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.projectBox {
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  margin: 30px 30px 30px 0;
}

.companyLogo {
  width: 100px;
  height: 100px;
}

.companyLogo img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 30%;
}

.companyInfo {
  padding-left: 25px;
  color: var(--SECONDARY-LIGHT);
}

.companyInfo h3 {
  font-size: 22px;
}

.companyInfo p {
  margin-top: 20px;
  font-size: 14px;
}

/* Contact */

#contact {
  padding: 50px 0 50px;
}

#contactForm {
  margin-top: 30px;
}

/* footer */

#footer {
  background-color: var(--BLACK);
  padding: 40px 0;
  text-align: center;
}
#footerContainer {
  margin-bottom: 20px;
  display: block;
}
.icon {
  color: var(--PRIMARY-ALT);
  font-size: 28px;
  margin-bottom: 15px;
}
.footerInfo {
  padding: 20px 0;
  font-weight: 300;
}
#cpyRight {
  font-size: 12px;
  color: var(--SECONDARY);
}

/* Form */

#contactForm input[type="text"] {
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  font-size: 16px;
  width: 100%;
  background-color: var(--SECONDARY-LIGHT);
  color: var(--BLACK);
  border: none;
  border-bottom: 1px solid var(--SECONDARY);
  font-family: "Fira Sans", Arial, sans-serif;
}
#contactForm input[type="email"] {
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  font-size: 16px;
  width: 100%;
  background-color: var(--SECONDARY-LIGHT);
  color: var(--BLACK);
  border: none;
  border-bottom: 1px solid var(--SECONDARY);
  font-family: "Fira Sans", Arial, sans-serif;
}
#contactForm textarea {
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  font-size: 16px;
  background-color: var(--SECONDARY-LIGHT);
  color: var(--BLACK);
  border: none;
  border-bottom: 1px solid var(--SECONDARY);
  width: 100%;
  height: 300px;
  font-family: "Fira Sans", Arial, sans-serif;
}
#contactForm input[type="submit"] {
  border: none;
  letter-spacing: 1px;
  color: var(--SECONDARY-LIGHT);
  font-size: 16px;
  font-family: "Fira Sans", Arial, sans-serif;
  display: inline-block;
  text-align: center;
  padding: var(--btn-padding);
  border-radius: var(--btn-border-radius);
  background-color: var(--PRIMARY);
  border: 1px var(--PRIMARY) solid;
  margin: 40px 0;
}
#contactForm input[type="submit"]:hover {
  transition: all 0.2s ease-in;
  color: var(--PRIMARY);
  background-color: var(--PRIMARY-LIGHT);
  border: 2px var(--PRIMARY) solid;
}
#contactForm input[type="submit"]:active {
  color: var(--SECONDARY-LIGHT);
  background-color: var(--PRIMARY-ALT);
  border: 2px var(--PRIMARY) solid;
}
#reCAPTCHA {
  font-size: 14px;
}

/* Responsive */

@media screen and (min-width: 480px) and (max-width: 767px) {
  .job img {
    width: 200px;
  }
  .footerInfo {
    font-weight: 300;
    margin: 30px 10px;
    vertical-align: top;
  }
  .icon {
    font-size: 24px;
  }
  .icon > i {
    font-size: 40px;
  }
  .inner i {
    left: 47%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #aboutBot {
    font-size: 18px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 20px;
    grid-template-areas:
      "infoName infoMail"
      "infoAge infoFrom";
  }
  #infoName {
    grid-area: infoName;
  }
  #infoAge {
    grid-area: infoAge;
  }
  #infoMail {
    grid-area: infoMail;
  }
  #infoFrom {
    grid-area: infoFrom;
  }
  .inner {
    flex-direction: row;
    width: 40%;
  }
  .inner i {
    left: 47%;
  }
  #ctaContent {
    width: 50%;
  }
  .articles {
    flex-direction: row;
  }
}
@media screen and (min-width: 1024px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 42px;
    margin-bottom: 0;
  }
  h3 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  h4 {
    font-size: 30px;
    padding-top: 20px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 24px;
    padding-top: 20px;
  }
  a.bttn {
    font-size: 20px;
  }
  #headerTop {
    z-index: 3;
  }
  #headerBottom {
    height: 100vh;
    padding: 0;
    max-width: 100%;
  }
  #headerBottom h1 {
    margin: 0;
  }
  #headBotContainerUp {
    position: relative;
    top: 40%;
  }

  #animationContainer {
    display: block;
    position: relative;
    height: 100%;
  }
  #navBttn {
    display: none;
  }
  nav {
    display: block;
    position: fixed;
    right: 0;
    z-index: 4;
  }
  nav ul {
    display: flex;
    flex-flow: nowrap;
    list-style-type: none;
    font-size: 16px;
    font-weight: 300;
    transform: translateY(-185%);
  }
  nav ul li {
    padding: 0.5rem;
    margin: 0 15px 0 15px;
  }
  nav ul li a {
    display: block;
    text-align: right;
    width: 100%;
    margin: auto;
  }
  #aboutImg {
    width: 300px;
    float: left;
    padding: 7px;
    margin-right: 50px;
    margin-top: 20px;
  }
  #aboutImg img {
    border-radius: 90px 45px;
  }
  #aboutText {
    margin-top: 30px;
  }

  #myInfo .bttn {
    font-size: 16px;
  }

  .articles {
    flex-direction: row;
  }
  #callToAction {
    padding: 150px 0;
  }
  #ctaContent {
    width: 40%;
    font-size: 22px;
  }
  #hireMeBttn .bttn {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .inner {
    flex-grow: 1;
    margin: 10px;
  }
  .inner p {
    font-size: 20px;
    line-height: 34px;
  }
  .inner i {
    top: 30px;
    left: 47%;
    font-size: 32px;
  }
  .job {
    border: 1px solid var(--SECONDARY-LIGHT);
    padding: 10px;
  }
  .job img {
    width: 270px;
  }
  #contact {
    padding: 100px 0;
  }
  .icon {
    font-size: 22px;
  }
  #footerContainer {
    display: flex;
    justify-content: space-between;
    margin: 0;
  }
  .footerInfo {
    font-size: 16px;
    font-weight: 300;
    margin: 30px 10px;
    vertical-align: top;
  }
  .footerInfo i {
    font-size: 30px;
  }
  #social .socialIcon {
    font-size: 20px;
  }
  #contactForm {
    margin-top: 30px;
  }
  #contactForm input[type="text"] {
    font-size: 16px;
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
    width: 60%;
  }
  #contactForm input[type="email"] {
    font-size: 16px;
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
    width: 60%;
  }
  #contactForm input[type="phone"] {
    font-size: 16px;
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
    width: 60%;
  }
  #contactForm textarea {
    font-size: 16px;
    width: 60%;
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
  }
  #contactForm input[type="submit"] {
    font-size: 16px;
    margin-top: 10px;
    padding: var(--btn-padding);
    border-radius: var(--btn-border-radius);
  }
}
