@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
body::-webkit-scrollbar{
    display: none;
}
#header{
    background-color: white;
    position: fixed;
    z-index: 100;
    width: 100%;
    top: 0;
}
.logo-container{
    display: flex;
    align-items: center;
    gap: 10px;
}
h1 span i{
    margin: 10px;
    margin-left: 0;
    font-size: 18px;
    color: blue;
}
.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vh; 
}
.menu-bar{
    display: none;
}
.nav-bar ul li a{
    text-decoration: none;
    font-size: 14px;
    color: black;
    text-transform: uppercase;
}
.nav-bar ul li{
    list-style: none;
}
.nav-bar ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
}
.nav-link.active{
    color: blue;
}

/* -----------body style-------------- */

#body{
    margin-top: 10vh;
    width: 100%;
    height: 100vh;
    background-color: lightblue;
    display: flex;
    align-items: center;
}
.main-container{
    position: relative;
    width: 40vw;
    display: flex;
    justify-content: flex-end;
}
.profile-card-container{
    box-shadow: -10px 10px 10px 0px rgba(128, 128, 128, 0.433);
    position: relative;
    top: 0;
    right: -80px;
    width: calc(max(20vw, 300px));
    background-color: rgb(216, 242, 251);
}

.image-container{
    padding: 30px 0;
    margin: auto;
    width: 180px;
    height: 180px;
}
.image-container img{
    border-radius: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.text-container{
    text-align: center;
    padding-bottom: 40px;
}
.text-container button{
    display: none;
}
h1,h2{
    margin-bottom: 10px;
}
h2{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 2px;
}

.link-container{
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: white;
    padding: 10px 0;
}
.link-container i{
    color: black;
}
.info-container{
    height: 100%;
    width: 60vw;
    display: flex;
    align-items: center;
    padding-left: 110px;
    background-color: white;
}
.info-inner-container{
    width: calc(max(20vw, 300px));
}
h3{
    margin: 10px 0;
    font-weight: 700;
    font-size: 5rem;
}
.info-inner-container button{
    width: 120px;
    padding: 6px 20px;
    border-radius: 25px;
    margin: 10px 10px 10px 0;
    border: none;
    font-weight: 500;
    color: black;
}

/* ---------------footer style------------- */
#footer{
    padding: 4vh;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.left-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 5vw;
}
.left-container div{
    text-align: center;
}
.left-container div a{
    text-decoration: none;
    color: black;
}
.left-container div p{
    margin: 10px;
    font-weight: 600;
}
.left-container div.link-container{
    padding: 0;
}

@media screen and (max-width:700px) {
    #header{
        position: relative;
        background-color: white;
    }
    .menu-bar{
        display: block;
        z-index: 5;
    }
    .menu-bar span{
        display: block;
        margin: 5px;
        height: 3px;
        width: 30px;
        background-color: blue;
        transition: transform .3s ease;
    }
    .menu-bar span:nth-child(1){
        width: 15px;
    }
    .menu-bar span:nth-child(3){
        width: 15px;
        transform: translateX(15px);
    }
    .menu-bar.active span{
        background-color: black;
    }
    .menu-bar.active span:nth-child(2){
        transform: rotateZ(-45deg);
    }
    .menu-bar.active span:nth-child(1){
        transform: translate(2px) rotateZ(45deg);
    }
    .menu-bar.active span:nth-child(3){
        transform: translate(15px,-2px) rotateZ(45deg);
    }
    #body{
        position: relative;
        margin-top: 0;
        display: block;
        height: fit-content;
    }
    .text-container h2{
        display: none;
    }
    .text-container button{
        display: inline-block;
        width: 120px;
        padding: 6px 10px;
        border-radius: 25px;
        margin: 10px 10px 0 0;
        border: none;
        font-weight: 500;
    }
    .nav-bar{
        top: -100vh;
        left: 0;
        background-color: rgb(216, 242, 251);
        height: 100vh;
        width: 100%;
        margin: auto; 
        display: block; 
        z-index: 4;
        position: fixed;
        opacity: 0;
        transition: all .6s ease;
    }
    .nav-bar ul{
        margin: 150px 0;
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav-bar.active{
        opacity: 1;
        top: 0;
    }
    .nav-bar ul li{
        font-weight: 700;
        margin: 40px 0;
    }
    h1 span{
        display: block;
    }
    h1 span:nth-child(2){
        display: none;
    }
    .main-container, .info-container{
        position: relative;
        width: 100%;
    }
    .main-container{
        position: relative;
        background-color: white;
        width: 100%;
        height: 200px;
        margin: auto;
        display: block;
    }
    .profile-card-container{
        position: absolute;
        right: 0;
        z-index: 5;
        box-shadow: -10px 10px 10px 0px rgba(128, 128, 128, 0.433);
        width: 300px; 
        background-color: rgb(216, 242, 251);
    }
    .image-container{
        padding: 30px 0;
        margin: auto;
        width: 140px; 
        height: 140px;
    }
    .info-container{
        margin: 0;
        padding: 0;
        background-color: black;
        background-color: white;
    }
    .info-inner-container{
        padding: 10vw;
        padding-top: 250px; 
        background-color: rgb(216, 242, 251);
        width: 100%;
    }
    .info-inner-container button{
        display: none;
    }
    #footer{
        position: relative;
        background-color: white;
        flex-direction: column-reverse;
        gap: 10px;
        align-items: flex-start;
    }
    .left-container{
        width: 100%;
        gap: 0;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    h3{
        font-size: 3rem;
    }
    .left-container div{
        text-align: left;
    }
    .left-container div p{
        margin: 10px 0;
    }
    .left-container i{
        font-size: 16px;
    }
}