@font-face {
    src: url("../fonts/Lato-Light.woff2");
    font-style: normal;
    font-display: swap;
    font-family: "Lato-Light";
    font-weight: 300;
}
@font-face {
    src: url("../fonts/Lato-Regular.woff2");
    font-style: normal;
    font-display: swap;
    font-family: "Lato-Regular";
    font-weight: 400;
}
@font-face {
    src: url("../fonts/Lato-Bold.woff2");
    font-style: normal;
    font-display: swap;
    font-family: "Lato-Bold";
    font-weight: 700;
}
body {
    font-family: "Lato-Regular";
    font-weight: 400;
    font-size: calc(12px + 6 * (100vw - 1280px) / 640);
    line-height: calc(14px + 7 * (100vw - 1280px) / 640);
}
.container {
    padding: 0 calc(10.6666666667px + 5.3333333333 * (100vw - 1280px) / 640);
    max-width: calc(800px + 400 * (100vw - 1280px) / 640);
    margin: 0 auto;
}
.header {
    padding: calc(16px + 8 * (100vw - 1280px) / 640) calc(6.6666666667px + 3.3333333333 * (100vw - 1280px) / 640);
    margin-top: calc(20px + 10 * (100vw - 1280px) / 640);
    background-color: #000;
}
.header__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.logo svg {
    width: calc(26.6666666667px + 13.3333333333 * (100vw - 1280px) / 640);
    height: calc(26.6666666667px + 13.3333333333 * (100vw - 1280px) / 640);
}
.logo svg path {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.menu__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.menu__item + .menu__item {
    margin-left: calc(20px + 10 * (100vw - 1280px) / 640);
}
.menu__link {
    padding: calc(4px + 2 * (100vw - 1280px) / 640);
    color: white;
    font-size: calc(12px + 6 * (100vw - 1280px) / 640);
    line-height: calc(14px + 7 * (100vw - 1280px) / 640);
    font-family: "Lato-Bold";
    font-weight: 700;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: calc(1.3333333333px + 0.6666666667 * (100vw - 1280px) / 640);
}
.menu__link:hover {
    background-color: orange;
}
.contact__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.contact__item + .contact__item {
    margin-left: calc(20px + 10 * (100vw - 1280px) / 640);
}
.contact__link svg {
    width: calc(20px + 10 * (100vw - 1280px) / 640);
    height: calc(20px + 10 * (100vw - 1280px) / 640);
}
.contact__link svg path {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.contact__link:hover svg path {
    fill: #ffa500;
}
.title {
    font-family: "Lato-Bold";
    margin-bottom: calc(26.6666666667px + 13.3333333333 * (100vw - 1280px) / 640);
    font-size: calc(32px + 16 * (100vw - 1280px) / 640);
    line-height: calc(36.6666666667px + 18.3333333333 * (100vw - 1280px) / 640);
}
.footer {
    padding: calc(16px + 8 * (100vw - 1280px) / 640) calc(6.6666666667px + 3.3333333333 * (100vw - 1280px) / 640);
    background-color: #000;
}
.footer__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.footer .logo {
    cursor: pointer;
    background-color: transparent;
    border: none;
}
.footer .logo:hover svg path {
    fill: orange;
}
*,
*::before *::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
}
body {
    margin: 0;
    font-weight: 400;
    background-color: #fff;
}
ul,
ol,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}
p {
    margin: 0;
}
h1,
h2,
h3,
h4,
h6 {
    margin: 0;
    padding: 0;
}
.about {
    margin-top: calc(66.6666666667px + 33.3333333333 * (100vw - 1280px) / 640);
}
.about__wrapper {
    width: calc(666.6666666667px + 333.3333333333 * (100vw - 1280px) / 640);
    margin: 0 auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.about__img {
    width: calc(220px + 110 * (100vw - 1280px) / 640);
    height: calc(220px + 110 * (100vw - 1280px) / 640);
}
.about__img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.about__content {
    height: calc(266.6666666667px + 133.3333333333 * (100vw - 1280px) / 640);
}
.about__list {
    list-style: initial;
}
.about__item {
    list-style: initial;
}
.about__item + .about__item {
    margin-top: calc(12px + 6 * (100vw - 1280px) / 640);
}
.skills {
    padding: calc(40px + 20 * (100vw - 1280px) / 640) 0 calc(26.6666666667px + 13.3333333333 * (100vw - 1280px) / 640) 0;
    margin-top: calc(66.6666666667px + 33.3333333333 * (100vw - 1280px) / 640);
}
.skills__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    width: calc(666.6666666667px + 333.3333333333 * (100vw - 1280px) / 640);
    margin: 0 auto;
}
.skills__content {
    width: calc(266.6666666667px + 133.3333333333 * (100vw - 1280px) / 640);
    margin-left: auto;
}
.skills__list {
    list-style: initial;
}
.skills__item {
    list-style: initial;
    color: black;
    font-family: "Lato-Bold";
    font-weight: 700;
}
.skills__item + .skills__item {
    margin-top: calc(12px + 6 * (100vw - 1280px) / 640);
}
.skills__item-description {
    text-transform: none;
    font-family: "Lato-Regular";
    font-weight: 400;
}
.skills__title {
    color: black;
}
.portfolio {
    padding: calc(40px + 20 * (100vw - 1280px) / 640) 0;
    background-color: #96f2ea;
    margin-top: calc(66.6666666667px + 33.3333333333 * (100vw - 1280px) / 640);
}
.portfolio__list {
    display: -ms-grid;
    display: grid;
    grid-gap: calc(26.6666666667px + 13.3333333333 * (100vw - 1280px) / 640) calc(26.6666666667px + 13.3333333333 * (100vw - 1280px) / 640);
    -ms-grid-columns: (1fr) [3];
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: (calc(246.6666666667px + 123.3333333333 * (100vw - 1280px) / 640)) [auto];
    grid-template-rows: repeat(auto, calc(246.6666666667px + 123.3333333333 * (100vw - 1280px) / 640));
}
.portfolio__item {
    width: calc(246.6666666667px + 123.3333333333 * (100vw - 1280px) / 640);
    height: calc(246.6666666667px + 123.3333333333 * (100vw - 1280px) / 640);
}
.portfolio__item:hover .portfolio__link::before {
    height: 0;
}
.portfolio__item:hover .curtain {
    z-index: -100;
    color: transparent;
}
.portfolio__link {
    position: relative;
    cursor: pointer;
    margin: 0 auto;
    background-color: transparent;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
}
.portfolio__link::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 80%;
    background-color: #0c0019;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.portfolio__link .curtain {
    width: calc(40px + 20 * (100vw - 1280px) / 640);
    height: calc(40px + 20 * (100vw - 1280px) / 640);
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.portfolio__link img {
    -o-object-fit: cover;
    object-fit: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
.portfolio__title {
    color: white;
}
.skills__img {
    width: calc(220px + 110 * (100vw - 1280px) / 640);
    height: calc(220px + 110 * (100vw - 1280px) / 640);
}
.skills__img img{ 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .header {
        padding: 24px 10px;
        background-color: #000;
    }
    .header .logo {
        display: none;
    }
    .header__wrapper {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
    }
    .menu {
        margin-bottom: 24px;
    }
    .menu__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .menu__item + .menu__item {
        margin-left: 30px;
    }
    .menu__link {
        font-size: 18px;
        line-height: 21px;
    }
    .contact__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .contact__item + .contact__item {
        margin-left: 30px;
    }
    .contact__link svg {
        width: 30px;
        height: 30px;
    }
    .title {
        font-size: 38px;
        line-height: 45px;
        text-align: center;
        margin-bottom: 40px;
    }
    .about__wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }
    .about__img {
        width: unset;
        height: unset;
        max-width: 530px;
        max-height: 400px;
        margin-bottom: 44px;
    }
    .skills {
        margin-top: 60px;
        padding: 0;
    }
    .skills__content {
        width: unset;
        margin-left: 0;
        max-width: 400px;
    }
    .skills__list {
        list-style: none;
    }
    .skills__item {
        list-style: none;
        font-size: 18px;
        line-height: 21px;
    }
    .skills__item + .skills__item {
        margin-top: 18px;
    }
    .skills__img {
        display: none;
    }
    .skills__wrapper {
        width: unset;
    }
    .portfolio {
        margin-top: 60px;
        padding: 60px 0;
    }
    .portfolio__list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }
    .portfolio__item {
        max-width: unset;
        width: unset;
    }
    .portfolio__link .curtain {
        width: 60px;
        height: 60px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    .portfolio__link::before {
        position: absolute;
        border-radius: 16px !important;
        content: "";
        width: 100%;
        height: 80%;
        background-color: #0c0019;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }
    .portfolio__link img {
        width: 100%;
        height: auto;
    }
    /* .portfolio__item img {
        border-radius: 16px !important;
    } */
    .footer {
        padding: 24px 10px;
        background-color: #000;
    }
    .footer .logo svg {
        width: 40px;
        height: 40px;
    }
}