.second {
    background-color: var(--ok);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: auto;
    height: 25vh;
}

.second h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18.0pt;
}

.second p {
    font-family: cursive;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.60;
    color: rgb(128, 128, 128);
    padding: 15px;
}

.third {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--design);
    padding: 15px;
}

.third div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.third h1 {
    color: red;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: xx-large;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 5px 3px 8px var(--design);
    animation: image-appear both;
    animation-timeline: view();
    animation-range: entry 10% cover 100vh;
}

.third p {
    color: var(--ok);
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 18px;
    margin-bottom: 42px;
    text-align: left;
    padding: 0 400px;
    animation: image-appear both;
    animation-timeline: view();
    animation-range: entry 10% cover 100vh;
}

.sa h1 {
    animation: none;
}

.sa p {
    animation: none;
}


@keyframes image-appear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.third img {
    border: 1px solid var(--common);
    border-radius: 45px;
    box-shadow: 0 0 15px 2px var(--common);
    margin-bottom: 42px;
    animation: image-appearr both;
    animation-timeline: view();
    animation-range: entry 10% cover 100vh;
}



@keyframes image-appearr {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

.fourth {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 25px;
    background-color: var(--ok);
}

.fourth div {
    padding: 40px;
}

.fourth h1 {
    color: #4a3381e8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 70px;
    margin-bottom: 12px;
    text-align: left;

}

.fourth p {
    color: var(--design);
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 44px;
    text-align: left;
    padding-right: 150px;
}

.fourth img {
    border: 1px solid var(--design);
    border-radius: 45px;
    box-shadow: 0 0 15px 2px var(--design);
    margin-bottom: 42px;
    animation: image-appears both;
    animation-timeline: view();
    animation-range: entry 5% cover 100vh;
}



@keyframes image-appears {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@media screen and (max-width:1300px) {

    .third h1 {
        font-size: 23px;
    }

    .third p {
        font-size: 13px;
        padding: 0 15px;
    }

    .third img {
        border-radius: 30px;
        width: 90vw;
    }

    .fourth {
        flex-direction: column;
        padding: 0;
    }

    .fourth img {
        width: 90vw;
        margin-bottom: -50px;
    }

    .fourth h1 {
        font-size: 50px;
        text-align: center;
    }

    .fourth p {
        font-size: 19px;
        text-align: center;
        padding-right: 0;
    }

    .fourth div {
        padding: 40px 10px;
    }

    .fourth div h1 {
        font-size: 28px;
    }
}