body {
    font-weight: 500;
    font-family: 'RF Dewi Extended';
}

.portal-glow {
    position: absolute;
    top: 70%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(120, 200, 255, 0.8), transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: 3;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background-color: transparent;
    color: rgb(255, 255, 255);
    padding: 12px 0;
    margin-top: -100px;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

img.portal-img {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: top;
}

.three-columns {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.column {
    flex: 1;
    padding: 60px 60px;
    text-align: center;
    box-sizing: border-box;
    background-size: cover;
    /* чтобы картинка растягивалась */
    background-position: center;
    /* чтобы центрировалась */
    background-repeat: no-repeat;
    /* чтобы не повторялась */
    color: white;
    /* для тёмных фонов */
}

.light {
    background-color: #ffffff;
    color: black;
    padding: 40px 30px;
    /* стандартный отступ */
}

.dark {
    color: white;
    padding: 50px 50px;
    /* увеличенный отступ */
}

.icon {
    max-width: 50px;
}

.image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

/* Мобильная адаптация */
@media (max-width: 900px) {
    .three-columns {
        flex-direction: column;
    }
}

.icon {
    max-width: 50px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.icon:hover {
    transform: rotate(15deg);
    transition: transform 0.3s;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 1280px) {
    .marquee-content {
        font-size: 40px;
        align-content: center;
    }

    .marquee {
        min-height: 15vh;
        align-items: center;
        align-content: center;
        align-self: center;
    }

    h2 {
        font-size: 26px;
    }

    p {
        font-size: 24px;
    }

    div.t1 {
        font-weight: 500;
        font-family: 'RF Dewi Extended';
    }

    div.desc {
        align-items: center;
        justify-content: center;
        align-content: center;
    }

    div.desc-text {
        text-align: center;
    }

    img.photo {
        display: block;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: top;
    }

    button.about-me {
        border-width: 3px;
        font-weight: 500;
        font-family: 'RF Dewi Extended';
        font-size: 20px;
        height: auto;
        margin-bottom: 30px;
    }

    .phone-gap {
        width: 1px;
        height: 1px;
        margin: 55px;
    }
}

@media (min-width: 1280px) {
    .marquee-content {
        font-size: 26px;
        align-content: center;
    }

    img.photo {
        object-fit: cover;
        object-position: 50% 50%;
        max-width: 952px;
        max-height: 703px;
    }

    div.desc {
        overflow: hidden;
        display: flex;
        align-items: center;
        margin-top: 4.6vh;
    }

    div.desc div.desc-text {
        min-width: 50%;
        max-width: 50%;
        line-height: 1.7em;
        align-items: center;
    }

    div.desc-center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-gap {
        width: 0px;
        height: 0px;
        margin: 0;
    }
}