@font-face {
  font-family: TWBOZ;
  src: url(../Fonts/TWBOZ.otf);
}

@font-face {
  font-family: BaseZelda;
  src: url(../Fonts/BaseZelda.otf);
}

:root {
    --font-border: 
        -2px -2px 0 #00000080,
        2px -2px 0 #00000080,
        -2px 2px 0 #00000080,
        2px 2px 0 #00000080,
        -3px 0px 0 #00000080,
        3px 0px 0 #00000080,
        0px -3px 0 #00000080,
        0px 3px 0 #00000080;
        
    --custom-white: rgba(255, 255, 255, 0.9);
    --hyrule-gold: #be984c;
    --green-bg: rgb(9, 46, 26);
}


#contact_section{
    display: flex !important;
    width: 100%;
    height: 100vh;
    gap: 20px;
    padding: 15vh 50px 7.5vh 50px;
}

#contact_section article{
    border-radius: 10px;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: var(--green-bg);
    border: solid 2px var(--hyrule-gold);
}

#contact_section article.formContainer{
    display: flex;
    align-items: stretch;
}

#contact_section h1{
    color: var(--custom-white);
    font-family: TWBOZ, Courier, monospace !important; 
    font-size: 25px;
}

#contact_section form{
    width: 100%;
    height: 100%;
}

#contact_section form hr{
    color: var(--hyrule-gold);
}

#contact_section form table{
    width: 100%;
    height: 100%;
}

#contact_section form table tbody{
    width: 100%;
    height: 100%;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

#contact_section form tr{
    width: 90%;
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

#contact_section form tr.buttons{
    width: 100%;
}

#contact_section form tr td{
    width: 50%;
}

#contact_section form tr td h1{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.308);
    border-radius: 6px;
    letter-spacing: 1px;
}

#contact_section form tr td > *:not(h1){
    border-radius: 6px;
    color: var(--custom-white);
    background-color: rgba(0, 0, 0, 0.178);
    border: solid 1px var(--hyrule-gold);
    box-shadow: 0 0 0 0 transparent;
    transition: all 0.3s;
    padding: 10px;
}

#contact_section form tr td > *:hover:not(h1){
    color: white;
    background-color: rgba(0, 0, 0, 0.541);
    border: solid 1px goldenrod;
    box-shadow: 0 0 0 1px goldenrod;
}

#contact_section form tr td > *:focus{
    color: white;
    background-color: rgba(0, 0, 0, 0.541);
    border: solid 1px goldenrod;
    box-shadow: 0 0 0 1px goldenrod;
}

#contact_section form tr:not(.buttons) td > *{
    width: 100%;
    height: 100%;
}

#contact_section form tr.buttons td{
    width: 100%;
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

#contact_section form tr.buttons td > *{
    flex: 1 1 140px;
    max-width: 150px;
    height: 50px;
    font-size: 20px;
    padding: 5px;
    font-family: TWBOZ, Courier, monospace !important; 
    cursor: pointer;
}

#contact_section form textarea{
    height: 100px !important;
    resize: none;
}

#contact_section article.termsConditions{
    overflow-y: auto;
    overflow-x: hidden;
}

#contact_section article.termsConditions h1{
    width: 100%;
    height: auto;
    padding: 0 !important;
    margin: 10px !important;
    font-size: 25px !important;
}

#contact_section article.termsConditions p{
    width: 100%;
    height: auto;
    text-align: justify;
    padding: 10px !important;
    margin: 0 0 25px 0 !important;
}

#contact_section article.termsConditions p a{
    color: var(--hyrule-gold);
}

.termsConditions::-webkit-scrollbar{
    width: 8px;
}

.termsConditions::-webkit-scrollbar-track{
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.termsConditions::-webkit-scrollbar-thumb{
    background: var(--hyrule-gold);
    border-radius: 10px;
}

.termsConditions::-webkit-scrollbar-thumb:hover{
    background: var(--hyrule-gold);
}
/* Ipad */
@media only screen and (min-width:481px) and (max-width: 768px) {
    #contact_section{
        flex-direction: column;
        height: auto;
        padding: 10vh 20px 5vh 20px;
    }

    #contact_section form table tbody{
        gap: 20px;
    }

    #contact_section form tr{
        flex-direction: column;
        gap: 0px;
    }

    #contact_section form tr td{
        width: 100%;
    }

    #contact_section form tr:not(.buttons) td h1{
        border-radius: 6px 6px 0px 0px ;
    }

    #contact_section form tr:not(.buttons) td > *:not(h1){
        border-radius: 0px 0px 6px 6px;
    }

    #contact_section form tr.buttons td{
        gap: 15px;
    }

    #contact_section article.termsConditions{
        max-height: 300px;
    }
}

/* Movil */
@media only screen and (max-width: 480px) {
    #contact_section{
        flex-direction: column;
        height: auto;
        padding: 10vh 20px 5vh 20px;
    }

    #contact_section form table tbody{
        gap: 20px;
    }

    #contact_section form tr{
        flex-direction: column;
        gap: 0px;
    }

    #contact_section form tr td{
        width: 100%;
    }

    #contact_section form tr:not(.buttons) td h1{
        border-radius: 6px 6px 0px 0px ;
    }

    #contact_section form tr:not(.buttons) td > *:not(h1){
        border-radius: 0px 0px 6px 6px;
    }

    #contact_section form tr.buttons td{
        gap: 15px;
    }

    #contact_section article.termsConditions{
        max-height: 300px;
    }
}


/* Movil tumbado*/
@media only screen and (max-height: 480px) {
    #contact_section{
        flex-direction: column;
        height: auto;
        padding: 30vh 20px 15vh 20px;
    }

    #contact_section form table tbody{
        gap: 20px;
    }

    #contact_section form tr{
        flex-direction: column;
        gap: 0px;
    }

    #contact_section form tr td{
        width: 100%;
    }

    #contact_section form tr:not(.buttons) td h1{
        border-radius: 6px 6px 0px 0px ;
    }

    #contact_section form tr:not(.buttons) td > *:not(h1){
        border-radius: 0px 0px 6px 6px;
    }

    #contact_section form tr.buttons td{
        gap: 15px;
    }

    #contact_section article.termsConditions{
        max-height: 300px;
    }
}
