.error-page-container {
    background-color: #000000;
    height: 100vh;
}

.error-page-container svg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -400px;
}

.message-box {
    height: 200px;
    width: 380px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: 50px;
    color: #FFF;
    font-family: Roboto;
    font-weight: 300;
}

.message-box h1 {
    font-size: 60px;
    line-height: 46px;
    margin-bottom: 40px;
}

.buttons-con .action-link-wrap {
    margin-top: 40px;
}

.buttons-con .action-link-wrap a {
    background: #FFD700;
    padding: 8px 25px;
    border-radius: 4px;
    color: #000000;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s linear;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
}

.buttons-con .action-link-wrap a:hover {
    background: #5A5C6C;
    color: #fff;
}

#Polygon-1,
#Polygon-2,
#Polygon-3,
#Polygon-4,
#Polygon-5 {
    animation: float 1s infinite ease-in-out alternate;
}

#Polygon-2 {
    animation-delay: .2s;
}

#Polygon-3 {
    animation-delay: .4s;
}

#Polygon-4 {
    animation-delay: .6s;
}

#Polygon-5 {
    animation-delay: .8s;
}

@keyframes float {
    100% {
        transform: translateY(20px);
    }
}

/* Estilos para móviles */
@media (max-width: 450px) {
    svg {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -250px;
        margin-left: -190px;
    }

    .message-box {
        top: 50%;
        left: 50%;
        margin-top: -100px;
        margin-left: -190px;
        text-align: center;
    }
}

/* Estilos para tabletas */
@media (min-width: 451px) and (max-width: 768px) {
    .error-page-container svg {
        width: 80%; /* Ajusta el ancho del SVG para tabletas */
        height: auto; /* Mantiene la proporción del SVG */
        margin-left: -40%; /* Centra el SVG */
        margin-top: -20%; /* Ajusta la posición */
    }

    .message-box {
        width: 90%; /* Cambia el ancho de la caja de mensajes */
        height: auto; /* Permite que la altura se ajuste al contenido */
        padding: 20px; /* Añade espacio alrededor del texto */
        margin-left: -45%; /* Centra la caja de mensajes */
        text-align: center; /* Centra el texto */
    }

    .message-box h1 {
        font-size: 40px; /* Reduce el tamaño de la fuente para tabletas */
        line-height: 36px; /* Ajusta el interlineado */
    }

    .buttons-con .action-link-wrap {
        margin-top: 30px; /* Reduce el margen superior */
    }

    .buttons-con .action-link-wrap a {
        padding: 6px 20px; /* Ajusta el padding de los botones */
        font-size: 12px; /* Reduce el tamaño de la fuente de los botones */
    }
}

/* Estilos para pantallas grandes */
@media (max-width: 660px) {
    .private-home-section {
        margin-left: 0px;
    }
}