* {
    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;
}

.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) {
    .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;
}
@media(max-width: 800px){
    #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;
    }
}
@font-face {
    font-family: young;
    src: url(YoungSerif-Regular.ttf);
}
