/*
  Author:   Eddie A. Flores
  email:    eaflores1231@gmail.com
  websites: www.EddieAlexanderFlores.com
            www.linkedin.com/in/eaflores1231/
*/


/* =========== imports =========== */
/* Font for headers */
@import url('https://fonts.googleapis.com/css2?family=Birthstone&display=swap');

/* Font for rest of the page */
@import url('https://fonts.googleapis.com/css2?family=Oxygen&display=swap');
/* =============================== */

/* Font Size: em = desired px / 16px */


/* =============   Universal Selectors   ============= */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}



/* =============   ID Selectors   ============= */
#body {
    background-image: url(images/page/welcome/background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    top: 0px;
    text-align: center;
    min-width: 280px;
    height: 100%;
    margin: auto;
    padding: 5px;
    color: white;
    font-family: 'Oxygen', sans-serif;
    font-size: 100%;
}

#button-enter {
    border: 3px solid rgba(177, 38, 38, 0.808);
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: white;
    background-color: rgba(177, 38, 38, 0.808);
    font-size: 1.25em;
}

#footer {
    margin-bottom: 10px;
    font-size: 0.75em;
}

#footer a {
    color: rgba(177, 38, 38, 0.808);
}

#header-welcome {
    margin-top: 15px;
    font-family: 'Birthstone', cursive;
    font-size: 2.5em;
}

#html {
    margin: auto;
    height: 100%;
}

#main {
    flex-grow: 2;
    justify-content: center;
}

#main p {
    margin-bottom: 10%;
    font-size: 1.25em;
}

#main p, div {
    align-items: center;
}



/* ===========   Class Selectors   =========== */
.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}



/* =============   Element Selectors   ============ */
a {
    text-decoration: none;
}



/* ==========   Media Queries   ========== */
/* Breakpoints:  
*/
@media screen and (orientation: landscape) {
    #header-welcome {
        margin-top: 0px;
    }

    #main {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    #main p {
        margin-top: 0%;
        margin-bottom: 0px;
        margin-right: 10%;
        width: 50%;
    }
}

@media screen and (max-width: 320px) and (orientation: portrait) {
    #button-enter { font-size: 1em; }

    #footer { font-size: 0.7em; }

    #header-welcome { font-size: 2.25em; }

    #main p {
        margin-top: 0;
        font-size: 1em;
    }
}

@media screen and (max-height: 320px) and (orientation: landscape) {
    #button-enter { font-size: 0.9em; }

    #footer { font-size: 0.65em; }

    #header-welcome { font-size: 2em; }

    #main p { font-size: 0.9em; }
}

@media screen and (min-width: 321px) and (max-width: 480px) and (orientation: portrait) {
    #button-enter { font-size: 1.25em; }

    #footer { font-size: 0.75em; }

    #header-welcome { font-size: 2.5em; }

    #main p { font-size: 1.25em; }
}

@media screen and (min-height: 321px) and (max-height: 480px) and (orientation: landscape) {
    #button-enter { font-size: 1.1em; }

    #footer { font-size: 0.7em; }

    #header-welcome { font-size: 2.3em; }

    #main p { font-size: 1.1em; }
}

@media screen and (min-width: 481px) and (max-width: 834px) and (orientation: portrait) {
    #button-enter { font-size: 1.75em; }

    #footer { font-size: 0.8em; }

    #header-welcome { font-size: 3em; }

    #main p { font-size: 1.75em; }
}

@media screen and (min-height: 481px) and (max-height: 834px) and (orientation: landscape) {
    #button-enter { font-size: 1.75em; }

    #footer { font-size: 0.8em; }

    #header-welcome { font-size: 3em; }

    #main p { font-size: 1.75em; }
}

@media screen and (min-width: 835px) and (orientation: portrait) {
    #button-enter { font-size: 2em; }

    #footer { font-size: 0.9em; }

    #header-welcome {
        margin-top: 30px;
        font-size: 3.5em;
    }

    #main p { 
        font-size: 2em; 
        width: 80%;
        align-self: center;
    }
}

@media screen and (min-height: 835px) and (orientation: landscape) {
    #button-enter { font-size: 2em; }

    #footer { font-size: 0.9em; }

    #header-welcome {
        margin-top: 30px;
        font-size: 3.5em;
    }

    #main p { 
        font-size: 2em; 
        width: 50%;
        align-self: center;
    }
}