* {
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    box-sizing: border-box;
    font-weight: normal;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: auto;
}

body {
    color: rgb(0, 0, 0);
    background-color: white;
    overflow: auto;
    height: 100%;
}

#header {
    background-color: white;
    text-align: center;
    padding: 5% 10%;
    box-sizing: border-box;
}

.container {
    padding: 10px 10%;
    animation: fadeInAnimation ease 2s;
}


/* Add these styles to position the about section below the header */
#about {
    margin-top: 5vh; /* Adjust the margin as needed */
}


.logo::before, .logo::after {
    font-size: 17px;
    content: '';
    padding: 20px;
    position: absolute;
    left: 11.5px;
    top: 11.5px;
    display: block;
    transform: translateX(-50%) translateY(-50%) rotate(0);
    animation: spin 2.5s alternate ease-in-out;
    border-top: 2px solid rgb(134, 183, 216);
    border-left: 2px solid rgb(134, 183, 216);
    border-bottom: 2px solid rgb(134, 183, 216);
    border-right: 2px solid rgb(134, 183, 216);
}

.logo {
    font-size: 17px;
    position: relative;
    color: rgb(40, 140, 211);
}

.logo:hover::after {
    animation: spin 1s alternate ease-in-out;
}

@keyframes spin {
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: rgb(99, 190, 255);
    text-decoration: none;
    font-family: Consolas, "courier new";
    font-size: 20px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(250, 229, 127);
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.header-text {
    margin-top: 18%;
    margin-bottom: 5%;
    margin-left: 25%;
    margin-right: 25%;
    font-size: 5px;
}

.header-text p {
    color: rgb(83, 0, 0);
}

.header-text h1 {
    font-size: 35px;
    letter-spacing: 0px;
    animation: fadeInAnimation ease 3.5s;
    animation-fill-mode: forwards;
}

.header-text h1 span {
    color: #00a6ff;
    font-weight: bold;
}

.links {
    margin-bottom: 10%;
}

.icon {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 1%;
    margin-bottom: 5%;
    animation: fadeInAnimation ease 3.5s;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* -----------------about------------------ */
#about{
    padding: 90px 0;
    color: rgb(0, 0, 0);
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
    width: 22%;
    border-radius: 20px;
    font-size: 18px;
}

.about-col-1 h1{
    color:rgb(0, 0, 0);
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.about-col-2{
    flex-basis: 65%;
}

.about-col-2 h3{
    font-size: 50px;
    color:rgb(0, 0, 0);
}
.about-col-2 p{
    font-size: 20px;
    color:rgb(0, 0, 0);
}

.subtitle{
    font-size: 40px;
    font-weight: 400;
    color: rgb(200, 213, 222);
    margin-bottom: 20px;
    margin-top: 20px;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}


.tab-titles p{
    font-size: 25px;
    font-family: Consolas,"courier new";
}



.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: "";
    width: 0;
    height: 3px;
    background: rgb(250, 229, 127);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 100%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    font-size: 12px;
    color: white
}

.tab-contents ul li span{
    color:white;
    font-size: 18px;
    margin-bottom: 30px;
}

.imgg{
    display: flex;
    display: -webkit-flex;
    justify-content: center;
}

.imgg img{
    max-width: 30%;
}

.location{
    color: white;
    font-style: italic;
}

.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

.tab-contents.active-tab li{
    background-color: rgb(0, 85, 212);
    padding: 15px;
    font-size: 15px;
    font-weight: 400;
    border-bottom: 10px;
    border-radius: 5px;
    transition: transform 0.5s;
}

.tab-contents.active-tab b{
    font-weight: bold;
    color: rgb(255, 250, 239);
    font-size: larger;
}

.tab-contents.active-tab li:hover{
    background: rgb(0, 35, 190);
    transform: translateY(-10px);
}

/*<!------------------projects-------------------------->*/

#projects {
    color: rgb(0, 0, 0);
}

.projectscontainer h1{
    font-size: 50px;
    margin-bottom: 5%;
}

.work-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Adjust as needed */
}

.work {
    width: 45%; /* Adjust as needed */
    margin: 10px;
}

/*
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
*/

.work p{
    animation-fill-mode: forwards;
    animation: fadeInAnimation ease 1.7s;
    margin-bottom: 2%;
}

.work a{
    width: 25%;
    border-radius: 10px;
    display: block;
}

.icon{
    size: 100%;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    /*margin-left: 1%;*/
    margin-right: 1%;
    margin-bottom: 5%;
}

.work a:hover{
    transform: translateY(-10px);
    transition: transform 0.5s;
}