* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: young;
}
body {
    background-color: #fff;
    color: #000;
}
.dark{
    background-color: #000;
    color: #fff;
}
header {
    background-color: #fff;
    color: #000;
    width: 100%;
    position: fixed;
    z-index: 1;
}
.dark header{
    background-color: #000;
    color: #fff;
}
li {
    list-style: none;
}

a {
    color: #000;
    text-decoration: none;
}
.dark a{
    color: #fff;
}
.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.nav-branding {
    font-size: 2rem;
}

.nav-link {
    transition: 0.7s ease;
}

.nav-link:hover {
    color: dodgerblue;
}

/* .active{
    color: dodgerblue;
}
.active .nav-link{
    color: dodgerblue;
} */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #000;
}
.dark .bar{
    background-color: #fff;
}
@media(max-width: 768px) {
    header{
        position: fixed;
        z-index: 2;
    }
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        transition: 0.3s;
        text-align: center;
    }
    .dark .nav-menu{
        background-color: #000;
    }
    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }
}
#me{
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.socials{
    display: block;
}
.describe{
    width: 50%;
}
.headdie{
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    font-size: 25px;
}
.headdie h1{
    font-size: 65px;
    animation: colos 10s ease-in-out infinite;
}
@keyframes colos {
    30%{color: orangered;}
    80%{color: green;}
}
.devy{
   font-size: 16px;
   font-weight: 100;
   width: 88%;
}
.btn{
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.btn a{
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    color: inherit;
}
.btn a:first-child{
    background: orangered;
}
.btn a:last-child{
    background: green;
}
marquee{
    margin-top: 15px;
    word-spacing: 20px;
    width: 300px;
    display: none;
}
#skier{
    height: 280px;
    width: 280px;
    background-image: url(me.JPG);
    background-size: contain;
    background-position: center;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-color: #532e2d;
    position: relative;
}
#skier::before{
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: orangered;
    top: 0;
    left: -20px;
    border-radius: 50%;
}
#skier::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: green;
    bottom: 0;
    right: -20px;
    border-radius: 50%;
}
#stack{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.akk{
    word-spacing: 20px;
}
#about{
    padding: 70px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    gap: 40px;
}
.mee{
    width: 50%;
    font-size: 17px;
}
.hedd h1{
    display: grid;
}
.mee p{
    text-align: justify;
}
.hobs button{
    background: orangered;
    padding:8px 12px;
    border: none;
    color: inherit;
    margin-top: 10px;
    font-size: 17px;
}
.pickk{
    display: grid;
    grid-template-columns: auto auto;
    position: relative;
    gap: 5px;
}
.pickk::before{
    content: 'm';
    font-size: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    position: absolute;
    background-color: green;
    top: 30px;
    left: 30px;
}
.pickk::after {
    content: 'e.';
    font-size: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    position: absolute;
    background-color: green;
    right: 30px;
    bottom: 30px;
}
.pickk div{
    width: 150px;
    height: 150px;
}
.game{
    background: url(game.jpg);
    background-size: cover;
    position: relative;
}
.game::before{
    position: absolute;
    content: '';
    width: 150px;
    height: 150px;
    background: url(me2.JPG);
    background-size: contain;
    background-position: center;
    bottom: -70px;
    left: -70px;
    border-radius: 75px;
}
.game::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    background: yellow;
    background-size: contain;
    background-position: center;
    top: 0;
    left: -30px;
    border-radius: 25px;
    z-index: -1;
}
.chess {
    background: url(chess1.jpg);
    background-size: cover;
}
.ball{
    background: url(ball.jpg);
    background-size: cover;
    background-position: center;
}
.meek {
    background: url(reading.jpg);
    background-size: cover;
    background-position: center;
}
.meek::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 40px solid crimson;
    bottom: 0;
    right: 0;
    border-radius: 25px;
}
#what{
    padding: 80px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* background-color: #f8f8fa; */
}
.griidy {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    width: 56%;
}
.one,.two,.three,.four,.five,.six,.seven{
    /* padding: 20px ; */
    background-color: #fff;
}
.one,.three,.four,.five,.six,.seven{
    height: 240px;
    box-shadow: 1px 1px 1px #777;
    width: 250px;
    display: block;
}
.dark + .one,.three,.four,.five,.six,.seven{
    box-shadow: 0.5px 0.5px 1px #777;
}
.one {
    /* grid-column-start: 4;
    grid-column-end: 2; */
    grid-row-start: 1;
    grid-row-end: 3;
    height: 323px;
}
.two{
    grid-column-start: 4;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    background-color: transparent;
    height: 74px;
    display: flex;
    justify-content: right;
    align-items: center;
}
.two h1{
    font-size: 68px;
}
/* .five{
    width: 280px;
} */
.six{
    grid-column-start: 3;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 3;
}
.seven{
    grid-column-start: 3;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 3;
}
.a,.c,.e,.g,.i,.k{
    height: 60%;
}
.a{
    background: url('five.png');
    background-size: cover;
}
.c{
    background: url('four.png');
    background-size: cover;
}
.e {
    background: url('three.png');
    background-size: cover;
}
.g{
    background: url('one.png');
    background-size: cover;
}
.k {
    background: url('seven.png');
    background-size: cover;
}
.i{
    background: url('six.png');
    background-size: cover;
}
.b,.d,.f,.h,.j,.l{
    height: 40%;
    background: #fff;
    color: #000;
}
.griidy a{
    color: #000;
}
.servo {
    padding-left: 15px;
    border-left: #000 solid 2px;
    text-align: right;
    font-size: 22px;
    position: relative;
}
.dark .servo{
    border-left: #fff solid 2px;
}
.servo h1{
    font-size: 33.3px;
}
.servo::before{
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 10px;
    box-shadow: 1px 1px 6px #000, inset 1px 1px 3px #777;
    top: 0;
    left: -10px;
    animation: uppy 5s ease-in-out infinite;
}
@keyframes uppy {
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(260px);
    }
    100%{
        transform: translateY(0px);
        box-shadow: 3px 3px 6px red, inset -1px -1px 1px red;
        background-color: yellow;
    }
}
@media(max-width: 800px){
    header{
        z-index: 2;
    }
    #me{
        display: block;
        padding: 100px 0;
    }
    .describe,#skier{
        margin: auto;
    }
    .describe{
        width: 90%;
    }
    .headdie{
        font-size: 18px;
    }
    .headdie h1{
        font-size: 40px;
    }
    marquee{
        width: 250px;
        display: flex;
    }
    #skier{
        margin-top: 10%;
        height: 250px;
        width: 250px;
    }
    #skier::before{
        height: 50px;
        width: 50px;
        left: 0;
    }
    #skier::after{
        height: 50px;
        width: 50px;
        right: 0;
    }
    .socials{
        display: none;
    }
    #stack{
        display: block;
        text-align: center;
    }
    .akk{
        word-spacing: 5px;
    }
    #about{
        display: block;
        text-align: center;
    }
    .hedd h1{
        display: inline-block;
    }
    .mee{
        width: 90%;
        margin: auto;
    }
    .pickk{
        margin: 20px auto;
        text-align: center;
        height: 350px;
        width: 230px;
    }
    .pickk div{
        height: 120px;
        width: 120px;
    }
    .pickk::before{
        width: 80px;
        height: 80px;
    }
    .pickk::after{
        width: 80px;
        height: 80px;
        right: 10px;
        bottom: 10px;
    }
    .game::after{
        width: 30px;
        height: 30px;
        border-radius: 15px;
        left: -15px;
    }
    .meek::after{
        bottom: -15px;
        right: -15px;
    }
    #what{
        display: block;
    }
    .griidy{
        display: block;
        width: 100%;
        text-align: center;
    }
    .one,.two,.three,.four,.five,.six,.seven{
        margin: auto;
        position: relative;
        z-index: 1;
        width: 90%;
        display: flex;
        justify-content: center ;
        align-items: center;
    }
    .one,.three,.four,.five,.six,.seven{
        height: 200px;
    }
    .four,.five,.six,.seven{
        margin-top: 10px;
    }
    .a,.c,.e,.g,.i,.k{
    height: 100%;
    width: 60%;
    }
    .b,.d,.f,.h,.j,.l{
    height: 100%;
    width: 40%;
    }
    .two{
        position: relative;
        z-index: -1;
        /* width: 90%; */
        margin: auto;
        width: fit-content;
        display: block;
    }
    /* .two h1{
        -webkit-text-stroke: #000 0.05px;
        color: transparent;
        font-size: 50px;
    }
    .dark .two h1{
        -webkit-text-stroke: #fff 0.05px;
    } */
    .servo{
        width: 88%;
        margin: auto;
        margin-top: 20px;
    }
}
@media (max-width:1200px) and (min-width: 800px) {
    #what{
        display: block;
        padding: 80px 0;
    }
    .griidy{
        margin: auto;
        padding: 0;
    }
    .one,.three,.four,.five,.six,.seven{
        width: 185px;
    }
    .two{
        width:fit-content;
    }
    .two h1{
        font-size: 40px;
    }
    .servo{
        width: 60%;
        margin: auto;
        padding-top: 20px;
    }
}
@font-face {
    font-family: young;
    src: url(YoungSerif-Regular.ttf);
}
