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

/* Fontes personalizadas */
@font-face {
    font-family: ManropeSB;
    src: url(../letras/Manrope-SemiBold.otf);
}
@font-face {
    font-family: MulishR;
    src: url(../letras/Mulish-Regular.ttf);
}
@font-face {
    font-family: SoraB;
    src: url(../letras/Sora-Bold.ttf);
}
@font-face {
    font-family: WorkSansL;
    src: url(../letras/WorkSans-Light.otf);
}

/* Área do Body */
body {
    margin: 0;
    height: 100vh; 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    font-family: MulishR, sans-serif;
}

/* Área do Header */
header {
    position: sticky; 
    top: 0;               
    width: 100%;     
    z-index: 1000;   
    background-color: #2E2E2E; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto; 
}

#logotipo {
    display: flex; 
    justify-content: center; 
    align-items: center;
    height: 100%; 
    width: 100%; 
}

#logotipo img {
    width: 20%; 
    height: auto;
}

/* Área do Main */
#main {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black; 
}

#mainVideo {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* Controles fixos do vídeo */
#videoControls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

#videoControls button {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-family: MulishR, sans-serif;
    transition: background 0.2s ease, transform 0.2s ease;
}

#videoControls button:hover {
    background: rgba(255, 172, 38, 0.9);
    transform: scale(1.05);
}

/* Footer */
footer {
    padding-top: 1%;
    background-color: #2E2E2E;
    flex: 0 0 auto;
    overflow: hidden; 
}

#midias1 {
    padding-top: 1%;
    padding-left: 10%;
}

#midias1 img {
    width: 3%;
    margin-right: 2%;
}

#pmidias1 {
    font-family: MulishR;
    color: white;
    transition: transform 0.5s ease-out; 
}

#pmidias1:hover {
    transform: scale(1.03); 
    transition: transform 0.1s ease-in; 
}

#midias2 {
    padding-left: 25%;
}

#midias2 img {
    margin-right: 5%;
    width: 6%;
}

#afacebook img, #ainstagram img, #agithub img {
    transition: transform 0.5s ease-out; 
}

#afacebook img:hover, #ainstagram img:hover, #agithub img:hover {
    transform: scale(1.2); 
    transition: transform 0.1s ease-in; 
}

#produzidopor {
    color: white;
    font-family: WorkSansL;
    text-align: center;
    padding-bottom: 1%;
    font-size: 80%;
}

#produzidopor hr {
    margin: 10px auto;
    width: 90%;
}

#empresa {
    color: white;
}

#empresa:hover {
    color: #ffac26;
}

/* Responsividade */
@media (max-width: 767px) {
    #logotipo img {
        width: 95%; 
        height: auto; 
    }

    #pmidias1 {
        font-size: 70%;
    }

    #midias1 img {
        width: 7%;
    }

    #midias2 {
        padding-left: 10%;
    }

    #midias2 img {
        margin-right: 7%;
        width: 7%;
    }

    #produzidopor {
        font-size: 50%;
        padding-bottom: 2%;
    }

    #videoControls {
        bottom: 10px;
        right: 10px;
    }

    #videoControls button {
        font-size: 12px;
        padding: 6px 10px;
    }
}
