@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

*{
    padding: 0px;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    color: whitesmoke;
}

body{
    height: 100vh;
    background: no-repeat linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/background.jpg');
}

/*header*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
}

header img{
    width: 50px;
}

header nav ul{
    width: 400px;
    display: flex;
    justify-content: space-around;
}

header nav ul li{
    list-style: none;
    width: 100px;
    text-align: center;
    transition: transform 0.5s;
}

header nav ul li:hover{
    transform: scale(1.1);
}

header nav ul li a{
    text-decoration: none;
}

#menu-mobile{
    display: none;
}


/*main*/
main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 87%;
}

main .col .row{
    display: flex;
}

main section {
    width: 800px;
    padding: 20px 70px;
}

main section h1{
    font-size: 70px;
    letter-spacing: 3px;
}

main section.col1 p{
    line-height: 20px;
}

main section.col1 button{
    width: 150px;
    height: 35px;
    color: black;
    border-radius: 20px;
    margin: 20px 0px;
    transition: background-color 0.5s;
    cursor: pointer;
    border: none;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.589);
}

main section.col1 button:hover{
    background-color: rgb(226, 180, 101);
}

main section.col2{
    width: 650px;
}

main section.col2 .img{
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/pic1.jpg') center center no-repeat black;
    background-size: cover;
    width: 220px;
    height: 250px;
    margin: 10px;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.5s;
}

main section.col2 .img:hover{
    transform: translateY(-10px);
}

main section.col2 .img h2{
    font-weight: normal;
    font-size: 18px;
}

main section.col2 .img p{
    font-size: 12px;
}

main section.col2 .img2{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/pic2.jpg');
}

main section.col2 .img3{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/pic3.jpg');
}

main section.col2 .img4{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/pic4.jpg');
}

@media (max-width:1100px) {
    body{
        height: auto;
        background-attachment: fixed;
    }
    main{
        flex-direction: column;
    }

    main section{
        width: 680px;
        padding: 0px;
    }

    main section.col1{
        display: flex;
        align-items: center;
        height: 640px;
    }

    main section.col2{
        width: fit-content;
        margin-bottom: 30px;
    }

    main section.col2 .img{
        margin: 20px;
        width: 320px;
    }
}

@media (max-width:740px) {
    body{
        overflow-x: hidden;
    }
    #menu-mobile{
        display: block;
    }

    #menu-bar{
        display: none;
    }

    #menu{
        width: 35px;
        height: 30px;
        margin: 30px 0px 20px 20px;
        cursor: pointer;
    }

    #menu-bar-mobile nav{
        display: none;
        transition: 0.3s ease;
    }

    #menu-bar-mobile nav ul{
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 30px;
    }

    #menu-bar-mobile nav ul li{
        text-align: right;
    }

    #menu-bar-mobile, #menu-bg{
        display: flex;
        flex-direction: column;
        align-items: end;
        padding-right: 30px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .bar{
        height: 5px;
        width: 100%;
        background-color: whitesmoke;
        display: block;
        border-radius: 5px;
        transition: 0.3s ease;
    }

    #menu:hover .bar{
        background-color: rgb(226, 180, 101);
    }

    #bar1{
        transform: translateY(-4px);
    }
    
    #bar3{
        transform: translateY(4px);
    }

    #menu-bg{
        z-index: 1;
        width: 0;
        height: 0;
        background-color: rgba(226, 180, 101, 0.729);
        border-radius: 50%;
        transition: 0.5s ease;
    }

    #menu-bar-mobile{
        z-index: 2;
    }

    #menu-bg.change-bg{
        width: 550px;
        height: 540px;
        transform: translate(70%, -40%);
    }

    #menu-bar-mobile nav.change{
        display: block;
    }

    .change #bar1{
        transform: translateY(4px) rotateZ(45deg);
    }

    .change #bar2{
        transform: rotateZ(-45deg);
    }

    .change #bar3{
        display: none;
    }

    main section {
        width: 350px;
    }
    main section.col1{
        height: 88vh;
    }
    main section.col2 .row{
        display: flex;
        flex-direction: column;
    }
}