/*Estilos Globales*/
*, *::before, *::after {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

h1 {
    font-family: "Nunito", sans-serif;
    font-size: 32pts;
    color: #785B81;
}

h2 {
    font-family: "Nunito", sans-serif;
    font-size: 15pts;
    color: #785B81;
}

h3 {
    font-family: "Nunito", sans-serif;
    font-size: 15pts;
    color: #785B81;
}

/*Header*/
header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    background-size: cover;
    background-position: center;
    justify-content: space-around;
    padding: 0 16px;
}

.Header_Container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.Banner_Container {
    margin-top: 5px;
}

.Banner_Img {
    width: 150px;
    height: auto;
}

li {
    list-style-type: none;
}

.Header_Nav {
    width: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.Header_Button {
    background-color: transparent;
    border: none;
    border-bottom: solid 2px black;
    margin-left: 0;
    transition: border-color 0.3s ease, color 0.3s ease;
    padding-bottom: 5px;
}

.Header_Button:hover {
    border-bottom: solid 2px #CAA3D6;
}

.Header_Button_Text {
    margin-left: 0;
    font-size: 15pt;
}

.category-form,
.event-form {
    margin-left: 0;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.category-select,
.event-select {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid black;
    max-width: 300px;
    color: black;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
    outline: none;
    text-align: center;
}

.category-select option[disabled],
.event-select option[disabled] {
    color: black;
}

.category-select:hover,
.event-select:hover {
    border-bottom: #CAA3D6 solid 2px;
}

/*Footer*/
footer {
    width: 100%;
    min-height: 100px;
    height: auto;
    border-top: 2px solid #785B81;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Footer_Content {
    width: min(850px, 100%);
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    justify-content: center;
}

.Footer_Contact {
    display: flex;
    flex-direction: column;
    justify-items: center;
    background-color: white;
    border-right: 1px #CAA3D6 solid;
    text-align: center;
    padding: 0 15px 0px 0;
}

.Footer_Content_Contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    text-align: center;
    margin-right: 15px;
}

.Footer_Content_Phone,
.Footer_Content_Whatsapp {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 5px;
}

.Footer_Contact_Text {
    font-size: 11pt;
}

.fa-whatsapp {
    color: #2cd54d;
    font-size: 20pt;
}

.Footer_Redirects {
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 15px 30px 0px 30px;
    text-decoration: none;
    font-size: 15pts;
    margin-bottom: 10px;
}

.Footer_Redirects_Text {
    font-size: 15pt;
    color: #785B81;
    margin-bottom: 5px;
}

.Social_Media {
    display: flex;
    text-align: center;
    flex-direction: column;
    background-color: transparent;
    border-left: 1px #CAA3D6 solid;
    padding-left: 30px;
}

.Social_Media_Subtitle {
    margin-top: 5px;
}

.fa-square-facebook {
    color: #415ca0;
    font-size: 20pt;
}

.Footer_Section2 {
    width: min(850px, 100%);
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.Copyrigth {
    margin-right: 200px;
    font-size: 11pt;
    margin-left: 280px;
}

.fa-user,
.fa-right-from-bracket {
    color: #A3D6A5;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 850px) {
    .Footer_Content, .Footer_Section2 {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .Footer_Contact, .Social_Media {
        padding: 10px;
        border: none;
    }

    .Footer_Redirects {
        padding: 15px 15px 0px 15px;
    }

    .Copyrigth {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 600px) {
    header{
        flex-direction: column;
        height: auto;
    }
    .Header_Nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }
    .Header_Nav > * {
        min-width: 0;
        max-width: 100%;
    }
    .Header_Button{
        padding: 2px;
    }

    .Header_Button_Text {
        font-size: 12pt;
        color: white;
        width: 100%;
        min-width: 0;
    }

    .Header_Button:hover{
        border: none;
        cursor: pointer;
    }

    .category-form, .event-form {
        width: calc(50vw - 20px);
        max-width: calc(50vw - 20px);
        min-width: 0;
        flex-direction: column;
    }

    .category-select, .event-select {
        font-size: 14px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .category-select:hover, .event-select:hover{
        border: none;
        cursor: pointer;
    }
    .Footer_Content, .Footer_Section2 {
        padding: 0 10px;
    }

    .Banner_Img {
        width: 100px;
    }
}

@media (max-width: 430px) {
    .Header_Nav {
        gap: 6px 8px;
    }

    .Header_Button_Text,
    .category-select,
    .event-select {
        font-size: 12px;
    }

    .category-select,
    .event-select {
        padding-inline: 2px;
    }

    .fa-user, .fa-right-from-bracket {
        font-size: 16px;
    }

    .fa-square-facebook, .fa-whatsapp {
        font-size: 16pt;
    }

    .Footer_Contact_Text {
        font-size: 9pt;
    }

    .Footer_Redirects_Text {
        font-size: 12pt;
    }

    h1 {
        font-size: 24pts;
    }

    h2, h3 {
        font-size: 12pts;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .Header_Container {
        flex-direction: column;
        align-items: center;
    }

    .Banner_Container {
        margin-top: 10px;
    }

    .Banner_Img {
        width: 100px;
    }

    
    .Header_Button {
        width: 100%;
    }
}
/* Controles administrativos enviados mediante POST. */
.delete-form {
    display: inline;
}

.delete-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
