.OA {
    text-align: center;
    background-size: cover;
    color: #ffffff;
    background-color: #B4B8C5;
    padding-bottom: 20px;
    padding-top: 20px;
}

.OA h1 {
    font-size: 60px
}

.OA p {
    font-size: 25px
}

.main1 {
    background-color: #d8def0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0;
}

#part1 {
    width: 300px;
    height: 450px;
    border-radius: 10px 0 0 10px;
    background-color: #8D818C;
    /* background-color: #4c4b4c; */
}

#part2 {
    width: 750px;
    height: 450px;
    background-size: cover;
    background-position: center;
}

#part3 {
    width: 200px;
    height: 450px;
    border-radius: 0 10px 10px 0;
    background-color: #A5A299;
}

#overlay {
    height: 100%;
    width: 100%;
    background-color: rgba(68, 64, 64, 0.098);
}

#text-name {
    position: absolute;
    width: 350px;
    margin-top: 100px;
    margin-right: 45%;
}

#small-image {
    height: 15rem;
    width: 15rem;
    margin-top: 12rem;
    margin-left: 55%;
    position: absolute;
    transform: translate(0, 0);
    background-size: cover;
    background-position: center;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
}

#text-name h1 {
    font-size: 80px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    letter-spacing: 3px;
    font-weight: 700;
    color: aliceblue;
    line-height: 85px;
}

#part3 .vertical-scroll {
    position: relative;
    height: 450px;
    overflow: hidden;
    z-index: 1;
}

#part3 .vertical-scroll h1 {
    position: absolute;
    display: inline-block;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(90deg);
    animation: scroll-vertical 10s linear infinite;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 70px;
    letter-spacing: 5px;
    font-weight: 800px;
    -webkit-text-stroke-color: #fff;
    -webkit-text-stroke-width: 2px;
    color: transparent;
    margin: 0;
}

.a {
    font-size: 20px;
    line-height: 18px;
    color: #fff;
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@media (max-width: 1200px) {
    .main1 {
        padding: 20px 0;
    }
    #part2 {
        border-radius: 10px;
        width: 100%;
        margin: 10px;
    }
    #part1,
    #part3 {
        display: none;
    }
    #text-name {
        margin-right: 0;
        transform: translateY(25%);
        text-align: center;
        width: 70%;
    }
    #text-name h1 {
        font-size: 50px;
        line-height: 55px;
        font-weight: 600;
        letter-spacing: 2px;
    }
    #small-image {
        position: static;
        /* margin: 20px auto 0 auto; */
    }
}

@media (max-width: 768px) {
    .OA {
        padding-bottom: 15px;
        padding-top: 15px;
    }
    .OA h1 {
        font-size: 30px;
    }
    .OA p {
        font-size: 15px;
    }
    #text-name h1 {
        font-size: 36px;
        line-height: 40px;
    }
    #small-image {
        display: none;
    }
    #part2 {
        height: auto;
        min-height: 300px;
    }
    .main1 {
        padding: 20px 0;
    }
    .a {
        font-size: 15px;
        line-height: 5px;
    }
    #text-name li {
        list-style: none;
    }
}