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

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 72px;
    background-color: #fafafa;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background-color: #8cc34b;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

header .container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 90px;
}

.left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ava {
    height: 62px;
    width: 62px;
    border-radius: 50%;
    background-color: #f6f6f6;
    border: 1px solid #dbdbdb;
    background-image: url(images/scrubs.png);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.name {
    color: white;
    font-size: 21px;
    font-weight: 500;
    font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.2;
}

.email {
    font-size: 14px;
    color: white;
    opacity: 0.85;
    font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
    margin-top: 4px;
    text-decoration: none;
}

.email:hover {
    text-decoration: underline;
}

.right {
    display: flex;
    align-items: center;
}

.pic {
    display: flex;
    gap: 12px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.p {
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.git {
    background-image: url(images/git.png);
    border-radius: 6px;
}

.sk {
    background-image: url(images/sk.png);
    border-radius: 6px;
}

.vk {
    background-image: url(images/vk.png);
    border-radius: 6px;
}

.p:hover {
    transform: scale(1.08);
}

.future__pupil {
    margin: 0 auto;
    padding: 60px 20px;
}

.pupil__container {
    max-width: 992px;
    margin: 0 auto;
}

.pupil__title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: 700;
}

.pupil__text {
    text-align: center;
    margin-bottom: 45px;
    font-size: 21px;
    color: #727272;
}

.pupil__list {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.pupil__list-item {
    list-style: none;
    flex: 1;
    display: flex;
    gap: 20px;
}

.pupil__photo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

.hello {
    height: 140px;
    width: 137px;
    background-image: url(images/hello.png);
}

.experience {
    height: 140px;
    width: 129px;
    background-image: url(images/experience.png);
}

.pupil__info {
    flex: 1;
}

.pupil__list-item__title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}

.pupil__list-item__text {
    font-size: 13px;
    color: #727272;
    line-height: 1.5;
}

.pupil__list-item__text a {
    color: #03a9f4;
    text-decoration: none;
}

.pupil__list-item__text a:hover {
    text-decoration: underline;
}

.technologies {
    background: #f7f5ef;
    padding: 74px 20px 80px;
}

.technologies__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.technologies__heading {
    text-align: center;
    margin-bottom: 42px;
}

.technologies__title {
    font-size: 42px;
    font-weight: 400;
    color: #3f3c39;
    margin-bottom: 10px;
    font-family: "Times New Roman", Times, serif;
}

.technologies__subtitle {
    font-size: 16px;
    color: #918a82;
    font-family: "Times New Roman", Times, serif;
}

.technologies__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.tech-card {
    width: 100%;
    max-width: 320px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.tech-card__image-wrapper {
    position: relative;
    height: 232px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.js-bg {
    background-image: url(images/js.png);
}

.jquery-bg {
    background-image: url(images/jquery.png);
}

.ver-bg {
    background-image: url(images/ver.png);
}

.pk-bg {
    background-image: url(images/pk.png);
}

.butgen-bg {
    background-image: url(images/but\ gen.png);
}

.css-bg {
    background-image: url(images/css.png);
}

.tech-card__title {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
    color: rgba(41, 38, 36, 0.88);
    font-family: "Times New Roman", Times, serif;
}

.tech-card__title--colored {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 14px 22px 18px;
    color: #8cc84b;
    background: rgba(255, 193, 97, 0.9);
    border-top: 4px solid #7fd25b;
}

.tech-card__content {
    padding: 10px 18px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-card__description {
    font-size: 13px;
    line-height: 1.35;
    color: #6a655e;
    margin-bottom: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

.tech-card__meta {
    font-size: 12px;
    color: #b3aea6;
    margin-top: auto;
    font-family: Arial, Helvetica, sans-serif;
}

.tech-card__status {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px 18px;
    font-size: 18px;
    line-height: 1.2;
    color: #8c877f;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

.tech-card__status--checked {
    color: #95c85a;
    font-weight: 700;
}

.tech-card__checkbox {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #95c85a;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #212121;
    height: 72px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer__text {
    color: #656565;
    font-size: 14px;
    text-align: center;
    padding: 0 15px;
    line-height: 1.4;
    font-family: system-ui, 'Segoe UI', sans-serif;
}

@media (max-width: 992px) {
    .pupil__container {
        max-width: 90%;
    }
    
    .pupil__list {
        flex-direction: column;
        gap: 40px;
    }
    
    .pupil__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .pupil__photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .pupil__list-item__title {
        text-align: center;
    }
    
    header .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 10px;
    }
    
    .left {
        width: 100%;
        justify-content: center;
    }
    
    .right {
        width: 100%;
        justify-content: center;
    }
    
    .name {
        font-size: 18px;
    }
    
    .technologies__title {
        font-size: 32px;
    }
    
    .pupil__title {
        font-size: 32px;
    }
    
    .pupil__text {
        font-size: 18px;
    }
}