* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background: #030409;
    color: #ffffff;
}

#header {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-image: url(/Assets/transparent-tyler.png);
    background-position: bottom right;
    background-size: 45%;
}
.container{
    padding: 10px 5%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    display: flex;
    width: 15rem;
    margin: 20px 20px;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 0.2rem;
    background: #cc5500;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 20%;
    font-size: 2rem;
}

.header-text h1{
    font-size: 4rem;
    margin-top: 20px;
}

.header-text h1 span{
    color: #cc5500;
}

/*--------------------------------About------------------------------------*/
#about{
    padding: 80px 0;
    color: #ababab
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.about-col-2{
    flex-basis: 60%;
}
.about-col-2 #intro{
    font-size: 1.25rem;
    width: 75%;
}

.subtitle{
    font-size: 3.75rem;
    font-weight: 600;
    color: #fff;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #cc5500;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 100%;
}

.tab-contents ul li{
    list-style: none;
    margin: 20px 0;
}

.tab-contents ul li span{
    color: #cc5500;
    font-size: 1.5rem;
}


.tab-contents{
    display: none;
}

.tab-contents.active-link{
    display: block;
}

/*--------------------------Projects------------------------*/

#projects{
    padding: 30px 0;
}

.project-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.project-list div{
    background: #262626;
    padding: 40px;
    font-size: .75rem;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.project-list div i{
    font-size: 5rem;
    margin-bottom: 20px;
}

.project-list div h2{
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.project-list div:hover{
    background: #cc5500;
    transform: translateY(-10px);
}

.project-list p{
    font-size: 1rem;
}

.socials h1{
    align-items: center;
    text-align: center;
}

.social-icons{
    margin-top: 20px;
    align-items: center;
    text-align: center;
}

.social-icons a{
    text-decoration: none;
    font-size: 2rem;
    color: #fff;
    margin-right: 20px;
    display: inline-block;
    transition: 0.5s;
}

.social-icons a::after{
    transform: translatey(5px);
}

.social-icons a:hover{
    color: #cc5500;
    transition: 0.5s;
    transform: translatey(-5px);
    transition: 0.5s;
}

.social-icons a:hover::after{
    transition: 0.5s;
}


footer {
    font-size: 1rem;
    width: 100%;
    text-align: center;
    align-items: center;
    margin: 20px;
}

nav .fas{
    display: none;
}

nav .fa-solid{
    display: none;
}

/*--------------------------Media Query----------------------------*/
@media only screen and (max-width: 600px){
    .header-text{
        margin-top: 50%;
        font-size: 1.25rem;
    }

    .header-text h1{
        font-size: 2rem;
    }

    nav img{
        margin: auto;
    }

    nav .fas{
        display: block;
        font-size: 1rem;
    }
    nav .fa-solid{
        display: block;
        font-size: 1rem;
        top: 25px;
        left: 25px;
        cursor: pointer;
        font-size: 1.5rem;
    }

    nav ul{
        background: #cc5500;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    .row{
        display: block;
    }

    nav ul li{
        display: block;
        margin: 25px;
    }

    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
        font-size: 1.5rem;
    }

    .subtitle{
        font-size: 2rem;
        text-align: center;
    }

    .about-col-1, .about-col-2{
        flex-basis: 100%;
        margin: 20px;
    }

    .about-col-2 #intro{
        width: 100%;
    }

    #about{
        padding: 20px 0;
    }


    .project-list div{
        text-align: center;
    }

    .project-list div h2{
        justify-content: left;
        font-size: 2rem;
        color: #cc5500;
    }

    .project-list div:hover{
        transform: none;
        background: #262626;
    }

    .project-list div i{
        font-size: 3rem;
    }

    .social-icons a:hover{
        transform: none;
        color: #fff;
        transition: none;
    }

    .social-icons a{
        font-size: 1.5rem;
    }

}