@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow-x: hidden;
}

nav { 
    width: 100vw;
    max-width: 100%;
    height: 100px;
    background-color: #dbdbdb;
    display: grid;
    grid-template-columns: auto 1fr 40px;
    align-items: center;
    padding: 0 45px;
    border-bottom: 0.5px solid #BFAF6F;
}

logo {
    margin: 0 10px;
}

nav links {
    display: flex;
    align-items: center;
    justify-content: center;
}

nav links a {
    color: #1E1E1E;
    text-decoration: none;
    margin: 0 10px;
    padding-left: 15px;
    cursor: pointer;
    transition: 0.7s;
}

a:hover {
    color: #A3A3A3;
}

info square {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
}

info square:hover {
    svg {
        stroke: #A3A3A3;
    }
}

info square svg {
    stroke: #1E1E1E;
    width: 30px;
    height: 30px;
    transition: 0.3s;
}

menu {
    display: none;
}

menu square {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

menu square:hover {
    svg {
        stroke: var(--primary-color);
    }
}

menu square svg {
    stroke: var(--white);
    width: 30px;
    height: 30px;
    transition: 0.3s;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #1E1E1E;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-mobile {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.46);
    width: 200px;
    display: flex;

    flex-direction: column;
    pointer-events: none;
    text-align: start;
    /* Impede interação enquanto o menu estiver fechado */
}

.menu-mobile.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    /* Permite interação quando o menu estiver aberto */
    box-shadow: -10px 0 100px rgba(0, 0, 0, 0.46);

}



.menu-mobile a {
    color: #dbdbdb;
    margin: 20px 20px 20px 20%;
    text-align: center;
    font-weight: bolder;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.menu-mobile a:hover {
    color: #ffee87;
    font-size: 20px;
}

.menu-mobile a:last-child {
    border-bottom: none;
}

.menu-bar {
    width: 100%;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
}

.video-container {
    background-color: #ffee87;
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 50px;
    width: 100%;
    padding: 70px 5%;
    justify-content: center;
}
.video-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
}
.video-card video {
    width: 50%;
    max-width: 300px;
    border-radius: 8px;
}
.video-info {
    flex: 1;
    padding-left: 20px;
}
.video-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
}
.video-info p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

#footer {
    width: 100%;
    background-color: #222; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
    font-family: Arial, sans-serif;
}

/* Ícones das redes sociais */
.footer-left {
    display: flex;
    gap: 15px;
}

.footer-left .icon {
    background-color: #444; /* Fundo dos ícones */
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon:hover {
    background-color: #666;
}

/* Créditos ao desenvolvedor */
.footer-right {
    font-size: 14px;
    font-weight: bold;
}

/* Texto inferior com fundo diferente */
.footer-bottom {
    background-color: #111; /* Cor diferente do footer */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
}

@media only screen and (max-width: 800px) {
    .hamburger {
        display: flex;
    }

    body {
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }
    
    nav {
        height: auto;
        padding: 15px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    logo img {
        width: 120px;
        height: auto;
    }

    menu {
        display: flex !important;
    }

    menu square svg {
        stroke: #1E1E1E;
        width: 30px;
        height: 30px;
        transition: 0.3s;
    }

    menu square:hover {
        svg {
            stroke: #A3A3A3;
        }
    }

    info {
        display: none;
    }
    
    links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #8B3E3E;
        padding: 10px 0;
        text-align: center;
    }
    
    links a {
        display: block;
        padding: 10px;
    }

    .video-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .video-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        width: 100%;
        max-width: 400px;
    }
    .video-card video {
        width: 45%;
        max-width: 180px;
    }
    .video-info {
        padding-left: 10px;
    }

    #footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-left {
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .footer-right {
        margin-top: 10px;
    }
}