.about {
    background: url(../images/about-bg.jpg);
}

.ab1 {
    position: relative;
}

.ab1-bg {
    position: absolute;
    top: 10%; left: 50%;
    transform: translate(-50%, 0);
    opacity: .7;
}

.ab1-flow-wrapper {
    position: absolute;
    top: 35%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.ab1-flow {
    color: var(--main-color);
    font-size: 260px;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: uppercase;
    animation: flow 100s linear infinite;
    user-select: none;
    opacity: .05;
    z-index: 1;
}

.ab-entre {
    position: relative;
    width: 100%;
}

.ab-entre-box-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem 3rem;
    margin-top: 5rem;
}

.ab-entre-box-title h5 {
    color: #222;
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 10px;
}

.ab-entre-box h5 span {
    color: #ddd;
    font-size: 28px;
}

.ab-entre-box h5 span b {
    color: var(--main-color);
}

.ab-entre-box p {
    color: #555;
    font-size: 17px;
    line-height: 1.5;
    margin-top: 1rem;
}

.ab-eb-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.ab-eb-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ab-eb-3 {
    position: relative;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: var(--main-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ab-eb-3 h5 {
    color: #fff;
    font-size: 40px;
}

.ab-eb-3::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 1px dashed #bbb;
}

.ab-eb-3::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px dashed #bbb;
}

.ab-2 {
    position: absolute;
    width: 400px;
    height: 4px;
    background-color: var(--main-color);
}

.ab-eb-4 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ab-eb-5 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.ab1-box-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 12rem;
}

.ab1-box {
    position: relative;
    width: 500px;
    padding: 50px;
    padding-top: 120px;
    border: 20px solid #c2996b20;
}

.ab1-box-title {
    position: relative;
    position: absolute;
    top: -85px; left: 50%;
    transform: translate(-50%, 0);
    width: 150px;
    height: 150px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--main-color);
    letter-spacing: 0;
}

.ab1-box-title::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px dashed #ddd;
}

.ab1-box-title::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px dashed #ddd;
}

.ab1-box p {
    color: #333;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.65;
    text-align: center;
}

.ab1-box ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ab1-box ul li {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    list-style: decimal;
    list-style-position: inside;
}

.ab1-rule {
    position: relative;
    width: 1050px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 20px solid #c2996b20;
    background-color: #fff;
    margin-top: 5rem;
    z-index: 2;
}

.ab1-rule-title {
    position: relative;
    position: absolute;
    top: -60px; left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    padding: 20px 50px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    background-color: #000;
    margin-bottom: 1rem;
}

.ab1-rule-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translate(-50%, 0);
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
    background-color: #000;
}

.ab1-rule li {
    color: #222;
    padding: 25px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ab1-rule li:nth-child(2n-1) {
    background-color: #c2996b20;
}

.ab1-rule li span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
}


.ab2 {
    background: url(../images/ab2-bg.jpg);
}

.h-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.hw-title {
    position: sticky;
    top: 120px;
    width: unset;
    height: fit-content;
    margin-bottom: 0;
}

.hw-title p {
    color: var(--main-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hw-title h5 {
    color: #222;
    font-size: 45px;
    line-height: 1.35;
}

.h-box-wrapper {
    position: relative;
    width: 650px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.h-box-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 126px;
    width: 1px;
    height: 100%;
    background-color: #ddd;
    z-index: 1;
}

.h-box {
    width: 100%;
    padding-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    border-bottom: 1px dashed #eee;
}

.h-box:last-child {
    border: none;
}

.h-box-year {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.h-box-year h5 {
    width: 70px;
    color: #222;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.h-box-year span {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    border-radius: 50%;
    background-color: #ddd;
    z-index: 2;
}

.h-box-year span::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #fff;
}

.h-box-info {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
}

.h-box-info p {
    color: #888;
    font-size: 18px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.h-box-info p span {
    color: #333;
    width: 30px;
    font-weight: 600;
}


/*==================================================*/
@media (max-width: 1350px) {
    .ab1-bg {
        width: 90%;
    }
    
    .ab-entre-image {
        position: static;
        width: 100%;
        height: 500px;
        background-attachment: fixed;
        background-position: right;
        margin-bottom: 2rem;
    }

    .ab-entre-box-wrapper {
        gap: 4rem;
    }
}


@media (max-width: 1150px) {
    .ab1-flow-wrapper {
        display: none;
    }
    
    .ab-entre-box-title h5 {
        font-size: 22px;
    }

    .ab-entre-box h5 span {
        font-size: 22px;
    }

    .ab-entre-box p {
        font-size: 15px;
    }

    .ab-eb-3 {
        width: 200px;
        height: 200px;
    }

    .ab-eb-3 h5 {
        font-size: 22px;
    }

    .ab-eb-3::before {
        width: 230px;
        height: 230px;
    }
    
    .ab-eb-3::after {
        width: 260px;
        height: 260px;
    }

    .ab1-box-wrapper {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ab1-box {
        width: 100%;
        padding: 40px;
        padding-top: 100px;
        border: 10px solid #c2996b20;
    }

    .ab1-rule {
        width: 100%;
        border: 10px solid #c2996b20;
    }

    .h-wrapper {
        flex-direction: column;
    }

    .hw-title {
        position: static;
    }
    
    .h-box-wrapper {
        width: 100%;
        margin-top: 5rem;
    }
}


@media (max-width: 1000px) {
    .ab1-box-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
        margin-top: 8rem;
    }

    .ab1-box-title,
    .ab1-rule-title {
        top: -30px;
        width: 260px;
        height: auto;
        padding: 10px 20px;
        font-size: 24px;
        border-radius: 5px;
        background-color: var(--main-color);
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .1);
    }
    
    .ab1-box-title::before {
        display: none;
    }

    .ab1-box-title::after {
        top: unset;
        bottom: -8px; left: 50%;
        transform: translate(-50%, 0) rotate(45deg);
        width: 16px;
        height: 16px;
        border: none;
        border-radius: 0;
        background-color: var(--main-color);
    }

    .ab1-box {
        padding: 40px;
        padding-top: 60px;
    }
    
    .ab1-rule {
        padding: 40px;
        margin-top: 3rem;
    }
    
    .ab1-rule-title::after {
        top: unset;
        bottom: -8px; left: 50%;
        transform: translate(-50%, 0) rotate(45deg);
        width: 16px;
        height: 16px;
        border-radius: 0;
        background-color: var(--main-color);
    }

    .ab1-rule li {
        padding: 20px;
    }
}


@media (max-width: 850px) {
    .ab1-bg {
        top: 12%;
    }
    
    .ab-entre-box-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        margin-top: 3rem;
    }

    .ab-eb-2 {
        margin-bottom: 2rem;
    }

    .ab1-rule {
        padding: 40px 20px;
    }
}


@media (max-width: 768px) {
    .ab1-box-title,
    .ab1-rule-title {
        width: 220px;
        font-size: 18px;
        border-radius: 3px;
    }
    
    .ab1-rule {
        gap: 5px;
    }

    .ab1-rule li {
        padding: 18px;
        font-size: 18px;
    }

    .ab1-box-title::after,
    .ab1-rule-title::after {
        bottom: -6px;
        width: 12px;
        height: 12px;
    }
}


@media (max-width: 650px) {
    .ab-entre-box-wrapper {
        gap: 2rem;
    }

    .ab-entre-box-title h5 {
        font-size: 18px;
    }

    .ab-entre-box p {
        font-size: 13px;
        line-height: 1.6;
    }

    .ab-eb-3 h5 {
        font-size: 18px;
    }
}


@media (max-width: 550px) {
    .ab-eb-2 {
        margin-bottom: 1rem;
    }
    
    .ab-eb-3 {
        width: 150px;
        height: 150px;
    }

    .ab-eb-3 h5 {
        font-size: 18px;
    }

    .ab-eb-3::before {
        width: 175px;
        height: 175px;
    }
    
    .ab-eb-3::after {
        width: 200px;
        height: 200px;
    }
    
    .ab1-box-wrapper {
        margin-top: 5rem;
    }
    
    .ab1-box-title,
    .ab1-rule-title {
        top: -22px;
        width: 160px;
        font-size: 16px;
        box-shadow: 0 8px 8px 0 rgba(0, 0, 0, .1);
    }

    .ab1-box {
        padding: 30px;
        padding-top: 40px;
        border: 5px solid #c2996b20;
    }
    
    .ab1-box p {
        font-size: 20px;
        font-weight: 700;
    }
    
    .ab1-box p br {
        display: none;
    }

    .ab1-box ul li {
        font-size: 16px;
    }
    
    .ab1-rule {
        padding: 30px 10px;
        border: 5px solid #c2996b20;
    }
    
    .ab1-rule li {
        font-size: 14px;
        font-weight: 500;
    }
    
    .ab1-rule li span {
        font-size: 14px;
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        border-radius: 3px;
    }
    
    .hw-title {
        text-align: center;
    }
    
    .hw-title h5 {
        font-size: 36px;
    }
    
    .h-box {
        gap: 2rem;
    }

    .h-box-year {
        gap: 1rem;
    }

    .h-box-year h5 {
        width: 60px;
        font-size: 20px;
    }

    .h-box-wrapper {
        margin-top: 4rem;
    }
    
    .h-box-wrapper::after {
        left: 83px;
    }
    
    .h-box-info p {
        font-size: 15px;
    }
}