*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #1F211E;
    color: fff;
}

h1{
    color: #F2F2F0;
}

#Header{
    width: 100%;
    height: 100vh;
    background: url(ImagesPRJ/PostersPortfolioBG.png);
    background-size: cover;
    background-position: center;
}

.Container{
    padding: 10px 10%;
}

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

.Logo a:visited{
    text-decoration: none;
    color: #F2F2F0;
}

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

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

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

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

.header-text{
    margin: 20%;
    font-size: 30px;
    color: #F2F2F0;
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #BF9B6F;
}

.header-text-animatingjob span{
    position: relative;
}

.header-text-animatingjob span::before{
    content: "Unreal Engine Generalist";
    color: #F2F2F0;
    animation: words 20s infinite;
}

.header-text-animatingjob span::after{
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    background-color: #1e1e21;
    border-left: 3px solid #BF8B4B;
    right: -8px;
    animation: cursor .8s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #BF8B4B;
    }
}

@keyframes words{
    0%, 20%{
        content: "Unreal Engine 5 Generalist";
    }
    21%, 40%{
        content: "3D Artist";
    }
    41%, 60%{
        content: "Technical Artist";
    }
    61%, 80%{
        content: "Programmer";
    }
    81%, 100%{
        content: "Gameplay Programmer";
    }
}

@keyframes typing{
    10%, 15%, 30%, 35%, 50%, 55%, 70%, 75%, 90%, 95%{
        width: 0;
    }
    5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%, 85%{
        width: calc(100% + 8px);
    }
}

/*-----About Me-----*/

#AboutMe{
    padding: 80px 0;
    color: #F2F2F0;
}
.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%;
}
.Sub-Title{
    font-size: 60px;
    font-weight: 600;
    color: #F2F2F0;
}

.Sub-Title span{
    color: #BF9B6F;
}

.SeeMoreBlog{
    display: block;
    margin: 30px auto;
    width: fit-content;
    border: 1px solid #594B39;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #F2F2F0;
    transition: background 0.5s;
}
.SeeMoreBlog:hover{
    background: #594B39;
}

.Tab-Titles{
    display: flex;
    margin: 20px 0 40px;
}

.Tab-Links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.Tab-Links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #594B39;
    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 ul li span{
    color: #BF9B6F;
    font-size: 14px;
}
.Tab-Contents{
    display: none;
}
.Tab-Contents.Active-Tab{
    display: block;
}

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

#Projects{
    padding: 50px 0;
}

.BAMbg{
    background-color: #6CC5D9;
}

.Work-List{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.Work{
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    border: 2px solid black;
}
.Work img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    overflow: hidden;
}

.Layer{
    color: #F2F2F0;
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6), #635B5A);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.Layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.Layer a{
    margin-top: 20px;
    color: #BF9B6F;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #F2F2F0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.Work:hover img{
    transform: scale(1.1);
}
.Work:hover .Layer{
    height: 100%;
}

.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #594B39;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #F2F2F0;
    transition: background 0.5s;
}
.btn:hover{
    background: #594B39;
}

.Top{
    width: 80px;
    height: 80px;
    background: #BF8B4B;
    border: 4px solid #F2F2F0;
    font-size: 150%;
    font-family: 'Open Sans', sans-serif;
    border-radius: 5px;
    color: #1F211E;
    position: fixed;
    bottom: 120px;
    right: 35px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer{
    width: 100%;
    text-align: center;
    padding: 15px 0;
    color: #F2F2F0;
    background: #BF8B4B;
    font-weight: 300;
    margin-top: 20px;
}

footer p{
    color: #F2F2F0;
}

.CopyRight{
    color: #F2F2F0;
    font-size: 14px;
}
