:root {
    --amarillo-fos: #F8CA03;
}

@font-face {
    font-family: HelveticaNeueLight;
    src: url(./fonts/HELVETICALTSTDLIGHT.OTF);
}

::-moz-selection { /* Code for Firefox */
    color: var(--amarillo-fos);
    background: black;
}
  
::selection {
    color: var(--amarillo-fos);
    background: black;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* font-family: HelveticaNeueLight; */
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    overflow-x: hidden;
}

a {
    color: black;
    text-decoration: none;
}

#initial-curtain {
    position: absolute;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: all 5s ease;
    pointer-events: none;
}

html {
    background-color: var(--amarillo-fos);
}

#principal {
    opacity: 0;
    transition: all 5s ease;
}

header {
    margin: 2em;
}

#main {
    display: grid;
    place-items: center;
    overflow: visible;
}

#main-content {
    text-align: center;
    transform: scale(1.5);
    transition: all 2.5s ease;
    padding-bottom: 8em;
}

#main-content h1 {
    font-size: 4em;
    width: 8em;
}

#social {
    font-size: 1.25em;
    margin: 3em 0;
    display: inline-flex;
    flex-direction: column;
    overflow: visible;
}

#social a {
    transition: all .5s ease;
    align-self: center;
    gap: 1em;
}

#social a:hover {
    transition: all .5s ease;
    /* transform: scale(1.1); */
    letter-spacing: .1em;
}

#openingForm p {
    margin-bottom: 1em;
}

input[type=text] {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid black;
    border-radius: 0;
    padding: .25em;
    margin-right: .5em;
    width: 50%;
}

input[type=text]:focus {
    outline: none;
}

button[type=submit] {
    border: none;
    background-color: transparent;
    transition: .5s all ease-out;
}

button[type=submit] i {
    pointer-events: none;
}

*[type=submit]:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.fa-arrow-right {
    color: black;
}

#form-message {
    margin-top: 1em;
    font-size: 0.9em;
    height: 1.5em;
    color: black; /* Forces it to always be black */
    transition: opacity 0.5s ease; /* Smooth transition for fading */
    opacity: 1;
}

footer {
    width: 100%;
    height: 3em;
    color: black;
    display: grid;
    place-items: center;
}

/* The shake animation keyframes */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Classes we will trigger with JavaScript */
.shake-animation {
    animation: shake 0.4s ease-in-out;
}

.fade-out {
    opacity: 0 !important;
}

@media screen and (max-width: 500px) {
    
    #logo {
        height: 3em;
    }

    #main-content {
        padding-bottom: 4em;
    }

    #main-content h1 {
        font-size: 2.5em;
    }

    #social {
        font-size: 1em;
        margin: 3em 0;
    }

    #social a:hover {
        transform: none;
    }

    #openingForm p {
        font-size: 0.75em;
    }

    footer {
        font-size: 0.75em;
    }

}