.containermaintennance {
    width: 85%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background-color: #302e2e3b;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 100px;
}

.containermaintennance h2,
.containermaintennance h3 {
    color: #00ffd5;
    margin-bottom: 0px;
    font-size: 25px;
    font-weight: 700;
}

.containermaintennance p {
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 24px;
}



.containermaintennance ul {
    list-style-type: none;
    padding-left: 0;
}

.containermaintennance ul,
.containermaintennance li {
    font-size: 20px;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;

}

.containermaintennance li::before {
    content: "\2714";
    color: #00ffd5;
    font-size: 1.5rem;

}

.containermaintennance ul ::before {
    content: "\2714";
    color: #00ffd5;
    font-size: 1.5rem;

}



.containermaintennance img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.tip {
    background-color: #8383832c;
    padding: 15px;
    border-left: 6px solid #64f8e0;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
}

.tip p {
    margin: 0;
    font-size: 20px;
    font-style: italic;
    color: #ffffff;
}

.sub-section {
    background-color: #8383832c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 20px;
}

.sub-section h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #00ffd5;
}



#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
    width: 50px;
    height: 50px;
    background-color: hsl(229, 100%, 50%);
    color: hsl(0, 0%, 100%);
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#back-to-top-btn i {
    display: flex;
    justify-content: center;
    align-items: center;
}

#back-to-top-btn:hover {
    background-color: hsl(231, 84%, 38%);
}


/* แท็บเล็ต */
@media (max-width: 992px) {
    .containermaintennance {
        padding: 20px;
        margin-top: 150px;
    }

    .containermaintennance h2,
    .containermaintennance h3 {
        font-size: 20px;
    }

    .containermaintennance p,
    .containermaintennance li {
        font-size: 18px;
    }

    .pornhub img {
        width: 100%;
        height: auto;
    }

    #back-to-top-btn {
        font-size: 20px;
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }


}

/* มือถือ */
@media (max-width: 576px) {
    .containermaintennance {
        padding: 16px;
        margin-top: 100px;
    }

    .containermaintennance h2,
    .containermaintennance h3 {
        font-size: 18px;
    }

    .containermaintennance p,
    .containermaintennance li {
        font-size: 11px;
    }

    .pornhub img {
        width: 100%;
        height: auto;
    }

    #back-to-top-btn {
        font-size: 16px;
        width: 35px;
        height: 35px;
        bottom: 10px;
        right: 10px;
    }


}


/* Animations */
.btnEntrance {
    animation: btnEntrance 0.5s both;
}


@keyframes btnEntrance {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.btnExit {
    animation: btnExit 0.25s both;
}

@keyframes btnExit {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
}