@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    cursor: default;
    
}
:root{
    --mainColor: 24, 29, 92;
    --secondColor: 230, 236, 240;
}
button{
    cursor: pointer;
}
.wrapper1{
    position: relative;
    overflow: hidden;
}
main{
    display: flex;
    flex-direction: column;
    background-color: #0fa9db;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: flex-start;
}
.background{
    background-image: url('images/26302.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
}
h1{
    color: white;
    font-weight: 700;
    font-size: 6em;
    text-transform: uppercase;
    margin-top: 10vh;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    font-family: 'Oswald', monospace;
    font-weight: 700;
    z-index: 2;
}
.subtitulo{
    min-width: 100%;
    width: 100%;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-top: 1vh;
    z-index: 2;
}
#descricao{
    font-family: 'Playfair Display', monospace;
    font-weight: 300;
    font-size: 1.6em;
    z-index: 2;
}
#nome{
    font-family: 'Allura', monospace;
    font-size: 3em;
    z-index: 2;
}
.mainPageButtons{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    gap: 1vw;
    margin-top: 5vh;
    z-index: 2;
}
.cards{
    width: 30%;
    aspect-ratio: 2 / 1.2;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    color:rgba(255, 255, 255, 0.603);
    border: none;
    box-shadow: 1px 1px 5px 1px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-family: 'Oswald', monospace;
    font-size: 2.8em;
    font-weight: 500;
    transition: all 0.3s linear ;
    z-index: 2;
}
.cards:hover{
    transform: scale(1.1);
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    z-index: 2; 
}
@media(max-height:800px){
    .background{
        margin-top: 30vh;
    }
}
@media(max-width:1200px) {
    .cards{
        font-size: 2.5em;
    }
}
@media(max-width:1000px) {
    .cards{
        font-size: 2.2em;
        border-radius: 40px;
    }
}
@media(max-width:760px) {
    h1{
        font-size: 5em;
    }
    .cards{
        font-size: 1.8em;
    }
}
@media(max-width:640px){
    .mainPageButtons{
        flex-direction: column;
        align-items: center;
        margin-top: 3vh;
    }
    .background{
        margin-top: 30vh;
    }
    h1{
        font-size: 4em;
        margin-top: 4vh;
    }
    .cards{
        font-size: 1.5em;
        width: 40%;
        border-radius: 30px;
    }
}
@media(max-width:500px){
    h1{
        font-size: 3em;
    }
    #nome{
        font-size: 2.4em;
    }
    #descricao{
        font-size: 1.2em;
    }
    .cards{
        font-size: 1.2em;
    }
}
@media(max-width:375px){
    h1{
        font-size: 2em;
    }
    #nome{
        font-size: 2em;
    }
    #descricao{
        font-size: 1em;
    }
    .mainPageButtons{
        gap: 3vh;
    }
}