@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css?family=Oswald:200');
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat';
    width: 100%;
    height: 100vh;
    background: #E1D9D1;
}

/* navbar */
.navbar{
    width: 100%;
    color: white;
    position: fixed;
    z-index: 99;
    background-color: black;
    padding: 10px 35px;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-branding{
    max-width: 5%;
    max-height: 5%;
    color: white;
    border-radius: 50%;
}
.nav-menu{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
}
.nav-link{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0px 20px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s ease-out;
}
.nav-link:hover{
    opacity: 0.5;
}
.hamburger{
    display: none;
    cursor: pointer;
}
.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: white;
}


/* -------------- SECTION 1 -------------- */ 

.section-1{
    width: 100%;
    height: 100vh;
    background-image: url("/files/backgrounds/background-section-1.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.text{
  z-index: 1;
    display: flex;
    flex-direction: column;
    top: 60%;
    left: 0%;
    transform: translate(20%, -50%);
    position: absolute;
}

.title{
    font-size: 50px;
}

.text-description{
    color: black;
    font-size: 15px;
    font-weight: bold;
}

.buttons{
    margin: 30px 0px;
}

.button{
    font-size: 25px;
    width: 200px;
    font-weight: bold;
    background: orange;
    color: black;
    height: auto;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover{
    background-image: linear-gradient(rgb(0 0 0/10%) 0 0);
}

span{
    color: black;
}

.text-description span.typed-text {
  font-weight: bold;
  color: black;
}
.text-description span.cursor {
  display: inline-block;
  background-color: #000;
  margin-left: 0.1rem;
  width: 3px;
  animation: blink 1s infinite;
}
.text-description span.cursor.typing {
  animation: none;
}
@keyframes blink {
  0%  { background-color: #000; }
  49% { background-color: #000; }
  50% { background-color: transparent; }
  99% { background-color: transparent; }
  100%  { background-color: #000; }
}

/* -------------- SECTION 2 -------------- */ 
#section-2{
  width: 100%;
  height: 100vh;
}

.title-2{
  text-align: center;
  padding: 20px;
  font-size: 50px;
  font-weight: bold;
}

.tools-list{
  display: flex;
  justify-content: center;
  align-items: center;
}

.converter-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  place-items: center;
}

.converter-1{
  display: flex;
  justify-content: center;
  align-items: center;
}

.converter-1 img{
  max-width: 50%;
}

.converter-1 a{
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-main{
  width: 100%;
  height: 20vh;
  background: #404040;
}

.text-footer{
  text-align: center;
  font-size: 20px;
  padding: 20px;
  color: white;
}

.text-descriptions{
  color: white;
}

.icons-social i{
  cursor: pointer;
  font-size: 2rem;
  color: white;
  margin: 5px 5px;
}

.icons-social a{
  text-decoration: none;
}

.icons-social{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}


::-webkit-scrollbar{
  color: white;
  background: transparent;
  width: 5px;
}
::-webkit-scrollbar-track{
  background: transparent;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: gray;
}

#clock{
  font-weight: bold;
  font-size: 20px;
}

.notification{
  display: none;
  position: fixed;
  z-index: 99;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgb(0 0 0/50%) 0 0);
  animation: popupnotif 0.5s;
}

.container-notif{
  z-index: 99;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 500px;
  height: auto;
  padding: 1%;
  background: white;
}

.image-notifs{
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-notif{
  filter: drop-shadow(1px 1px 1px #202020);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 20%;
}

.text-notif{
  margin: 10px;
  text-align: center;
  font-weight: bold;
}

.socials{
  cursor: pointer;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  background: linear-gradient(to right, #404040, #202020);
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  margin: 5px 0px;
}

.socials:hover{
  background-image: linear-gradient(rgb(0 0 0/70%) 0 0);
}

.socials a{
  color: white;
  text-decoration: none;
  font-size: 15px;
}

#close{
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 40px;
  transform: rotate(45deg);
  cursor: pointer;
  color: black;
}

#close:hover{
  filter: drop-shadow(1px 1px 1px #000);
}

@keyframes popupnotif{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media(max-aspect-ratio: 16/9){
  .navbar{
    padding: 30px 30px;
    background: black;
  }
  .hamburger{
    margin: 0 20px;
    display: block;
    color: white;
  }
  .nav-link{
    font-size: 2rem;
    color: white;
  }
  .nav-branding{
    color: black;
    font-size: 1.5rem;
    max-width: 10%;
    max-height: 10%;
    border-radius: 50%;
  }
  .nav-link:hover{
    color: #909090;
  }
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){

    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu{
    position: fixed;
    left: -100%;
    top: 0px;
    gap: 0px;
    flex-direction: column;
    background-color: black;
    width: 100%;
    height: 100%;
    padding: 1%;
    color: white;
    text-align: center;
    transition: 0.3s;
  }
  .nav-item{
    margin: auto;
  }
  .nav-menu.active{
    left: 0;
  }
  .bar{
    background: white;
  }

  .footer-main{
    width: 100%;
    height: 10vh;
    background: #404040;
    color: white;
    font-family: 'Montserrat';
  }

  .text-footer{
    text-align: center;
    font-size: 30px;
    padding: 20px;
    color: white;
  }

  .text-descriptions{
    font-size: 20px;
    color: white;
  }

  .icons-social i{
    cursor: pointer;
    font-size: 3rem;
    color: white;
    margin: 5px 5px;
  }

  .icons-social a{
    text-decoration: none;
  }

  .icons-social{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }

  /* -------------- SECTION 1 -------------- */ 

  .section-1{
      width: 100%;
      height: 100vh;
      background-image: url("/files/backgrounds/background-section-1.png");
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
  }

  .text{
      display: flex;
      flex-direction: column;
      top: 60%;
      left: 0%;
      transform: translate(20%, -50%);
      position: absolute;
  }

  .title{
      font-size: 70px;
  }

  .text-description{
      color: black;
      font-size: 25px;
      font-weight: bold;
  }

  .buttons{
      margin: 30px 0px;
  }

  .button{
      font-size: 40px;
      width: 200px;
      font-weight: bold;
      background: orange;
      color: black;
      height: auto;
      padding: 10px;
      border-radius: 5px;
      text-decoration: none;
  }

  .button:hover{
      background-image: linear-gradient(rgb(0 0 0/10%) 0 0);
  }

  span{
      color: black;
  }

  .text-description span.typed-text {
    font-weight: bold;
    color: black;
  }
  .text-description span.cursor {
    display: inline-block;
    background-color: #000;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
  }
  .text-description span.cursor.typing {
    animation: none;
  }
  @keyframes blink {
    0%  { background-color: #000; }
    49% { background-color: #000; }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100%  { background-color: #000; }
  }

  /* -------------- SECTION 2 -------------- */ 
  #section-2{
    width: 100%;
    height: 100vh;
  }

  .title-2{
    text-align: center;
    padding: 20px;
    font-size: 5rem;
    font-weight: bold;
  }

  .tools-list{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .converter-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    place-items: center;
  }

  .converter-1{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .converter-1 img{
    max-width: 100%;
  }

  .converter-1 a{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}