@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

* {
    margin: auto;
    
}

body {
    font-family: 'Questrial', Georgia, 'Times New Roman', Times, serif;
    background-color: blanchedalmond;
}

header {
    background-color: burlywood;
    height: 15%;
}

#logo {
    width: 200px;
    height: 80px;
    margin: 20px;
    margin-top: 0;
    object-fit: cover;
}

#titulo {
    align-items: center;
    text-align: center;
    font-size: 80px;
    color: black;
    margin-top: 100px;
}

#titulo::after {
    content: '|';
    margin-left: 5px;
    opacity: 0;
    animation: pisca .5s;
    color: #000000 !important;
    font-weight: bold;

}

@keyframes pisca {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

p {
    font-size: 25px;
    margin: 20px;
}

#info {
    background-color: rgb(255, 210, 142);
    width: 80%;
    height: auto;
    display: block;
    margin: 20px auto;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
hr{
    width: 95%;
}
#info h3 {
    font-size: 30px;
    margin-top: 40px;
}

.info-esp {
    width: 100%;
    transition: transform 0.3s ease-in-out;
    padding: 1%;
}

.info-esp ul {
    font-size: 25px;
}

#text-inicial {
    width: 85%;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
    padding: 40px;
    display: block;
    margin: 20px auto;
    align-items: center;
    background-color: rgb(255, 203, 125);
}

#contador {
    display: block;
    margin: 20px auto;
    align-items: center;
    text-align: center;
    font-size: 50px;
}

#imagem {
    width: 50%;
    object-fit: cover;
    overflow: hidden;
    display: flex;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;

}

#fusca-capa {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    display: flex;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;

}

#nome {
    font-size: 35px;
    margin: 20px;
    display: block;
    margin: 20px auto;
    align-items: center;
    text-align: center;
    background-color: blanchedalmond;
    width: 350px;
    opacity: 0.7;
    border-radius: 15px;
    padding: 15px;

}

#nome:hover {
    opacity: 1;
    transition: 0.4s;
    background-color: rgb(255, 203, 125);
}

iframe {
    display: flex;
    margin: 60px auto;
    padding: auto;
    align-items: center;
    border-radius: 20px;
    width: 560px;
    height: 315px;

}

/* carrossel */
nav a {
    margin: 0 1rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
}


#carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#carousel-container {
    width: 900px;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    border-radius: 10px;
}

.carousel-img.active {
    opacity: 1;
    pointer-events: auto;
}


#carousel button {
    background-color: #fff9a5;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 20%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#carousel button:hover {
    background-color: rgb(255, 251, 0);
    transform: scale(1.1);
}

footer {
    background-color: burlywood;
    align-items: center;
    text-align: center;
    height: 15%;
    padding: 1rem !important;
    margin-bottom: -4%;
    margin-top: 2rem;
}

footer p {
    width: 300px;
    display: block;
    margin: 20px auto;
    align-items: center;
    text-align: center;

    font-size: 1.3rem !important;
}