html {
    scroll-behavior: smooth;
    width: 100vw;
    overflow-x: hidden;
}

:root {
    --red: rgb(224, 247, 16);
}

body {
    margin: 0;
    background-color: rgb(4, 4, 24);
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    overflow-x: hidden;
    width: 100vw;
}
a{
    font-family: poppins;
    font-weight: bold;
}
.profile{
    width:100%;
    display:flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* gap:3em; */
    margin-top: 150px;
}
.image-container{
    background-color: rgb(226, 226, 11);
    width:300px;
    height:300px;
    border-radius: 100%;
    position: relative;
}
.hello{
    /* margin-top: -90px; */
    position: relative;
    top:-5px;
    font-size: 60px;
    color:rgb(226, 226, 11);
    z-index:10;
    margin: 0;
    font-family: 'beyond the mountains';
    font-size: 100px;
}
.pics-size{
    width:240px;
    margin-left: 20px;
    z-index: -1;
}

.pics-div3{
    width:350px;
    height:350px;
    border-radius: 100%;
    border: 55px solid rgb(4, 4, 24);
    position: absolute;
    top:-110px;
    left:-76px;
    z-index: 1;
}
.pics-div2{
    transform: rotate(35deg);
    margin-left:-70px;
    margin-top: -82px;
}
.text-container{
    width:50%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.btns-flex{
    height:100px;
    display: flex;
    justify-content:  center;
    flex-wrap: wrap;
    gap:2em;
    margin:auto;
    margin-bottom: 30px;
}
.portfolio-btn{
    width:200px;
    height:50px;
    border: 1px solid rgb(226, 226, 11);
    color:rgb(226, 226, 11);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;

}
.resume-btn{
    width:200px;
    height:50px;
    background-color: rgb(226, 226, 11);
    color: black;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}
.resume-btn:hover, .portfolio-btn:hover{
    margin-top: -10px;
    transition: 0.2s;
}
.about{
    width:90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:white;
    margin: auto;
    margin-top: 150px;
    gap:3em;
}
.about >hr{
    margin: 0;
    width: 85%;
    margin-bottom: 20px;
}
.about-container{
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6em;
}
.about-text{
    width:400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.about-text >h1{
    font-size: 30px;
}

.about-text >hr{
    width:50px;
    height:5px;
    background-color:rgb(226, 226, 11) ;
    border: none;
    margin: 0;
}
.about-boxes{
    width:600px
}
.about-boxes >div{
    width: 100%;
    display:flex;
    justify-content: center;
    gap:3em;
    flex-wrap: wrap;
}

.box-flex >.icon{
    font-size: 60px;
}
.box-flex{
    background-color: rgba(179, 179, 179, 0.096);
    width:250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    color: rgb(226, 226, 11) ;
    padding-left: 10px;
    padding-right: 10px;
}

.big-font{
    font-size: 30px;
    font-weight: bold;
}
#big-font{
    font-size:50px;
}

@media only screen and (max-width:1210px){
    .about-boxes >div{
        justify-content: center;
        gap:2em;
    }
    .about-boxes, .about-text{
        width:900px;
    }
}
@media only screen and (max-width:960px){
    .text-container{
        width: 90%;
    }
    .image-container{
        width:200px;
        height: 200px;
    }
    .pics-size{
        width:150px;
    }
    .pics-div3{
        width:200px;
        height:200px;
        top:-40px;
        left:-41px;
        border: 40px solid rgb(4, 4, 24);
        /* border: 1px solid rgb(127, 52, 201); */
    }
}

.trust{
    width:100%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 50px;
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    text-align: center;
}
.trust-flex{
    width:90%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap:2em;
    flex-wrap: wrap;
    
    justify-items: center;
    /* background-color: #1F2030; */
}
.white-box{
    width:150px;
    height:100px;
    object-fit: cover;
    /* background-color: white; */
}


/* services */

.services{
    width:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:white;
    gap:3em;
    text-align: center;
    margin-top: 100px;
    
}
.service-flex{
    width:90%;
    display: grid;
    flex-wrap: wrap;
    gap:1.5em;
    /* grid: gap 20em;; */
    justify-items: center;
    align-content: center;

    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.service-box{
    /* width:340px; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(241, 241, 241, 0.089);
    padding:10px;
    padding-top: 40px;
    height:400px;
    padding-left: 20px;
    padding-right: 20px;
    /* padding-bottom: 40px; */
    border-radius: 10px;
}
.icon-container{
    width:100px;
    background-color: rgb(4, 4, 24);
    border-radius: 10px;
    font-size: 50px;
    color:rgb(226, 226, 11);
}


/* Portfolio */

.portfolio{
    width:100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap:3em;
    color: white;
    margin-top: 150px;
    margin-bottom: 200px;
}
.portfolio-head{
    text-align: center;
}
.portfolio-details{
    width: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}
.img-container{
    /* width:330px; */
    background-color: rgba(165, 163, 163, 0.123);
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: 0.2s;
}
.img-container img{
    width:320px;
    height: 150px;
}
.img-container:hover{
    /* margin-bottom: 50px; */
    transition: 0.2s;
}
.portfolio-container,.vvv{
    width:330px;
    text-align: center;
    transition: 0.2s;
}
.vvv{
    min-width: 250px;
    height:250px;
    display: flex;
    justify-content: center;
}

.portfolio-container:hover, .vvv:hover{
    transform: scale(1.1);
    transition: 0.2s;
}
.flex-portfolio-container{
    width:100%;
    display:grid;
    flex-wrap: wrap;
    justify-items: center;
    align-content: center;
    gap:1.5em;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}
.view-site-btn{
    width:165px;
    /* height:40px; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 300;
   
}
.gitbub-btn{
    width: 165px;
    /* height: 40px; */
    background-color: rgba(165, 163, 163, 0.479);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 300;
}
.btn-flex-portfolio >a{
   
    text-decoration: none;
    color:black;
    list-style: none;
}
.btn-flex-portfolio{
    /* width:100%; */
    /* width:330px; */
    background-color: white;
    display: flex;
    /* gap:2em; */
    align-items: center;
    justify-content: center;
}
.btns-flex a{
    text-decoration: none;
}
.color-yellow{
    color:rgb(226, 226, 11);
}
.fontBig{
    font-size: 50px;
    color:rgb(226, 226, 11);
}
.blue{
    background-color: rgb(143, 143, 235);
}
.red{
    background-color: rgb(163, 64, 64);
}
.grey{
    background-color: rgb(204, 204, 204);
}
.center-things >p, .center-things >h4{
    margin: 0;
    
}
.center-things >p{
    font-size:13px;
    font-weight: 100;
}
.center-things{
    width:100%;
    height:45px;
    /* font-size: 10px; */
}

/* SKILLS */

.skills{
    width:100%;
    color:white;
    margin: auto;
}
.skills-box{
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    flex-wrap: wrap;
    gap:1em;
}
.skills-container{
    width:550px;
    display: flex;
    justify-content: center;
    gap:2em;
    padding: 10px;
    font-size: 14px;
    color:rgb(209, 209, 209)
    /* align-items: center; */
    /* background-color: rgba(240, 248, 255, 0.158); */
}
.span-circle{
    min-width:30px;
    height:30px;
    border-radius: 100%;
    border:5px solid rgb(226, 226, 11);
    position: relative;
    margin-top: 20px;
}
.tick{
    position: absolute;
    top:25%;
    left:25%;
    color:rgb(226, 226, 11);
}
.skillsReview{
    width:100%;
    display:flex;
    justify-content: center;
    align-items: center;
}
.review-skills{
    width:90%;
    display:flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;

 
}
.text-circle{
    width:80%;
}
.review-box{
    width:350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* gap:5em; */
   
}
.long-div{
    width: 100%;
    height:9px;
    background-color: rgba(99, 99, 160, 0.212);
    border-radius: 10px;
    position: relative;
}
.short-div{
    width:300px;
    height:9px;
    position: absolute;
    top:0;
    left:0;
    background-color:rgb(226, 226, 11) ;
    border-radius: 10px;
}


/* CONTACT */

.contact{
    width:70%;
    color:white;
    margin-top: 150px;
    background-color: rgba(138, 138, 132, 0.192);
    padding:20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contacts{
    width:100%;
    display:flex;
    justify-content: center;
}
#big:hover{
    color:rgb(226, 226, 11);
}
#big{
    font-size: 50px;
  
}
.space-icon{
    height:50px;
    display: flex;
    gap:2em;
    margin-top: 50px;
}
.space-icon >a{
    color:white;
}
footer{
    height: 40px;
    margin-top: 50px;
    background-color: black;
    color:rgb(230, 227, 227);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

@media only screen and (max-width:530px){
   
   
    .about-text-container{
        display: flex;
        align-items:unset;
        text-align: center;
    }
    .about-skill-box{
        width:300px;
    }
    .service-box{
        width:300px !important;
    }
    .fontBig{
        font-size: 30px;
    }
    .width{
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .trust .big-font{
        width:90%;
        font-size: 20px;
    }
  
    
   
}

.nav{
    
    width:100%;
    display: flex;
    justify-content: space-evenly;

    color: white;
    position: fixed;
    top: 0;
    z-index: 999;
    /* background-color: transparent; */
    background-color: rgb(177, 177, 13);
    /* backdrop-filter: blur(15px); */
    transition: 0.2s;
}
ul{
    margin:0;
    color:white;
}
.fixed-nav{
    box-shadow: light-shadow;
    background-color: rgb(177, 177, 13);
    position: fixed !important;
    top:0 !important;
    transition: 0.2s ease-in-out;
    z-index: 1000;
    width: 100%;
    /* height:80px; */
}
.logo{
    font-size: 40px;
    margin: 0;
    margin-top: 10px;
}
.list_nav{
    margin-top: 30px;
    display: flex;
}
.men{
    display: flex;
    gap:4em;

}
.hide{
   
    width:250px;
    height:100vh;
    position: absolute;
    left:0px;
    top:0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:3em;
    transition: 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.767);
    color: white;
    visibility:hidden;
    /* z-index: -900; */
    /* animation: emy 3s ease-in; */
}
.hide a{
    color:rgb(177, 177, 13)  !important;
}
.hide-style{
    visibility:visible;
    z-index: 999;
    /* transition: 0.5s; */
}
.body-hide{
    visibility: hidden;
}

/* Animation for the toggle menu */
@keyframes emy{
    0%{
        left:-100px;
    }
    50%{
        left:0px
    }
    100%{
        left:300px
    }
}
.animation{
    animation: emy 0.3s ease-in;

/* Animation End */

}

ul li{
  list-style: none;
  color: rgb(209, 209, 9);
}
.list_nav a{
    text-decoration: none;
    font-size: 17px;
    font-weight: 300;
    color: white;
}
.Logo_nav a{
    text-decoration: none;
    font-size: 20px;
    color: white;
}
.button_nav{
    background-color: black;
    color:white;
    width:100px;
    height:30px;
    border: none;
    border-radius: 5px;
    margin-top:20px;
}
#check, #burger, #bug{
    display:none;
}
.list_nav a:hover{
    color:rgb(98, 0, 255);
    border-bottom: 3px solid rgb(98, 0, 255);
}
.button_nav:hover{
    background-color: rgb(98, 0, 255);
}
.xx{
    display:none;
}
@media only screen and (max-width:835px){
    #burger{
        display:block;
        position: absolute;
        right:20px;
        font-size: 30px;
        top:19px;
    }
    #bug{
        display:block;
        /* color: black; */
    }
    .button_nav{
        display: none;
    }
    .men{
        width:100%;
        height:100vh;
        position: absolute;
        left:-850px;
        top:90px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap:3em;
        transition: 0.5s;
        background-color: rgba(0, 0, 0, 0.767);
        color: white;
    }
    input[type="checkbox"]:checked + .men{
        left:0;
        top:60px;
        transition: 0.5s;
    }
    a{
        color:white;
    }
    .center{
        visibility: visible;
    }
    .service-box{
        /* width:500px; */
    }
    .service-flex{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .center{
        display: block !important;
       
    }
   
}
@media only screen and (max-width:1300px){

    .about-skill-box{
        width:100%;
    }
    .skills-container{
        width:90%;
    }
    
}

 /* ABOUT_HTML */

.about-profile{
    flex-direction: row;
    flex-wrap: wrap;
    gap:5em;
}
.about-text-container{
    justify-content: center;
    text-align: left;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.about-hello{
    margin-left:40px;
}

.about-skill{
    width:90%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    /* gap:2em; */
}
.about-skill-body{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    
}
.about-skill-box{
    /* width:500px; */
}
.second-nav{
    background-color: #1F2030;
    position: fixed;
    top:0;
}


/* PORTFOLIO */
.port_html{
    margin-top: 200px;
}
.port-bigsize{
    font-size: 70px;
}
.port-smallsize{
    font-size: 25px;
}
.portfolio-head >h1, .portfolio-head >p{
    margin:0;
}
.port_cont{
    margin-top: 50px;
    margin-bottom: 150px;
}

@media only screen and (max-width:530px){
    .about-text-container{
        display: flex;
        align-items:center;
        text-align: center;
    }
    .about-skill-box{
        width:300px;
    }
    .space-icon{
        font-size: x-small;
    }
    
    .flex-portfolio-container >.image-container{
        width:200px;
    }
    .img-container img{
        width:90%;
    }
    .portfolio-container{
        width: 250px;
    }
    .view-site-btn,.gitbub-btn{
        width:100px;
        font-size: x-small;
    }
    .port-bigsize{
        font-size: 40px;
    }
    .port-smallsize{
        font-size: 17px;
    }
    .wrapper{
        width:200px;
    }
    .menu-icon div{
        width:27px !important;
        height: 3px !important;
        margin-bottom: 5px !important;
    
    }
    .logo{
        font-size: 25px;
    }
    .center{
        left:90% !important;
    }
}
.frame {
    /* position: absolute; */
    /* top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    /* margin-top: -200px; */
    /* margin-left: -200px; */
  }
  
  .center {
    position: absolute;
    top: 60%;
    left: 90%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    /* margin-top: -10px; */
    display: none;
  }
  
  
  .menu-icon div {
    background-color: #fff;
    width: 40px;
    height: 4px;
    margin-bottom: 10px;
    border-radius: 4px;
  }
  
  .menu-icon div:last-child {
    margin-bottom: 0px;
  }
  
  .line-1.animate {
    animation-name: animate-line-1;
    animation-duration: 500ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
  }
  
  .line-2.animate {
    animation-name: animate-line-2;
    animation-duration: 500ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
  }
  
  .line-3.animate {
    animation-name: animate-line-3;
    animation-duration: 500ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
  }
  
  .line-1 {
    animation-name: animate-line-1-rev;
    animation-duration: 500ms;
    animation-timing-function: ease-in;
  }
  
  .line-2 {
    animation-name: animate-line-2-rev;
    animation-duration: 500ms;
    animation-timing-function: ease-in;
  }
  
  .line-3 {
    animation-name: animate-line-3-rev;
    animation-duration: 500ms;
    animation-timing-function: ease-in;
  }
  
  .start {
    animation: none !important;
  }
  
  /* animation */
  @keyframes animate-line-1 {
    50% {
      transform: translateY(15px);
    }
    100% {
      transform: translateY(15px) rotate(44deg);
    }
  }
  
  @keyframes animate-line-2 {
    100% {
      transform: scale(0);
      opacity: 0;
    }
  }
  
  @keyframes animate-line-3 {
    50% {
      transform: translateY(-15px);
    }
    100% {
      transform: translateY(-15px) rotate(-44deg);
    }
  }
  
  /* reverse */
  @keyframes animate-line-1-rev {
    0% {
      transform: translateY(15px) rotate(44deg);
    }
    50% {
      transform: translateY(15px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  @keyframes animate-line-2-rev {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes animate-line-3-rev {
    0% {
      transform: translateY(-15px) rotate(-44deg);
    }
    50% {
      transform: translateY(-15px);
    }
    100% {
      transform: translateY(0);
    }
  }


.view-space{
    margin-right: 10px;
}




.game{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color:white;
    text-align: center;
    margin-top: 50px;
}
.wrapper{
    height: 400px;
    width:400px;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cards, .card, .view{
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.cards .card{
    height:calc(100% / 4 - 10px);
    width:calc(100% / 4 - 10px);
    cursor: pointer;
    position: relative;
    /* transform: rotateY(180deg); */
    perspective: 800px;
    margin-left: 10px;
    transform-style: preserve-3d;
}
.cards .shake{
    animation: shake 0.3s ease-in-out;
}
@keyframes shake{
    0%, 100%{
        transform: translateX(0);
    }
    20%{
        transform:translateX(-13px);
    }
    40%{
        transform: translateX(13px);
    }
    60%{
        transform: translateX(-8px);
    }
    80%{
        transform: translateX(8px);
    }
}
.cards .card .view{
    background: #fff;
    border-radius: 7px;
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.25s linear;
}
.cards{
    height: 100%;
    width: 100%;
    padding-left: 0;
    flex-wrap: wrap;
}
.card .front-view {
    font-size: 30px;
    color:rgba(0, 0, 255, 0.603)
}
.card .back-view{
    transform: rotateY(-180deg);
}
.card .back-view img{
    max-width: 45px;
}
.card.flip  .back-view{
    transform: rotateY(0);
}
.card.flip  .front-view{
    transform: rotateY(180deg);
}

@media only screen and (max-width:530px){
    .wrapper{
        width:270px;
    }
    /* animation */
  @keyframes animate-line-1 {
    50% {
      transform: translateY(8.5px);
    }
    100% {
      transform: translateY(8.5px) rotate(45deg);
    }
  }
  
  @keyframes animate-line-2 {
    100% {
      transform: scale(0);
      opacity: 0;
    }
  }
  
  @keyframes animate-line-3 {
    50% {
      transform: translateY(-8.5px);
    }
    100% {
      transform: translateY(-8.5px) rotate(-45deg);
    }
  }
  
  /* reverse */
  @keyframes animate-line-1-rev {
    0% {
      transform: translateY(8.5px) rotate(45deg);
    }
    50% {
      transform: translateY(8.5px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  @keyframes animate-line-2-rev {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes animate-line-3-rev {
    0% {
      transform: translateY(-8.5px) rotate(-45deg);
    }
    50% {
      transform: translateY(-8.5px);
    }
    100% {
      transform: translateY(0);
    }
  }
}