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

:root {
  --black: black;
  --white: white;

  --space-indigo: #22223B;
  --dusty-grape: #4a4e69;
  --bone: #d6ccc2;

  --accent: #d00000;
  --secondary: #FFBE0B;
}

body {
  font-family: 'AllRoundGothic-Medium', sans-serif;
  font-size: 18px;

  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'AllRoundGothic-Bold', sans-serif;
}

a {
  text-decoration: none;
  cursor: pointer;
}

li {
  list-style-type: none;
}

strong {
  font-family: 'AllRoundGothic-Bold', sans-serif;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  right: 0;
  left: 0;

  width: 100vw;
  height: 100px;

  background-color: var(--space-indigo);
  color: var(--bone);

  z-index: 99;
}

#brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  width:100%;
  height:100%;

  margin-left: 1rem;

  z-index: 99;

  animation: fadeInRight 0.8s ease-out 0.1s forwards;
}
.brand-logo {
  width: 45px;
  height: 45px;

}
#brand-wrapper h3 {
  font-family: 'AllRoundGothic-Demi', sans-serif;
  color: var(--bone);
}

#ham {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  width: 45px;
  height: 45px;

  padding: 10px 0;
  margin-right: 1rem;

  cursor: pointer;

  z-index: 99;

  animation: slideIn 0.5s ease-out forwards;
}

#ham.active {
  animation: slideIn 0.5s ease-out forwards;
}

#ham li {
  width: 100%;
  height: 3px;

  background-color: var(--accent);

  border-radius: 5px;
  transform-origin: left;

  animation: expandWidth 0.5s ease-out forwards;
}
#ham.active li:nth-child(2) {
  display: none;
  animation-delay: 0.2s;
}
#ham.active li:nth-child(1) {
  transform: rotate(45deg);
  animation-delay: 0.1s;
}
#ham.active li:nth-child(3) {
  transform: rotate(-45deg);
  animation-delay: 0.3s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 30px;
    opacity: 1;
  }
}

#nav.active {
  display: flex;
}

#nav {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;

  width: 100vw;
  height: 100vh;

  background-color: var(--space-indigo);

  /* margin-right: 1rem; */
  z-index: 98;

  animation: slideInNav 0.6s ease-out forwards;
}

#nav.active {
  animation: slideInNav 0.6s ease-out forwards;
}

.nav-item {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}
.nav-link:hover {
  color: var(--secondary);
}

@keyframes slideInNav {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100vw;
  /* height: fit-content; */
  height: 100vh;

  background-color: var(--space-indigo);
  color: var(--bone);

  text-align: center;

  padding: 1rem;

}

#hero h1 {
  font-family: 'ITC-Blair-Bold', sans-serif;
  animation: fadeInRight 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

#hero > p {
  animation: fadeInRight 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

#hero > a {
  background-color: var(--secondary);
  color: var(--black);

  border-radius: 5px;

  padding: 1rem;

  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

#hero > a:hover {
  background-color: var(--accent);
  color: var(--secondary);
}

#tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100vw;
  height: fit-content;

  background-color: var(--space-indigo);
  color: var(--bone);

  text-align: center;

  padding: 1rem;
}

#tools-comparison {
  width: 100%;
  border: 1px solid var(--bone);

  animation: fadeInTop 0.8s ease-out 0.1s forwards;
}

#tools-comparison thead th {
  border: 1px solid var(--bone);
  text-align: left;
  font-weight: bold;

  padding: 0.5rem;
}
#tools-comparison tbody td {
  border: 1px solid var(--bone);
  text-align: left;

  padding: 0.5rem;
}

#service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100vw;
  height: fit-content;

  background-color: var(--space-indigo);
  color: var(--bone);

  text-align: center;

  padding: 1rem;
}

#service > div.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  padding: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  width: 100%;
  height: fit-content;

  background-color: var(--dusty-grape);
  border-radius: 5%;
  padding: 1rem;

  animation: fadeInRight 0.8s ease-out 0.1s forwards;
}
.card-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.0rem;

  width: 100%;
  margin-top: 1rem;
}
.service-desc {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  
  padding: 1rem;
}
.service-desc li {
  list-style-type: disc;
}
.service-price {
  font-size: 24px;
  font-weight: bolder;
}
.service-order {
  background-color: var(--secondary);
  color: var(--black);
  
  font-family: 'AllRoundGothic-Demi', sans-serif;
  border-radius: 5px;

  padding: 1rem;
}

.service-order:hover {
  background-color: var(--accent);
  color: var(--secondary);
}

#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100vw;
  height: fit-content;

  background-color: var(--space-indigo);
  color: var(--bone);

  text-align: center;

  padding: 1rem;
}

#contact > h3 {
  animation: fadeInRight 0.8s ease-out 0.2s forwards;
}
#contact > p {
  width: 90%;

  animation: fadeInRight 0.8s ease-out 0.2s forwards;
}

#form-contact {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  /* width: 450px; */
  /* height: 350px; */

  background-color: var(--dusty-grape);
  border-radius: 10px;
  padding: 1rem;

  animation: fadeInRight 0.8s ease-out 0.3s forwards;
}

#form-contact > p {
  font-size: 16px;
}

.form-control {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;

  width: 100%;
  height: fit-content;

  padding: 1rem;
}
.form-label {
  font-size: 20px;
  font-weight: bold;
}
.form-input {
  width: 100%;
  height: 45px;

  font-size: 18px;
  font-weight: normal;

  border-radius: 10px;

  padding-left: 0.5rem;
}
textarea.form-input {
  height: 150px;
  padding-top: 0.5rem;
}

.form-control > button[type="submit"]{
  background-color: var(--secondary);
  color: var(--black);

  font-family: 'AllRoundGothic-Demi', sans-serif;

  border: 0px;
  border-radius: 5px;

  padding: 1rem;
}

.form-control > button[type="submit"]:hover {
  background-color: var(--accent);
  color: var(--secondary);
}

#third-party {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100vw;
  height: fit-content;

  background-color: var(--space-indigo);
  color: var(--bone);

  text-align: center;

  padding: 1rem;
}
#third-party > div.container {
  display: flex;
  flex-direction: row;

  animation: fadeInRight 0.8s ease-out 0.1s forwards;
}
#social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100vw;
  height: fit-content;

  background-color: var(--space-indigo);
  color: var(--bone);

  text-align: center;

  padding: 1rem;
}
#social > div.container {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  gap: 1rem;

  width: 50%;
  height: 50px;

  animation: fadeInRight 0.8s ease-out 0.1s forwards;
}
#social > div.container a {
  width: 25%;
  height: 100%;
}
#social > div.container a img{
  width: 100%;
  height: 100%;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100vw;
  height: fit-content;

  background-color: var(--space-indigo);
  color: var(--bone);

  padding: 1rem;
}

#date {
  margin: 4px;
}

#to-top {
  display: none;
  /* display: flex; */
  align-items: center;
  justify-content: center;

  position: fixed;
  bottom: 20px;
  left: 20px;

  width: 65px;
  height: 65px;

  background-color: var(--white);

  font-family: 'ITC-Blair-Bold', sans-serif;
  font-size: 28px;

  cursor: pointer;

  padding: 1rem;
  border-radius: 50%;
  z-index: 98;
  
  animation: fadeInRight 0.8s ease-out 0.1s forwards;
}

#to-top.scroll {
  display: flex;
}

#to-top {
  width: 55px;
  height: 55px;
}

#whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 85px;
  height: 85px;

  background-color: var(--white);
  
  cursor: pointer;

  border-radius: 50%;
  z-index: 98;
  
  animation: fadeInLeft 0.8s ease-out 0.1s forwards;
}


#whatsapp::before {
  content: "";
  display: block;

  position: absolute;
  left: 0px;
  bottom: -13px;

  width: 35px;
  height: 35px;

  background-color: var(--white);
  z-index: 97;

  transform: rotate(20deg);
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
}

#whatsapp img {
  z-index: 99;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@font-face {
  font-family: 'AllRoundGothic-Bold';
  src: url('../font/All-Round-Gothic/AllRoundGothic-Bold.ttf') format('truetype');
  font-weight: bolder;
  font-style: bolder;
}

@font-face {
  font-family: 'AllRoundGothic-Demi';
  src: url('../font/All-Round-Gothic/AllRoundGothic-Demi.ttf') format('truetype');
  font-weight: bold;
  font-style: bold;
}

@font-face {
  font-family: 'AllRoundGothic-Medium';
  src: url('../font/All-Round-Gothic/AllRoundGothic-Medium.ttf') format('truetype');
  font-weight: medium;
  font-style: medium;
}

@font-face {
  font-family: 'ITC-Blair-Bold';
  src: url('../font/ITC-Blair-Bold.otf') format('truetype');
  font-weight: bold;
  font-style: bold;
}

@font-face {
  font-family: 'ITC-Blair-Light';
  src: url('../font/ITC-Blair-Light.otf') format('truetype');
  font-weight: lighter;
  font-style: lighter;
}

@media screen and ( min-width : 480px ) {
  .card {
    width: 450px;
  }
}
@media screen and ( min-width : 768px ) {
  #nav {
    display: flex;
    flex-direction: row;

    position: unset;
    width:100%;
    height:100%;

    margin-right: 1rem;
  }
  #ham {
    display: none;
  }

  #tools-comparison {
    width: 80%;
  }
  #service > div.container {
    flex-direction: row;
  }
  #form-contact {
    width: 80%;
  }
}
