@import url('https://fonts.googleapis.com/css2?family=Delius&family=Graduate&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    background-color: var(--black);
}

:root{
    --black: black;
}

.logo{
    font-family: "Graduate", serif;
}

.background{
    background: var(--black);
}

.container{
    max-width: 1920px;
    padding: 0 5%;
    margin: 0 auto;
}

.btn{
    padding: 10px 25px;
    color: white;
    background-color: blueviolet;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a{
    font-size: 30px;
    font-weight: bold;
    color: white;
}

.ul{
    display: flex;
    align-items: center;
}

.ul li{
    margin: 0 35px;
    font-size: 20px;
}

.ul li a{
    color: white;
}

main .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-bottom: 40px;
}

.main-text{
    width: 50%;
    color: white;
}

.main-text h1{
    font-size: 4.5rem;
}

.main-text div{
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.main-img{
    width: 75%;
}

.main-img img{
    width: 100%;
    border-radius: 10px;
}

/* menu icon */
.menu-icon{
    display: none;
    position: relative;
    z-index: 10;
}

/* section casa*/
.casa .container{
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: rgb(20, 20, 20);
}

.casa .casa-img{
    width: 45%;
}

.casa .casa-img img{
    width: 100%;
    border-radius: 10px;
}

.casa .casa-text{
    width: 50%;
    padding-left: 50px;
}

.casa .casa-text h2{
    font-size: 2.8em;
    color: white;
}

.casa .casa-text p{
    margin: 20px 0;
    color: white;
    font-size: 25px;
}

/*footer*/
footer{
    background-color: rgb(20, 20, 20);
}

footer .container{
    display: flex;
    color: rgb(255, 255, 255);
}

footer .container ul{
    width: 25%;
}

footer .container h3{
    margin-bottom: 16px;
    font-weight: 600;
    padding-top: 20px;
}

footer .container .redes-sociais img{
    margin-right: 10px;
    width: 26px; 
    height: 26px;
}

footer .container ul > p{
    margin-top: 15px;
    margin-bottom: 40px;
}

footer .container a{
    color: white;
}

/*responsivo */
@media(max-width: 960px){
    .menu-icon{
        display: block;
    }

    .ul{
        position: fixed;
        background-color: var(--black);
        top: 0;
        width: 100%;
        height: 100%;
        left: 100%;
        transition: 0.3s;
        flex-direction: column;
        justify-content: center;
    }

    .ul li{
        font-size: 20px;
        margin: 20px;
    }

    ul.ativo{
        left: 0;
    }

    main .container{
        flex-direction: column;
    }
    
    main .container .main-img{
        width: 100%;
    }

    main .container .main-text{
        width: 100%;
        text-align: center;
    }

    main .container .main-text h1{
        font-size: 4rem;
    }

    main .container .main-text div{
        justify-content: center;
        margin-bottom: 20px;
    }

    .casa .container{
        flex-direction: column-reverse;
    }

    .casa .casa-text, .casa .casa-img{
        width: 100%;
        text-align: center;
        padding: 0;
    }

    footer .container{
        flex-direction: column;
    }

    footer .container ul{
        width: 100%;
        margin-bottom: 10px;
    }
}