@font-face {
    font-family: "Ginto Nord Regular";
    src: url("../fonts/ginto-nord-regular.woff") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    font-family: "Ginto Nord Regular", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --pedaleo_yellow: #D89906;
    --background_blue_dark: #021464;
    --background_blue_normal: #001373;
    --background_blue_light: #0021B3;
    --hover_yellow:  #FCD783;
}

@media (prefers-reduced-motion) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
    0% { transform: scale(1) }
    50% { transform: scale(1.01) }
    100% { transform: scale(1) }
}

@keyframes gradientShift {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@keyframes charReveal {
    from {
        opacity: 0;
        transform: translateY(50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sparkle {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes card-animation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

body {
    font-family: "Ginto Nord Regular", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(
            135deg,
            var(--background_blue_dark),
            var(--background_blue_normal),
            var(--background_blue_light)
    );
    background-size: 200% 200%;
    margin: 0;
    animation: gradientShift 10s ease infinite;
    overflow-x: hidden;
}

nav {
    animation: slideUp 0.6s ease-out 0.2s both;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 60px;
    display: flex;
    align-items: center;
}

nav li {
    animation: slideUp 0.5s ease-out both;
    display: flex;
    align-items: center;
    height: 100%;
}

nav li:nth-child(1) { animation-delay: 0.3s; }
nav li:nth-child(2) { animation-delay: 0.35s; }
nav li:nth-child(3) { animation-delay: 0.4s; }
nav li:nth-child(4) { animation-delay: 0.45s; }
nav li:nth-child(5) { animation-delay: 0.5s; }
nav li:nth-child(6) { animation-delay: 0.2s; }

nav li:first-child {
    margin-left: 50px;
}

nav li:last-child {
    float: left;
}

nav li a {
    display: flex;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0 16px;
    text-decoration: none;
    color: var(--pedaleo_yellow);
    font-size: 22px;
    transition: all 0.3s ease;
}

nav li a:hover {
    color: var(--hover_yellow);
    transform: translateY(-2px);
}

nav .active {
    font-weight: bold;
}

nav #text-logo img {
    height: 35px;
    margin: 0 5px;
}

nav #text-logo-li {
    float: left;
    margin-left: 50px;
    animation-delay: 0.3s;
}

nav {
    font-family: "Ginto Nord Regular", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 50px);
    flex-direction: column;
    position: relative;
    z-index: 1;
    background: linear-gradient(
            135deg,
            var(--background_blue_dark),
            var(--background_blue_normal),
            var(--background_blue_light)
    );
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    width: 100%;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.4s both;
}

#logo {
    max-width: 350px;
    height: auto;
    margin-right: 120px;
    margin-left: 80px;
    margin-top: 20px;
    animation: pulse 2s ease-in-out 1s both;
}

@media screen and (max-width: 900px) {
    .column-container {
        flex-direction: column;
        align-items: center;
    }
}

.column-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.column-container {
    animation: fadeIn 1s ease-out 0.2s both;
}

.column {
    background-color: white;
    padding: 30px;
    box-sizing: border-box;
    flex: 1 1 400px;
    max-width: 500px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.column:nth-child(1) {
    animation: fadeUp 1s ease-out 0.3s both;
}
.column:nth-child(2) {
    animation: fadeUp 1s ease-out 0.5s both;
}

.column img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

.collaborations-section {
    width: 100vw;
    background-color: white;
    padding: 60px 0;
    text-align: center;
    z-index: 2;
}

.collaborations-heading {
    color: var(--pedaleo_yellow);
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: bold;
}
.collaborations-heading {
    animation: fadeUp 1s ease-out 0.3s both;
}

.collaborations-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

.collaboration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    margin: 20px;
}

.collaboration-item {
    animation: fadeIn 0.8s ease-out both;
}

.collaboration-item:nth-child(1) { animation-delay: 0.4s; }
.collaboration-item:nth-child(2) { animation-delay: 0.6s; }
.collaboration-item:nth-child(3) { animation-delay: 0.8s; }


.collaboration-item img {
    width: 100%;
    height: 360px;
    object-fit: contain;
}

footer {
    display: flex;
    flex-direction: column;
    color: white;
    background-color: #4d4d54;
    width: 100%;
}

.card-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.card {
    width: 500px;
    height: 390px;
    background: linear-gradient(45deg, var(--background_blue_light), var(--background_blue_dark));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.2s ease-in-out;
    margin: 30px;
    position: relative;
    border: 2px solid rgb(255, 255, 255);
}

.title {
    height: 30%;
    position: absolute;
    transition: 0.2s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    color: white;
}

.card:hover .title {
    height: 65%;
    filter: blur(7px);
    animation: card-animation 3s infinite;
    color: white;
}

.img {
    height: 30%;
    position: absolute;
    transition: 0.2s ease-in-out;
    z-index: 1;
}

.textBox {
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease-in-out;
    z-index: 2;
}

.textBox .text {
    font-weight: bold;
}

.textBox .name {
    font-size: 17px;
}

.textBox span {
    font-size: 13px;
    color: antiquewhite;
}

.card:hover .textBox {
    opacity: 1;
}

.card:hover {
    transform: scale(1.04) rotate(-1deg);
    background-color: black;
}

.legal {
    text-align: right;
    margin: 20px;
}

.socials-card {
    position: relative;
    width: 400px;
    height: 385px;
    background: lightgrey;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    transition: all 1s ease-in-out;
    border: 2px solid rgb(255, 255, 255);
    margin: 30px;
}

.background {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--background_blue_light), var(--background_blue_dark));
}

.logo {
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform: translate(50%, 50%);
    transition: all 0.6s ease-in-out;
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
}

.logo .logo-svg {
    fill: white;
    width: 30px;
    height: 30px;
}

.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.icon .svg {
    fill: rgba(255, 255, 255, 0.797);
    width: 100%;
    transition: all 0.5s ease-in-out;
}

.box {
    position: absolute;
    padding: 10px;
    text-align: right;
    background: rgba(255, 255, 255, 0.389);
    border-top: 2px solid rgb(255, 255, 255);
    border-right: 1px solid white;
    border-radius: 10% 13% 42% 0/10% 12% 75% 0;
    box-shadow: rgba(100, 100, 111, 0.364) -7px 7px 29px 0;
    transform-origin: bottom left;
    transition: all 1s ease-in-out;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.box:hover .svg {
    fill: white;
}

.instagram-box {
    width: 70%;
    height: 70%;
    bottom: -70%;
    left: -70%;
}

.instagram-box::before {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #ff53d4 60%);
}

.instagram-box:hover::before {
    opacity: 1;
}

.instagram-box:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

.whatsapp-box {
    width: 50%;
    height: 50%;
    bottom: -50%;
    left: -50%;
    transition-delay: 0.2s;
}

.whatsapp-box::before {
    background: radial-gradient(circle at 30% 107%, #128C7E 0%, #25D366 90%);
}

.whatsapp-box:hover::before {
    opacity: 1;
}

.whatsapp-box:hover .icon .svg {
    filter: drop-shadow(0 0 5px white);
}

.box3 {
    width: 30%;
    height: 30%;
    bottom: -30%;
    left: -30%;
    transition-delay: 0.4s;
}

.socials-card:hover {
    transform: scale(1.1);
}

.socials-card:hover .box {
    bottom: -1px;
    left: -1px;
}

.socials-card:hover .logo {
    transform: translate(70px, -52px);
    letter-spacing: 0;
}

.wave-divider {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-top: -1px;
    z-index: 1;
    background: white;
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wave-divider svg path {
    fill: #4d4d54;
}

@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .socials-card {
    width: 90%;
    margin: 15px 0;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

.column-container {
  width: 100%;
  padding: 40px;
  margin: 0 auto;
}

@media screen and (max-width: 900px) {
  .column-container {
    padding: 20px 10px;
  }
  .column {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 10px 20px;
    z-index: 200;
}

#nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--pedaleo_yellow);
    border-radius: 2px;
}

@media (max-width: 768px) {
    #nav-toggle {
        display: flex;
    }

    #nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--background_blue_normal);
    }

    #nav-links.open {
        display: flex;
    }

    #nav-links li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
  nav ul {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--background_blue_normal);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
  }

  #nav-links.open {
    display: flex;
  }

  #nav-links li {
    float: none !important;
    width: 100%;
  }

  #nav-links li a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 768px) {
  #nav-links {
    align-items: center;
  }

  #text-logo-li {
    margin-left: 0 !important;
  }

  #nav-links li {
    display: flex;
    justify-content: center;
    width: 100%;
    float: none !important;
  }

  #nav-links li a {
    width: 100%;
    text-align: center;
  }
}

