@import url("/Mega-image/css/main.css");
@import url("/Mega-image/css/inscriere.css");

#main {
    background-image: url("/Mega-image/images/bg_regulament.png");
    background-size: cover;
    height: 100vh;
    width: 100%;
    background-position: top;
}

body {
    display: flex;
    justify-content: center; /* Centrare orizontală */
    align-items: center; /* Centrare verticală */
    height: auto; /* Asigură că centrăm pe întreaga înălțime a viewport-ului */
    margin: 0; /* Elimină marginile implicite ale body-ului */
}

.text_regulament {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.wrapper_regulament {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.regulament-btn {
    margin-top: -50px;
}

@media (min-width: 600px) {
    .regulament-btn {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .download-button {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (min-width: 1000px) {
    .text_regulament {
        width: 70%;
        max-width: 1200px;
        margin: 0 auto;
    }
    .regulament-btn {
        margin-top: -135px;
    }
}

@media (min-width: 1200px) {
    .customize-text {
        max-width: 800px;
        min-height: 200px;
    }
    .customize-text p {
        font-size: 2rem;
    }
}
@media (min-width: 1400px) {
    .regulament-btn {
        margin-top: -175px;
    }
}
@media (min-width: 1900px) {
    .customize-text {
        max-width: 1000px;
        min-height: 300px;
    }
    .customize-text p {
        font-size: 3rem;
    }
    .regulament-btn {
        margin-top: -215px;
    }
}


.regulament-btn,
.btn-general {
    display: inline-block;
    background-color: #004d26;
    color: white;
    padding: 4px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    text-transform: uppercase;
    font-size: 12px;
    height: 50px;
    line-height: 18px;
    border: 5px solid transparent;
    border-image: linear-gradient(45deg, #8b5e3b, #d2b48c, #8b5e3b);
    border-image-slice: 1;
}

.regulament-btn {
    width: 200px;
}
