/* Aqui começa as font family */
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Hammersmith+One&display=swap');
/* Aqui termina as font family */
/* Aqui começa o css rest */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Aqui termina o css reset */
body {
    width: 100%;
    height: 350vh;
    overflow-x: hidden;
    background-color: whitesmoke;
}
html {
  scroll-behavior: smooth;
}
/* Aqui começa a header */
/* Aqui começa a config da logo */
#logo{
    height: 150px;
    margin: 0;
    width: auto;
    z-index: 2;
}
/* Aqui termina a config da logo */
/* Aqui começa  a config da nav*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between; /* Espaço entre logo e links */
    align-items: center;
    padding: 10px 40px;
}

/* Atualize os links para ficarem alinhados */
#links {
    font-family: "Abril Fatface", serif;    
    display: flex;
    gap: 80px; /* Reduzi o gap para caber melhor */
    margin-right: 3%;
    z-index: 2;
    margin-top: -1%;
}

#links a {
    color: #f5f5f5;
    font-size: 2rem; /* Reduzi um pouco o tamanho */
    transition: transform 0.3s ease;
    text-decoration: none;
}
#links a:hover {
    transform: scale(1.2);
    color: #00d4ff;
}
/* Aqui termina a config da nav */
/* Aqui termina a header */
/* Aqui começa a config da main */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}        
video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
    z-index: 0;
}
/* Aqui começa a config do text em cima do vídeo da main */
#title-main {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    position: absolute;
    top: 50%;
    left: 30%; /* centralizado */
    transform: translate(-50%, -50%);
    color: #f5f5f5;
    text-align: center;
    font-size: 5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    z-index: 1;
    width: 90%;
    animation: fadeIn 2s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

#title-main::after{
    content: "|";
    animation: blink 1s infinite;
}
@keyframes blink {
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}
/* Aqui termina a config do text em cima do vídeo da main */
/* Aqui começa a config do botão */
.btn-main {
    position: absolute;
    margin-top: 20%;
    margin-left: -40%;
    padding: 12px 28px;
    font-size: 2rem;
    font-family: "Hammersmith One", sans-serif;
    color: #f5f5f5;
    background: #1a1a1a;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 2;
    white-space: nowrap;
}
.btn-main:hover {
    background: #00d4ff;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 255, 234, 0.7);
    color: #1a1a1a;
}
/* Aqui termina a config do botão */
/* Aqui termina a config do vídeo da main */
/* Aqui começa a config dos cards */
#title-cards{
    position: absolute;
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    text-align: center;
    z-index: 2;
    color: #f5f5f5;
    margin-top: 3%;
}
#cards{
    margin-top: 22%;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 2rem;
}
.card{
    flex: 1;
    min-width: 300px;
    max-width: 570px;
    height: 450px;
    border-radius: 20px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    position: relative;
    margin-top: 3%;
    background-color: #1a1a1a;
    opacity: 0.7;
    margin-top: 20%;
}
.card h3{
    font-family: "Hammersmith One", sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8)
}
.card p{
    font-family: "Hammersmith One", sans-serif;
    font-size: 1.5rem;
    color: #f5f5f5;
}
/* Aqui termina a config dos cards */
/* Aqui começa o footer */
footer {
    background-color: transparent; 
    color: #f5f5f5;
    text-align: center;
    margin-top: 40%;
    height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
#black{
    background-color: black;
    width: 100%;
    height: 35%;
}
/* Aqui termina o footer */