/* -------------------------Universal styles------------------------------ */
/* these styles affectr all parts of the website at all times */
@font-face {
    font-family: 'quicksand-regular'; 
    src: url(../fonts/quicksand/Quicksand-Regular.otf); 
}


@font-face{
    font-family: 'alex-brush';
    src: url(../fonts/alex-brush/AlexBrush-Regular.ttf);
}

:root{
    --accent-1: #b093ae;
    --accent-2: #e4cbe3;
    --black: #303037;
    --grey: #eaefea;
    --mid-grey: #888888;
    --dark-grey: #7b7272;
    --white: #ffffff;
    --clear: rgba(0,0,0,0);
    --blue: rgb(63, 55, 96);
}

body{
    padding: 0px;
    margin: 0px;
    font-family: quicksand-regular;
    max-width: 100%;
    min-width: 350px;
    color: var(--black);
}

h2{
    margin: 30px auto 30px auto;
    font-weight: bolder;
    font-family: alex-brush;
    color: var(--black);
    font-size: 35pt;
}

h3{
    margin: 30px auto 30px auto;
    font-family: alex-brush;
    font-size: 20pt;
}

p{
    text-align: left;
}

a{
    color: var(--black);
    text-align: right;
}


svg{
    max-width: 100%;
}

polygon{
    fill: var(--white); 
}

.lower-points{
    fill: var(--accent-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%;
}

hr{
    width: 10%;
    margin: 25px auto 25px auto;
    
}

.bg-color-1{
    background-color: var(--accent-2);
}

.bg-color-2{
    background-color: var(--accent-1);
}

table{
    border-style: solid;
    border-color: var(--black);
}

table td{
    border-style: solid;
    border-color: var(--black);
}

table th{
    border-style: solid;
    border-color: var(--black);
}

/* ---------------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;
    min-width: 100%;
}

header{
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: 70px;
}

.header-shadow-small{
    min-height: 5px;
    background-image: linear-gradient(to bottom, var(--blue), var(--clear)); 
}


.header-logo{
    max-width: 600px;
    max-height: 60px;
    
}

.header-logo img{
    max-width: 200px;
}

.small-screen button{
    background-color: var(--white);
    border-style: none;
    margin-right: 7%;
}

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: white;
    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;
}

aside .side-by-side-content{
    justify-content: space-between;
    align-items: end;
    margin: 10px;
}

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{
    background-color: var(--white);
    border-style: none;
    min-width: 55px;
}

.close-icon{
    min-width: 100%;
}



/* -------------------------accent-1 content------------------------------ */
/* styles fo the main content this section is a little messy */
main{
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

article{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0px;
    padding: 0px 5% 0px 5%;
}


/* contact page styles */
.phone-number{
    text-align: center;
    font-size: large;
}

.contact-form input[type=text]{
    width: 50%;
    height: 25px;
}

.contact-form input[type=textarea]{
    height: auto;
    font-size: larger;
    font-family: 'quicksand-regular';
}


.contact-form input[type=reset]{
    min-height: 50px;
    min-width: 50px;
    font-size: larger;
    font-family: 'quicksand-regular';
    margin: 25px auto 10px auto;
    text-align: center;
    border-color: var(--accent-1);
    background-color: var(--accent-1);
    color: var(--black);
    border-color: var(--accent-1);
    border-style: solid;
    border-width: medium;
    border-radius: 5px;
}

article form{
    margin: 30px auto 30px auto;
    width: 100%;
}

article form input[type=text]{
    min-height: 50px;
    min-width: 40%;
    font-size: larger;
    font-family: 'quicksand-regular';
}

article form input[type=password]{
    min-height: 50px;
    min-width: 40%;
    font-size: larger;
    font-family: 'quicksand-regular';
}

article form textarea{
    min-height: 50vh;
    font-size: larger;
    font-family: 'quicksand-regular';
}

article form input[type=file]{
    min-height: 50px;
    min-width: 25%;
    font-size: larger;
    max-width: 100%;
    font-family: 'quicksand-regular';
    margin: 10px auto 10px auto;
    text-align: center;
}

article form input[type=submit]{
    min-height: 50px;
    min-width: 50px;
    font-size: larger;
    font-family: 'quicksand-regular';
    margin: 25px auto 10px auto;
    text-align: center;
    border-color: var(--accent-1);
    background-color: var(--accent-1);
    color: var(--black);
    border-color: var(--accent-1);
    border-style: solid;
    border-width: medium;
    border-radius: 5px;
}

input[type=submit]:disabled{
    opacity: .5;
}




article form:nth-child(n){
    margin: 20px auto 20px auto;
}

select{
    max-width: 40%;
    min-height: 50px;
    min-width: 20%;
    font-size: larger;
    font-family: 'quicksand-regular';
    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{
    background-color: var(--white) !important;
    display: flex;
    justify-content: space-between;
}

.blog-control-labels{
    display: flex;
    flex-direction: column;
}

.back-to-top{
    padding-top: 20px;
}

/* -------------------------footer------------------------------ */
footer{
    color: var(--white);
    background-image: linear-gradient(to bottom, var(--accent-1), var(--blue)); 
    display: flex;
    justify-content: center;
    align-items: start;
    padding-bottom: 10px;
    max-width: 100%;
}

footer h2{
    font-family: quicksand-regular;
    font-size: medium;
}

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(--white);
    text-align: center;
}


















/* ------------------ wide screen -------------------- */
/* if the screen is over 800px in size the following changes occur */
@media only screen and (min-width: 800px) {


    /* ---------------universal styles----------------- */
    body{
        background-color: var(--grey);
        font-size: larger;
    }

    .small-screen{
        display: none;
    }

    .large-screen{
        display: flex;
        flex-direction: row;
    }

    h2{
        padding-top: 20px;
        font-size: 70pt;
    }

    h3{
        font-size: 30pt;
    }
    

    /* ------------------header-------------------- */
    .header-wrapper{
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    header{
        justify-content: start;
        gap: 10px;
    }
    
    .header-hamburger-button{
        display: none;
    }   
    
    header nav{
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .header-shadow-small{
        display: none;
    }

    .header-shadow-large{
        min-height: 5px;
        background-image: linear-gradient(to bottom, var(--blue), var(--clear));  
    }
    


    /* ------------content styles-------------- */
    main{
        max-width: 100%;
        margin: auto;
        padding-top: 80px;
        background-color: white;
        font-size: larger;
    }
 
    .phone-number{
        font-size: larger;
    }

    textarea{
        font-size: larger;
    }

    /* ------------------article-------------------- */
    article p{
        width: 50%;
        margin: 40px auto 40px auto;
    }

    article .side-by-side-content{
        max-width: 60%;
        margin: auto;
    }

    article .side-by-side-content img{
        max-width: 250px;
    }

    .controls-container{
        max-width: 50%;
    }    

    article a{
        margin: auto;
    }

    article img{
        max-width: 70%;
        margin: auto;
    }

    /* ------------------Footer------------------- */
    footer{
        width: 100%;
    }

    footer h2{
        font-size: 20pt;
    }

    footer p{
        margin: 0px;
    }

    footer article{
        font-size: 14px;
        min-width: 15%;
    }
    
}











