* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'NM';
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}

html, body {
    scroll-behavior: smooth;
}

/* header */

.header__nav {
    position: fixed;
    z-index: 100;
    top: 0;
    background: rgba(1, 3, 5, 0.8);
    backdrop-filter: blur(7.5px);
    display: flex;
    align-items: center;
    width: -webkit-fill-available;
    height: 100px;
}
.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
.nav__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__logo {
    border: 3px solid white;
    border-radius: 50%;
    padding: 15px;
    font-size: 18px;
    color: white;
    font-family: 'NM';
}
.nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.nav__list-link {
    font-family: 'NM';
    font-size: 18px;
    font-weight: 700;
    color: white;
    transition: all 300ms;
}
.nav__list-link:hover {
    color: rgb(61, 61, 61);
}
.header__content {
    margin-top: auto;
    background: url(../images/bg.jpg) no-repeat center/ cover;
    overflow: hidden;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.header__content-text {
    color: white;
    background: rgb(42, 42, 42);
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'NM';
}
.header__content-title {
    width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: black;
    font-size: 50px;
    font-weight: 300;
    font-family: 'NM';
}
.header__content-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    border-radius: 10px;
    background: green;
    width: 250px;
    padding: 10px 15px;
    transition: all 300ms;
}
.header__content-link:hover {
    background: rgb(0, 70, 0);
}
.header__content-link-title {
    font-size: 20px;
    color: white;
    font-family: 'NM';
    pointer-events: none;
}


/* description */

.description {
    position: relative;
    background: url(../images/bg2.jpg) no-repeat center/ cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.description__box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 105px;
}
.description__box-img {
    width: 310px;
    height: 100%;
}
.description__box-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    gap: 20px;
}
.description__box-text-first {
    width: 650px;
    font-size: 15px;
}


/* projects */

.skill {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(../images/bg3.jpg) no-repeat center/ cover;
}
.skill__img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.skill__title {
    display: flex;
    justify-content: center;
    color: white;
    z-index: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}
.skill__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}
.skill__box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.skill__box-item-img {
    padding: 4px;
    background: white;
    width: 120px;
}
.skill__box-item-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    padding: 4px;
    background: white;
}

.skill__letter-box {
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
    padding-bottom: 20px;
}
.skill__letter-box-text {
    color: white;
    font-size: 15px;
}
.skill__letter-box-link {
    color: white;
    background: black;
    padding: 4px 10px;
    font-size: 18px;
    font-weight: 700;
}

/* project */

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../images/bg4.jpg) no-repeat center/ cover;
    height: auto;
    padding-bottom: 60px;
}
.project__title {
    color: white;
    margin-top: 50px;
}
.project__box {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.project__box-item {
    border-radius: 2%;
    background: rgb(61, 61, 61);
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 300ms;
}
.project__box-item:hover {
    transform: translateY(-10px);
}
.project__box-item-img {
    border-radius: 2%;
    width: 450px;
}
.project__box-item-title {
    color: white;
}
.project__box-item-text {
    color: white;
    font-size: 20px;
}

/* footer */

.footer {
    padding-top: 20px;
    padding-bottom: 20px;
    background: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer__title {
    color: white;
}
.footer__box {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.footer__box-img {
    width: 60px;
    height: 60px;
    transition: all 300ms;
}
.footer__box-img-fourth {
    transition: all 300ms;
    background: white;
    text-align: center;
    width: 65px;
    height: 60px;
}
.footer__box-img:hover,
.footer__box-img-fourth:hover {
    transform: scale(1.3)
}


/* media request */



@media(max-width:1150px) {
    .header__nav {
        height: auto;
    }
    .nav__box {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .nav__logo {
        font-size: 15px;
        padding: 10px;
        border: 2px solid white;
    }
    .nav__list {
        gap: 20px;
    }
    .nav__list-link {
        font-size: 15px;
    }
    .description__box-img {
        width: 250px;
    }
    .description__box-text-first {
        width: 370px;
        font-size: 15px;
    }
    .skill__box {
        margin-bottom: 20px;
    }
    .skill__box-item-img {
        width: 100px;
        padding: 3px;
    }
    .skill__box-item-text {
        font-size: 18px;
        padding: 3px;
    }
    .skill__letter-box-text {
        width: 100%;
        text-align: center;
    }
}

@media(max-width:900px) {
    .skill__content-letter-box {
        display: flex;
        flex-direction: column;
    }
}

@media(max-width:730px) {
    .header__content-text {
        font-size: 15px;
        width: 175px;
        text-align: center;
    }
    .header__content-title {
        width: 400px;
        font-size: 30px;
    }
    .header__content-link {
        width: 120px;
        padding: 5px;
    }
    .header__content-link-title {
        font-size: 10px;
    }
    .description__box {
        flex-direction: column;
        gap: 30px;
    }
    .description__box-img {
        width: 150px;
    }
    .description__box-text-first {
        width: 270px;
        font-size: 10px;
    }
}

@media(max-width:510px) {
    .project__box {
        width: 300px;
    }
    .project__box-item-img {
        width: 100%;
    }
    .project__box-item-title {
        font-size: 13px;
    }
    .footer__box {
        gap: 20px;
    }
    .footer__title {
        font-size: 15px;
    }
    .footer__box-img,
    .footer__box-img-fourth {
        width: 30px;
        height: 30px;
    }
}


@media(max-width: 420px) {
    .nav__list-link {
        font-size: 12px;
    }
    .header__content-text {
        font-size: 12px;
        width: 125px;
    }
    .header__content-title {
        width: 300px;
        font-size: 20px;
    }
    .description__box-text-first {
        font-size: 8px;
    }
    .skill__letter-box {
        flex-direction: column;
    }
    .skill__letter-box-text {
        font-size: 8px;
    }
    .skill__letter-box-link {
        font-size: 13px;

    }
}
