/*---------------------Overall and Home------------------------*/

*{
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    box-sizing: border-box;
    --swiper-theme-color: #7EA8B4;
}

body{
    background: #FFF9F9;
    color: #ffffff;
}

html{
    scroll-behavior: smooth;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/background2.jpg);
    background-size: cover;
    background-position: center;
}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 180px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 5%;
}

.header-text h1{
    font-size: 90px;
    margin-top: 20px;
    letter-spacing: 3px;
}

.top-text{
    font-size: 20px;
    font-weight: 0;
}

.description{
    font-size: 20px;
}

.button{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ffffff;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color:#ffffff;
    font-size: 20px;
    background-color:rgba(20, 57, 67, 0.5);
    transition: background 0.5s;
    box-shadow: 10px 10px 20px #1d3037;

}

.button:hover{
    background-color:  rgba(255, 255, 255, 0.5);
}

.button.download{
    display: inline-block;

}

/*--------------------------Experience-----------------------------*/

#about{
    padding: 25px 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(126, 168, 180, 0.5);
    background-size: cover;
    background-position: center;
}

.row{
    display: flex; /*content side by side*/
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 25%;
}

.about-col-1 img{
    width: 100%;
    border-radius: 10px;
}

.about-col-2{
    flex-basis: 71%;
    color: black;
}

.sub-title{
    font-size: 55px;
    font-weight: 600;
    color: #000000;
}

.tab-titles{
    display: flex;
    margin: 30px 0 40px;
    color: #3F6A7A;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #000000;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

/*--------------------------Projects--------------------------*/

.projects-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-top: 50px;
}

.projects-list div{
    background-color: #7EA8B4;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 10px 10px 20px rgb(152, 152, 152);
}

.projects-list div a{
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    margin-top: 20px;
    display: inline-block;
    text-decoration: underline;
}

.projects-list div:hover{
    background: rgba(126, 168, 180, 0.7);
    transform: translateY(-10px);
}

.projects p{
    color: black;
    font-weight: 250;
    font-size: medium;
}

/*--------------------------Designs-------------------------*/

#designs{
    padding: 10px 10%;
    width: 100%;
    height: 100vh;
    background-color: rgba(126, 168, 180, 0.5);
    background-size: cover;
    background-position: center;
}

.designs h1{
    padding: 80px 0 0 0;
    text-align: center;
}

.design-container{
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
}

.swiper{
    width: 80%;
    height: fit-content;
    box-shadow: 10px 10px 20px rgb(152, 152, 152);
}

.swiper-slide img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 10px 10px 20px rgb(152, 152, 152);
}


/*--------------------------Contact---------------------------*/

#contact{
    padding: 0px 0;
    width: 100%;
    height: 60vh;
    background-color: rgba(126, 168, 180, 0.5);
    background-size: cover;
    background-position: center;
}

.contact-left{
    flex-basis: 35%;
}

.contact-left p{
    color: black;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}

.contact-right form{
    width: 100%;
}
 
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    margin: 15px 0;
    color: #000000;
    font-size: 18px;
    border-radius: 6px;
 }

 form .btn{
    cursor: pointer;
 }

 .btn{
    width: fit-content;
    border: 1px solid #000000;
    border-radius: 6px;
    text-decoration: none;
    padding: 14px 50px;
    color:#000000;
    font-size: 20px;
    background-color:rgba(126, 168, 180, 0.5);
    transition: background 0.5s;
    display: block;
 }

 .btn:hover{
    background-color:  rgba(255, 255, 255, 0.5);
 }

 #msg{
    color:#000000;
    margin-top: 20px;
    display:block;
 }

/*-----------------TODO: CSS for Smaller Screens---------------*/

@media only screen and (max-width: 600px){
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
}
