/* -------------------------Universal styles------------------------------ */
/* these styles affectr all parts of the website at all times */

@font-face {
    font-family: 'psychic-mould'; 
    src: url(../fonts/psychic-mould.otf); 
}

.content-descriptions{
    display: none;
}

.age-rating-pop-up{
    display: flex;
    flex-direction: column;
    padding: 10% 10% 0px 10%;
    margin:  auto;
    background-color: var(--background);
}

:root{
    --background: #000000;
    --foreground: #ffffff;
    --accent:  #192738;
}

body{
    padding: 0px;
    margin: 0px;
    font-family:  sans-serif;
    color: var(--foreground);
    background-color: var(--accent);
    min-width: 300px;
}

h1{
    font-family: 'psychic-mould';
    font-size: 15pt;
}

h2{
    margin: 0px auto 20px auto;
    font-family: 'psychic-mould';
    font-size: 20pt;
}


h3{
    margin: 10px auto 10px auto;
    font-size: 20pt;
}

h4{
    margin: 10px auto 10px auto;
    font-size: 20pt;
}


p{
    text-align: left;
}

a{
    color: var(--foreground);
    text-align: right;
}

svg{
    max-width: 100%;
}

polygon{
    fill: var(--foreground); 
}

hr{
    width: 25%;
    margin: 25px auto 25px auto;
}

table{
    margin: 50px auto 50px auto;
    border-left: solid;
}

table td{
    padding: 5px;
    text-align: center;
}


table tr{
    margin: 25px 0px 25px 0px;
}

table th{
    padding: 30px 5px;
}

.text-on-image img{
    z-index: 0;
    position: fixed;
}

.text-on-image a{
    z-index: 1;
}

/* sets styles for content which should be displayed side by side horizontally */
.side-by-side-content{
    display: flex;
    gap: 10px;
    align-items: center;
}

.side-by-side-content img{
    max-width: 40%;
}


.side-by-side-articles{
    display: flex;
    flex-direction: column;
}

.side-by-side-articles article{
    width: 100%;
}


.latest-news p{
    max-width: 50%;
}



/* content for image galleries */
.slides{
    display: none;
}
/* ---------------end of universal styles--------------- */





/* -------------------------large screen default------------------------------ */
/* sets the large screen content to insvisible by default */
.large-screen{
    display: none;
}


/* -------------------------header------------------------------ */
/* all of the styles for the small screen header and header wrapper */
.header-wrapper{
    position: fixed;
    top: 0px;
    width: 100%;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    height: 70px;
    padding: 10px;
    background-image: linear-gradient(to bottom, var(--accent), var(--background)); 
}

.header-logo{
    max-width: 500px;
    max-height: 60px;
    
}

.header-logo img{
    max-width: 200px;
}

.small-screen button{
    border-style: none;
    margin-right: 7%;
    background-color:  rgba(0, 0, 0, 0);
}

button .header-hamburger{
    max-width: 50px;
}





/* -------------------------aside nav------------------------------ */
/* only visible on small screen this is the nav aside */
aside{
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70%;
    height: 100vh;
    background-color: var(--background);
    top: 0px;
    right: 0px;
    display: none;
    z-index: 2;
}

aside nav{
    display: flex;
    flex-direction: column;
    min-height: 30vh;
    justify-content: space-between;
    font-size: large;
    margin-right: 10px;
}

aside nav a{
    text-align: end;
}

.close-nav-housing{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.close-nav-housing button{
    margin: 15px;
}


aside .side-by-side-content{
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    max-width: 100%;
}

aside .header-logo{
    min-width: 30%;
}

.aside-shadow{
    width: 30%;
    background-color: #1d1d24;
    height: 100vh;
    position: fixed;
    top: 0px;
    opacity: 0.5;
    display: none;
}

.close-icon{
    width: 30px;
}

.close-button{
    border-style: none;
    min-width: 55px;
    background-color: rgba(0, 0, 0, 0);
}

.close-icon{
    min-width: 100%;
}



/* styles fo the main content this section is a little messy */
main{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 90px;
    background-color: var(--background);
    max-width: 100%;
}

article{
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 0px auto;
    padding: 10px 5% 10px 5%;   
    max-width: 80%;
}

article img{
    max-width: 80%;
    margin: 10px auto;
    max-height: 300px;
}
/* index page styles */




article form{
    margin: 30px auto 30px auto;
    text-align: left;
    border-left-style: solid;
    padding-left: 25px;
    max-width: 100%;
}

article form input[type=text]{
    min-height: 40px;
    min-width: 30%;
    font-size: larger;
    background-color: var(--background);
    border-style: solid;
    border-color: var(--foreground);
    border-width: thin;
    border-radius: 5px;
    color: var(--foreground);
}

input[type=checkbox]{
    min-width: 30px;
    min-height: 30px;
}

.checkbox-submit-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 20%;
}

article form input[type=email]{
    min-height: 40px;
    min-width: 30%;
    font-size: larger;
    background-color: var(--background);
    border-color: var(--foreground);
    border-style: solid;
    border-width: thin;
    border-radius: 5px;
    color: var(--foreground);
}



article form input[type=password]{
    min-height: 40px;
    min-width: 30%;
    font-size: larger;
    background-color: var(--background);
    border-color: var(--foreground);
    border-style: solid;
    border-width: thin;
    border-radius: 5px;
    color: var(--foreground);
}

article form textarea{
    min-height: 50vh;
    font-size: larger;
}

article form input[type=file]{
    min-height: 50px;
    min-width: 25%;
    font-size: larger;
    max-width: 100%;
    margin: 10px auto 10px auto;
    text-align: center;
}

input[type=submit]{
    min-height: 40px;
    font-size: larger;
    margin: 25px auto 25px auto;
    border-color: var(--foreground);
    background-color: var(--background);
    color: var(--foreground);
    border-color: var(--foreground);
    border-style: solid;
    border-width: thin;
    border-radius: 5px;
}

input[type=submit]:disabled{
    opacity: .5;
}


button{
    min-height: 40px;
    font-size: larger;
    margin: 25px auto 25px auto;
    border-color: var(--foreground);
    background-color: var(--background);
    color: var(--foreground);
    border-color: var(--foreground);
    border-style: solid;
    border-width: thin;
    border-radius: 5px;
}

.show-warning-button{
    margin-left: 20px;
}


select{
    max-width: 40%;
    min-height: 50px;
    min-width: 20%;
    font-size: larger;
    margin: 25px auto 10px auto;
}

select option{
    max-width: 100%;
}

.blog-image-transitions{
    margin: 0px;
    width: 100%;
    padding: 0px;
}

.blog-image-transitions img{
    max-width: 100%;
    margin: 0px;
    padding: 0px;
}


.blog-post p{
    max-width: 100%;
    text-align: center;
}

.blog-post h3{
    max-width: 100%;
    word-wrap: break-word;
}

.blog-posts-container form{
    display: flex;
    
}

.blog-posts-container p{
    text-align: center;
}


.controls-container{
    margin: 0px;
}

.blog-control-labels{
    display: flex;
    flex-direction: column;
    margin: 0px 10px;
}

.back-to-top{
    padding-top: 20px;
}

/* -------------------------footer------------------------------ */
footer{
    color: var(--foreground);
    background-image: linear-gradient(to bottom, var(--background), var(--accent)); 
    display: flex;
    justify-content: center;
    align-items: start;
    padding-bottom: 10px;
    max-width: 100%;
    padding-top: 50px;
}

footer h2{
    font-family:  sans-serif;
    font-size: medium;
    padding: 0px;
}

footer article{
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer article img{
    max-width: 80px;
}

footer p{
    text-align: center;
    margin: 0px;
}

footer a{
    color: var(--foreground);
    text-align: center;
}


















/* ------------------ wide screen -------------------- */
/* if the screen is over 800px in size the following changes occur */
@media only screen and (min-width: 1000px) {


    /* ---------------universal styles----------------- */
    body{
        font-size: larger;
    }

    .small-screen{
        display: none;
    }

    .large-screen{
        display: flex;
        flex-direction: row;
    }

    h2{
        font-size: 60pt;
    }

    h3{
        font-size: 30pt;
    }

    .side-by-side-articles{
        display: flex;
        flex-direction: row;
        margin: 20px auto 50px auto;
    }

    .side-by-side-articles .article{
        max-height: 20vh;
        justify-content: space-between;
    }

    

    /* ------------------header-------------------- */
    .header-wrapper{
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    header{
        justify-content: start;
        gap: 50px;
    }
    
    .header-hamburger-button{
        display: none;
    }   
    
    header nav{
        display: flex;
        align-items: center;
        gap: 30px;
    }

    /* ------------content styles-------------- */
    main{
        max-width: 100%;
        margin: 90px auto 0px auto;
        font-size: larger;
    }
 
    .phone-number{
        font-size: larger;
    }

    textarea{
        font-size: larger;
        background-color: #000000;
    }

    /* ------------------article-------------------- */

    
    article p{
        width: 80%;
        margin: 40px auto 40px auto;
    }

    article .side-by-side-content img{
        max-width: 150px;
    }

    .controls-container{
        max-width: 50%;
    }    

    article a{
        margin: auto;
    }

    article img{    
        max-width: 60%;
        margin: 5px auto 0px auto;
    }

    /* ------------------Footer------------------- */
    footer{
        width: 100%;
    }

    footer h2{
        font-size: 20pt;
    }

    footer p{
        margin: 0px;
    }

    footer article{
        font-size: 14px;
        min-width: 15%;
    }
    
}











