@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
}

html,
body {
    height: 100%;
    width: 100%;
}


#main {
    height: 100%;
    width: 100%;
    /* background: wheat; */

}

nav {
    padding: 40px 80px;
    width: 100%;
    /* background: palegreen; */
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

nav h3,
nav h2,
nav h4 {
    font-size: 22px;

}

#nav-part1 {
    display: flex;
    justify-content: space-between;
    width: 30%;
}

#nav-part2 {
    display: flex;
    justify-content: space-between;
    width: 30%;
}

#content {
    margin-top: 40px;
    padding: 40px 80px;
}

#content h3 {
    font-size: 25px;
}

#content h1 {
    margin-top: 20px;
    font-size: 160px;
    line-height: 180px;
}

#case {
    margin-top: 150px;
    display: flex;
    justify-content: space-between;
    padding: 40px 80px;
    align-items: center;
}

#case h4,
#case h5 {
    font-size: 20px;
}

#right {
    width: 14%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#line {
    border: 2px solid black;
    width: 150px;
    height: 0;
}

#projects {
    padding: 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.elem {
    width: 50%;
    height: 100%;
}

.elem-img {
    height: 700px;
    width: 100%;
    background: rgb(175, 208, 214);
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    padding: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}


#img1 img {
    height: 100%;
}

#img2 {
    background-image: url('https://cdn.dribbble.com/users/4053754/screenshots/15889160/media/32edebfc5aee782f38519b131670b0fe.png');
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

.btm-left h2{
    font-size: 40px;
}

.btm-left h4{
    font-size: 20px;
    color: rgb(114, 113, 113);
}

.bottom i {
    font-size: 30px;
    font-weight: 600;
    border: 2px solid black;
    border-radius: 40px;
    padding: 15px 30px ;
}

.bottom i:hover {
    background-color: black;
    color: white;
    
}
