@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

:root{
    --primary-color: #11121a;
    --hover-color: #c28100;
    --accent-color: #1c64ff;
    --text-color: #fff;
    --bb-color: #383838;
}

::-webkit-scrollbar{
    background: #383838;
}

::-webkit-scrollbar-thumb{
    background: #575757;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover{
    background: #8b8b8b;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

body{
    min-height: 100vh;
    background-color: #111;

    padding-bottom: 100px;
}

body.home{
    min-height: 100vh;
    background-color: #111;

    padding-bottom: 100px;
    overflow: hidden;
}

body.about{
    padding-bottom: 0px;
}

nav {
    background-color: #111;
    z-index: 100;

    border-bottom: 1px solid var(--bb-color);
}

nav ul{
    list-style: none;
    display: flex;
}

nav li{
    display: flex;
}

nav .home-li{
    margin-right: auto;
}

nav .home-li-active{
    margin-right: auto;
    border-bottom: 2px solid var(--text-color);
}

nav a {
    display: flex;
    text-decoration: none;
    color: var(--text-colour);
    font-weight: 600;
    padding: 1em 2em;
    transition: background-color 150ms ease;
}

nav a:hover {
    background-color: var(--hover-color);
}

nav a.active-link{
    border-bottom: 2px solid var(--text-color);
}

nav a.accent-link{
    background-color:  var(--accent-color);
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    backdrop-filter: blur(10px);
    background-color: #111111be;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: right 300ms ease-in;
}

#open-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
}

#close-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}

#overlay{
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    inset: 0;
    z-index: 150;
    display: none;
}

.skip-link{
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: var(--bb-color);
    color: #ffffffff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.skip-link:focus{
    opacity: 1;
    pointer-events: auto;
    outline: 3px solid #ffff;
}

@media screen and (max-width: 820px){
    #open-sidebar-button, #close-sidebar-button{
        display: block;
    }

    nav{
        position: fixed;
        top: 0;
        right: -100%;
        height: 300vh;
        width: min(15em, 100%);
        z-index: 200;
        border: left 1px solid var(--hover-color);
        transition: right 300ms ease-out;
    }
    nav.show{
        right: 0;
    }
    nav.show ~ #overlay{
        display: block;
    }
    nav ul{
        width: 100%;
        flex-direction: column;
    }
    nav a{
        width: 100%;
        padding-left: 2.5em;
    }
    nav a.active-link{
        border-bottom: none;
    }
    nav .home-li{
        margin-right: unset;
    }
    nav .home-li-active{
        margin-right: unset;
        border-bottom: none;
    }

    body.about{
        overflow: scroll;
    }

    .socialAbout{
        flex-direction: column;
        align-items: center;
    }

    .text1 h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1em;
    padding: 40px;
    color: #fff;
    }
}



.links {
    display: flex;
    gap: 1em;
}

.showcase{
    position: absolute;
    right: 0;
    width: 100%;
    height: 94.5%;

    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    color: #fff;
    z-index: 2;

    transition: 0.4s;
}

.showcase.active{
    right: 300px;
}

.showcase header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.showcase video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.logo{
    text-transform: uppercase;
    cursor: pointer;
}

.toggle{
    position: absolute;
    top: 30px;
    right: 85px;
    width: 60px;
    height: 60px;
    background: url(icons/menu.png);
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: center;
    cursor: pointer;

    transition: 0.3s;
    filter: invert(1);

    font-size: 0px;
    
}

.toggle:hover{
    background-image: none;
    font-size: 45px;
     filter: invert(0);

     right: 110px;
}

.toggle.active{
    background: url(icons/close.png);
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-wrapper > div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-wrapper > div > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    padding-left: 150px;
    padding-right: 150px;

    grid-auto-flow: row;
}

.grid-wrapper img{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

.wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper a{
    text-decoration: none;
}

.image{
    width: 450px;
    position: relative;
}

.image:hover{
    .contentProject{
        background-color: #3f3f3f;
    }
}

img{
    width: 100%;
    display: block;
    margin:auto;

    position: relative;
}

.content{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    flex-direction: column;
    opacity: 0;

    transition: 0.4s;

    color: #fff;

    border: solid;
    border-width: 2px;
    border-style: none;

    background-color: rgba(0, 0, 0, 0.75);

}

.content p{
    font-size: 15px;
    padding: 25px;
}

.content:hover{
    opacity: 1;
}

.contentProject {
    background-color: #292929;
    transition: 0.25s ease-in-out;
}

.contentProject h1{
    text-align: center;
    font-size: 20px;

    padding-top: 15px;
    padding-bottom: 10px;
}

.contentProject p{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;

    font-size: 15px;
}

.text{
    position: relative;
    z-index: 10;
}

.text1{
    position: relative;
    z-index: 10;
    padding-bottom: 10px;
}

.textProject{
    position: relative;
    z-index: 10;
    padding-bottom: 10px;
}

.text2{
    position: relative;
    z-index: 10;
    padding-bottom: 10px;
}
.text3{
    position: relative;
    z-index: 10;
    padding-bottom: 10px;
}


.text h2{
    font-size: 5em;
    font-weight: 700;
    line-height: 1em;

    color: #fff;
}

.text p{
    font-size: 1.1em;
    margin: 20px 0;
    font-weight: 400;
    max-width: 700px;
}

.social{
   position: absolute;
   left: -135px;
   bottom: 50px;
   z-index: 10;
   display: flex;
   justify-content: center;
   align-items: center;
}

.social li{
    list-style: none;
}

.social li a{
    display: inline-block;
    filter: invert(1);
    margin-right: -450px;
    transform: scale(0.06);
    transition: 0.3s;
}

.social li a:hover{
    transform: scale(0.09);
}

.menu{
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu ul{
    position: relative;
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 24px;
    color: #111;
}

.menu ul li a:hover{
    color: #ffab00;
}

.type1{
    background-color: #111;
    color: #fff;

    height: 950px;
}

.type1 h2{
    position: absolute;
    top: 50px;
    left: 50px;

}

.textProject h2{
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1em;

    padding: 40px;

    color: #fff;
}

.text1 h2{
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1em;

    padding: 40px;

    color: #fff;
}

.text1 h3{
    display: flex;
    justify-content: center;

    font-size: 2em;
    font-weight: 700;
    line-height: 1em;

    color: #fff;
}

.text2 h3{
    display: flex;
    justify-content: center;

    font-size: 2em;
    font-weight: 700;
    line-height: 1em;

    padding-top: 110px;

    color: white;
}

.text3 h3{
    display: flex;
    justify-content: center;

    font-size: 2em;
    font-weight: 700;
    line-height: 1em;

    padding-top: 110px;

    color: white;
}

.grid-container{
    display: flex;
    justify-content: center;

    padding: 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, 450px);
    gap: 15px;
}

.grid-container-sc{
    display: flex;
    justify-content: center;

    padding: 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, 450px);
    gap: 25px;

    transition: 2s ease;
}



.card img{
    height: 100%;
    width: 100%;

    object-fit: fill;
}

.card{

    border: 0px solid rgb(75, 82, 92);
    border-radius: 10px;
    background-color: #2596be;
    text-align: center;
}

.card:hover .overlay-portfolio{
    opacity: 1;
}

.socialAbout{
    width: 100%;
    padding: 60px;
    display: flex;
    align-items: left;
    justify-content: center;
    background-color: #111;
}

.icon{
    width: 205px;
    height: 100px;
    border-radius: 100px;
    background: #111;
    margin: 20px;
    text-align: center;
    font-size: 25px;
    line-height: 100px;
    font-family: sans-serif;
    overflow: hidden;
    box-shadow: 0px 0px 5px 5px rgba(150, 150, 150, .3);

    transition: .4s ease-in-out;
}

.icon:hover{
    cursor: pointer;
    box-shadow: 0px 0px 10px 10px rgb(194, 129, 0, 1)
}

#skills{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-color);
}

.skills-top{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skills-top>p:nth-child(1){
    font-size: 50px;
    font-weight: 700;
}

.skills-top>p:nth-child(2){
    font-size: clamp(1.8rem, 1.0500rem + 3.3333vw, 2.8rem);
    font-weight: 600;
    max-width: 80%;
    align-self: center;
}

.skills-bottom{
    padding-top: 30px;
    padding-bottom: 90px;
    padding-left: 100px;
    padding-right: 100px;

    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skill {
    flex: 22%;
    background-color: #383838;
    display: flex;
    align-items: center;
    padding: 18px;
    border-radius: 10px;
    gap: 15px;
    position: relative;
}

.skill-icon{
    width: 45px;
    height: 45px;
}

.skill-icon img{
    width: 100%;
    object-fit: contain;
}

.UE{
    background-color: #630c0c;
}
.Unity{
    background-color: #575757;
}
.Godot{
    background-color: #3a719b;
}
.Blender{
    background-color: #bb5e01;
}
.Maya{
    background-color: #2596be;
}
.CPlusPlus{
    background-color: #014a92;
}
.CSharp{
    background-color: #390091;
}
.Python{
    background-color: #af9538;
}
.HTML{
    background-color: #af4919;
}
.Perforce{
    background-color: #270672;
}
.Jira{
    background-color: #054fbd;
}
.Excel{
    background-color: #145834;
}
.Github{
    background-color: #aaaaaa;
}
.Miro{
    background-color: #322636;
}
.VS{
    background-color: #705094;
}
.Gimp{
    background-color: #574b2e;
}



.skills{
    background-color: #111;
}

.skills .container{
    background-color: #26262a;
    color: #fff;
    border-radius: 1rem;
    padding: 0.5rem;
    width: 50%;
    margin: auto;
    margin-top: 2rem;

    font-weight: 600; 
}

.skills .container .row{
    display: grid;
    grid-template-columns: repeat(auto-fit, 10rem);
    flex-wrap: wrap;
    gap: 1.8rem;

    justify-content: center;

}

.skills .container .bar{
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 1rem;
}

.skills .container .bar .info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.skills .container .bar .info .span{
    font-size: 2rem;
    font-weight: 500;
    margin-left: 0.5rem;
}


.container{
    width: 100%;
    color: white;
}

main.row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0px;
}

.col {
    padding-left: 25px;
}

.col header.title{
    color: #2596be;
    
    padding: 0px 0px 20px 30px;
}

.col header.title2{
    color: white;
    
    padding: 100px 0px 20px 30px;
}

.col .contents{
    padding: 0px 30px;
    border-left: 2px solid #bababa;
}

.col .contents .box{
    position: relative;
    padding: 20px;
    border: 1px solid #bababa;
    background-color: #26262a;
    margin-bottom: 20px;
    
    transition: all 0.4s;
    /*list-style-type: none;*/
    
    padding-left: 30px;
}

.box h4{
    font-weight: 400;
}


.portfolioWork video
{
    width: 65%;
    height: 40%;

    margin-left: auto;
    margin-right: auto;
    display: block;

    margin-top: 15px;

}

.portfolioWork .text2{
    color: #fff;
    font-size: 1.25em;

    padding-left: 200px;
    padding-right: 200px;
}

.portfolioWork p{
    margin-bottom: 10px;
    margin-top: 25px;
}

.portfolioWork a{
    text-decoration: none;
    color: #111;
    background-color: #2596be;
    border: none;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    font-weight: 600;
  
    border-radius: 50px;
    margin-top: 20px;

    transition: 0.3s;
}

.portfolioWork a:hover{
     font-size: 20px;
     background-color: #ffab00;
}

.filters {
    text-align: center;
    margin-bottom: 2rem;

    color: #fff;
}

.filters * {
    display: inline-block;
}

.filters label {
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 5rem;
    min-width: 50px;
    line-height: normal;
    cursor: pointer;
    
    transition: all 0.1s;
}

.filters label:hover {
    background: #ffab00;
    color: #26262a;
}

@media(max-width: 991px){
    .showcase
    .showcase header{
        padding: 40px;
    }

    .text h2 {
        font-size: 3em;
    }
}

button {
    border-style: none;
    color: #111;
    cursor: pointer;
}

button:active {
    opacity: 0.8;
}

.ribbon{
  width: 120px;
  font-size: 14px;
  position: absolute;
  right: -20px;
  top: -55px;
}

.tag{
  width: 50px;
  font-size: 14px;
  position: absolute;
  left: 0px;
  top: -20px;
  z-index: 100;
}

.tagText{
  width: 60px;
  font-weight: 500;
  font-size: 17px;
  padding: 5px;
  position: absolute;
  left: 0px;
  top: 0px;
  text-align: center;
  background-color: #6200ff;
  color: rgb(255, 255, 255);
  z-index: 100;
}

.projectWork video
{
    width: 55%;
    height: 60%;

    margin-left: auto;
    margin-right: auto;
    display: block;

    margin-top: 15px;

}

.projectWork .text2{
    color: #fff;
    font-size: 1.2em;

    padding-left: 250px;
    padding-right: 250px;
}

.projectWork .text3{
    color: #fff;
    font-size: 1.2em;

    padding-left: 250px;
    padding-right: 250px;
}

.projectWork p{
    margin-bottom: 10px;
    margin-top: 25px;
}

.projectWork a{
    text-decoration: none;
    color: #111;
    background-color: #ffab00;
    border: none;
    padding: 20px;
    text-align: center;
    align-content: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    font-weight: 600;
  
    border-radius: 50px;
    margin-top: 20px;

    transition: 0.3s;
}

.projectWork a:hover{
    font-size: 20px;
    background-color: #ffab00;
}

@media(max-width: 820px){

    main.row{
        grid-template-columns: 1fr;
    }
    .row .col:nth-child(2){
        margin-top: 30px;
    }
    .social{
        bottom: -10px;
    }
    .skills-bottom{
        padding: 55px;
    }


    .projectWork video{
    width: 85%;
    height: 70%;

    margin-left: auto;
    margin-right: auto;
    display: block;

    margin-top: 15px;
    }
    .projectWork .text2{
        font-size: 1em;
        padding-left: 50px;
        padding-right: 50px;
    }
    .projectWork .text3{
        font-size: 1em;
        padding-left: 50px;
        padding-right: 50px;
    }

    .textProject h2{
    font-size: 3rem;
    font-weight: 700;
    line-height: 1em;

    padding-left: 30px;

    color: #fff;
    }

    .text1 h2{
        font-size: 3.5rem;
    }

    .grid-container-sc .wrapper{
        padding-left: 30px;
        padding-right: 30px;
    }

}