* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    background-color: #e2e4e7;
    color: rgb(37, 36, 36);
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.header {
    background-color: #060c21;
    color: #fff;
    padding: 2rem 0;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -2px;
    background: linear-gradient(235deg, #ffcc99, #010615, #00bcd4);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: -2px;
    background: linear-gradient(235deg, #ffcc99, #010615, #00bcd4);
    z-index: -2;
    filter: blur(15px);
}

.logo {
    font-family: 'Tourney', cursive;
    font-size: 4rem;
    font-weight: 800;
}

.section {
    font-size: 1.6rem;
    padding: 3rem 0;
}

.section__title {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0 0 2rem;
}

.section__text {
    font-size: 2.4rem;
}

.skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}

.skills__item {
    text-align: center;
    background: #060c21;
    padding: 2rem;
    position: relative;
}

.skills__item::before {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
    background: linear-gradient(235deg, #ffcc99, #010615, #00bcd4);
    z-index: -1;
}

.skills__item::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
    background: linear-gradient(235deg, #ffcc99, #010615, #00bcd4);
    z-index: -2;
    filter: blur(15px);
}

.skills__item svg {
    fill: #00bcd4;
    max-width: 45%;
}

.skills__text {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    padding: 1rem;
    left: 10px;
    right: 10px;
    bottom: 10px;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    transform: translateY(-50px);
}

.skills__item:hover .skills__text {
    transform: translateY(0);
}

.skills__item:hover .skills__text {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 899.75px) {
    .skills {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 629.75px) {
    .skills {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 424.75px) {
    .skills {
        grid-template-columns: repeat(1, 1fr);
    }
}


.works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}

.work-wrap {
    height: 20rem;
    position: relative;
}

.work-wrap:hover {
    z-index: 2;
}

.work {
    position: relative;
    width: 100%;
    display: block;
    min-height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    background: #060c21;
}

.work::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #fff;
    z-index: -1;
}

.work::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #fff;
    z-index: -2;
    filter: blur(40px);
}

.work::before,
.work::after {
    background: linear-gradient(235deg, #ffcc99, #010615, #00bcd4);
}

.work:hover {
    min-height: 30rem;
}

.work__img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
}

.work__img {
    max-width: 100%;
    opacity: 0.1;
    transition: 0.5s;
}

.work:hover .work__img {
    opacity: 1;
}

.work__content {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 90px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: 0.5s;
}

.work:hover .work__content {
    opacity: 1;
}

.work__tech {
    color: #fff;
    font-size: 2rem;
}

.work__time {
    color: #fff;
    font-size: 1.4rem;
}

.footer {
    min-height: 20rem;
}