@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url("/styles/themes.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
}

body {
    background-color: var(--section-color);
    font-family: var(--fuente-text);
}

main, section {
    width: 950px;
    height: 100%;
    margin: auto;
    margin-top: 70px;
    border-radius: 20px;
    background-color: var(--background-color);
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    margin-bottom: 20px;
}

#header-main  {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    width: 60%;
    height: auto;
    margin-bottom: 20px;
    background-color: var(--background-color);
    border-radius: 30px;

}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
}

nav div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:5px;

}

nav a {
    text-decoration: none;
    color: var(--font-color);
    font-weight: bold;
    font-size: 1.0rem;
    padding: 10px;
    border-radius: 40px;
    transition: background-color 0.3s ease;

    &:hover {
        background-color: var(--button-color);
        transition: background-color 0.3s ease;
        cursor: pointer;
        color: var(--font-color);
    }
}

#btn-nav-news {
    background-color: var(--magenta-btn);

    &:hover {
        background-color: var(--magenta-btn-hover);
        transition: background-color 0.3s ease;
        cursor: pointer;
        color: var(--font-color);
    }
}

#logo-main {
    position: absolute;
    top: 0 ;
    left: 30px;
    width: 70px;
}

main {
    width: 99%;
    height: 100%;
}

p, h1, h2, h3, ul {
    color: var(--font-color);
    padding-bottom: 10px;
}

b {color: var(--font-color);}

h1, h2, h3 {
    text-align: center;

}

ul {
    padding-left: 30px;
}
a {
    color: var(--font-color);
}

h1 {
    margin: 0px;
}

.wave-text span {
    display: inline-block;
    font-size: 4rem;
    animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}
.wave-text span:nth-child(5) {
    animation-delay: 0.8s;
}
.wave-text span:nth-child(6) {
    animation-delay: 1s;
}
.wave-text span:nth-child(7) {
    animation-delay: 1.2s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.main-image-container {
    justify-content: center;
    display:flex;
}

.main-image-container img {
    margin-top: -20px;
    scale: 1.0;
    transition-duration: 3s;
}

.main-image-container img:hover {
    scale: 1.1;
    transition-duration: 3s;
}


details {
    padding: 30px;
    border-radius: 20px;
    background-color: var(--section-color);
    margin: auto;
    max-width: 1050px;
    margin-bottom: 20px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 7px 5px;
  }
  
  summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: var(--font-color);
  }

  details p {
    margin-top: 10px;
    color: var(--font-color);
  }
  
  summary::marker {
    content: "";
  }

  footer {
    padding: 0px 10px 10px 10px;
  }

  .img-container-showcase {
    display: flex;
    margin: auto;
    max-width: 2000px;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: row;
    justify-content: space-evenly;

  }
  .img-container-showcase img { 
    scale: 1.0;
    transition-duration: 3s;
}
  

  .img-container-showcase img:hover { 
    scale: 1.2;
    transition-duration: 3s;
}
.quit-mobile {
    display: block;
}
.main-image-container img {
    width: 1000px;
}


.image-showcase {
    width: 500px;
}



@media screen and (max-width: 600px) {

    #header-main {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #header-main nav div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
    }

    .quit-mobile {
        display: none !important;
    }
    .main-image-container img {
        width: 100%;
    }

    .wave-text span {
        margin-top: 10px;
        margin-bottom: 20px;
        display: inline-block;
        font-size: 3rem;
        animation: wave 2s ease-in-out infinite;
    }

    .image-showcase {
        width: 100%;
    }

    .privacy-and-about{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    footer nav {
        display: flex;
        flex-wrap: wrap;
    }
}


/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--font-color);
    border-radius: 10px;
  }

  #news-showcase {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
  }


  #news-showcase article {
    background-color: var(--section-color);
    padding: 20px;
    display: flex;
    border-radius: 20px;
    margin: 20px;
    transition: background-color 0.3s ease;
   box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  }
  #news-showcase img {
    border-radius: 20px;
    width: 500px;
    max-width: 100%;

    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  }


  @media (max-width: 768px) {
    #news-showcase img {
      width: 100%;
    }
  }
  

    #news-showcase h2 {
    padding-top: 10px;
    font-size: 20px;
    
  }

#news-showcase article:hover {
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
}

h3 {
    padding: 30px 0px;
}

.subtitle {
    padding: 20px 0px;
}