@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

:root{
    --navbar-background: #d9fdff;
    --page-background: #ffffff;
    --primary-color: #222;
    --secondary-color: #777;
}

.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}






/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    padding: 20px 0;
    font-family: "ubuntu", sans-serif;
    background: var(--navbar-background);
    transition: all 0.3s ease;
}

.navbar.sticky{
    padding: 15px 0;
    background: var(--navbar-background);
}

.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a{
    color: var(--primary-color);
    font-size: 35px;
    font-weight: 500
}

.navbar .menu li{
    list-style: none;
    display: inline-block
}

.navbar .menu li a{
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    margin-left: 30px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover{
    color: var(--secondary-color);
}

.navbar.sticky .menu li a:hover{
    color: #999;
}

.navbar .home-logo{
    visibility: hidden;
}





/* menu btn styling */
.menu-btn{
    color: var(--primary-color);
    font-size: 23px;
    cursor: pointer;
    display: none;
}





/* general styling */
main {
    background: var(--page-background);
    background-size: cover;
    height: 100vh;
    color: var(--primary-color);
    min-height: 500px;
    font-family: "ubuntu", sans-serif;
}

.home, .about{
    display: flex;
}









/* home page styling */
.home .home-content{
    padding-bottom: 35px;
}

.home .home-content .text-1{
    font-size: 27px;
}

.home .home-content .text-2{
    font-size: 65px;
    font-weight: 500;
    margin-left: -3px;
}

.home .home-content .text-3{
    font-size: 30px;
    margin: 5px 0
}

.home .home-content .links{
    margin-top: 15px;
}

.home .home-content .links li{
    list-style: none;
    display: inline-block;
    margin-right: 10px
}

.home .home-content .links img{
    object-fit: contain;
    height: 35px;
    max-width: 70px;
    border-radius: 5px;
}







/* about page styling */
.about .about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
}

.about .about-content .column {
    margin: 0 30px;
}

.about .about-content .left {
    width: 275px;
}

.about .about-content .right {
    width: 325px;
    padding-bottom: 15px;
}

.about .about-content .left img {
    width: 100%;
    transition: all 0.3s ease;
}

.about .about-content .left img:hover {
    box-shadow: 2px 3px 3px 0px #555

}

.about .about-content .right p {
    font-size: 18px;
    word-spacing: 0.05em;
    letter-spacing: 0.01em;
    line-height: 130%;
}







/* experience page styling */
.experience .experience-content {
    text-align: center;
}

.experience .experience-content h3 {
    padding-top: 100px;
    font-size: 25px;
    font-weight: 400;
}






/* contact page styling */
.contact .contact-content {
    padding-top: 165px;
    text-align: center;
}

.contact .contact-content h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.contact .contact-content .row {
    display: flex;
    justify-content: center; 
    font-size: 24px;
    margin-bottom: 18px;
}

.contact .contact-content .row h4 {
    width: 120px;
    text-align: left;
}

.contact .contact-content .row p {
    text-align: left;
    width: 250px;
}





/* responsive media query start */
@media (max-width: 1100px){
    .home .max-width{
        margin-left: 0px
    }
}

@media (max-width: 1000px){
    .max-width{
        padding: 0 50px
    }
}

@media (max-width: 900px){
    .max-width{
        padding: 0 50px;
    }
    .menu-btn{
        display: block;
        z-index: 999;
    }    
    .menu-btn i.active:before{
        content: "\f00d";
    }
    /* TODO: finish implementing menu button */
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: (--primary-color);
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .about .about-content .left {
        width: calc(35% - 20px);
    }
    
    .about .about-content .right {
        width: calc(40% - 20px);
    }    
}

@media (max-width: 700px) {
    .max-width{
        padding: 0 23px
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .about{
        padding-top: 30px;
    }
    .about .about-content .left,
    .about .about-content .right {
        width: calc(60%);
    }    
    .about .about-content .right {
        margin-top: 25px;
        margin-bottom: 75px;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .about {
        padding-top: 40px;
    }
    .about .about-content .left,
    .about .about-content .right {
        width: calc(80%);
    }    
}
