/**** Color Pallette *************

Teal    #638C99

Grey    #F7F7F7

White

Black 
****** End Color Pallette ********/

/********* Fonts

font-family: 'Open Sans', sans-serif;
font-family: 'Playfair Display', serif;

*******/

@font-face {
    font-family: 'Magneto Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Magneto Bold'), url('fonts/MAGNETOB.woff') format('woff');
}

/*********  Box Border Fix ******/
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit
}

/********* CSS Variables *********/


:root {
    --banner-font: 'Magneto Bold', serif;
    --menu-font: 'Open Sans', serif;
    --body-font: 'Open Sans', serif;
    --head-font: 'Playfair Display', serif;
    --button-font: 'Open Sans', serif;

    /** --background-color: white; **/
    --background-color: #638C99;
    --banner-text-color: white;
    --accent-color: #638C99;
    --postbox-color: white;
}


/***  Parms for single post width screen ***/

@media (max-width: 799px) {
    :root {
        --banner-font-size: 35px;
        --banner-font-h2size: 25px;

        --menu-li-font-size: 20px;

        --box-header-font-size: 30px;
        --box-date-font-size: 20px;

        --post-width: 90%;
        --post-margin: 10px;
        --post-font-size: 20px;
        --post-letter-spacing: 0px;
        --post-line-height: 1.7;


        --footer-font-size: 25px;
    }

    /***** Photo float left ****/
    .photoleft {
        clear: left;
        margin-left: auto;
        margin-right: auto;
        margin-top: 25px;
        margin-bottom: 25px;

    }

    /*** Give Image Playing Card Corners ****/
    .cardshape {}

    /*** Centering for images ****/
    .centerit {
        margin-left: auto;
        margin-right: auto;
    }

}

@media (min-width: 800px) {


    .setwidth {
        width: 80%;
    }

    :root {

        --banner-font-size: 45px;
        --banner-font-h2size: 35px;

        --menu-li-font-size: 30px;


        --box-header-font-size: 40px;
        --box-date-font-size: 25px;



        --footer-font-size: 40px;

        --post-margin: 25px;
        --post-font-size: 20px;
        --post-letter-spacing: 0px;
        --post-line-height: 1.7;
    }

    /***** Photo float left ****/
    .photoleft {
        float: left;
        margin-left: 25px;
        margin-right: 25px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    /*** Give Image Playing Card Corners ****/
    .cardshape {
        border-radius: 40px 20px;
    }

    /*** Centering for images ****/
    .centerit {
        margin-left: auto;
        margin-right: auto;
    }

    .featured {
        grid-column: 1 / span 2;
    }


    .grid {

        display: grid;
        grid-template-columns: minmax(600px 800px) minmax(600px, 800px);

        grid-auto-flow: dense;
        grid-gap: 50px;

    }




}




body {
    font-family: var(--body-font);
    color: black;
    line-height: 1.5;
    margin: 0 auto;
    width: 100%;
    background: var(--background-color);

}

/*** Universal Page Styling ***/
/***** All Images will FLEX as well as display as a block element ****/
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*****  All LINKS will DIM on HOVER 
a:hover {
    opacity: 0.7;
}****/


/******** Bold Text  ****/

.boldtext {
    font-weight: 700;
}




/*** Clear Float Left ****/
.clearleft {
    clear: left;
}



/********* Button Style    ******/

.button {
    background: white;
    color: var(--accent-color);
    padding: 0 1em;
    height: 2.4em;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 20px 20px;


    font-family: var (--button-font);
    font-weight: 600;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 2.4em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.button a {
    border: 1px solid var(--accent-color);

}

.button:hover {
    opacity: 0.7;

}

.button:active,
.button:focus {
    opacity: 0.7;
}

/********* Top Button Style    ******/

.topbutton {
    background: white;
    color: var(--accent-color);
    padding: 0 1em;
    height: 2.4em;

    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    margin: 20px 20px;


    font-family: var (--button-font);
    font-weight: 600;
    font-size: 1em;
    /***text-transform: uppercase;***/
    letter-spacing: .05em;
    line-height: 2.4em;
    text-align: center;
    text-decoration: underline;
    white-space: nowrap;
    cursor: pointer;
}


.topbutton:hover {
    opacity: 0.7;

}


/*********  Header/Banner  ******/


.wrapper-header {
    width: 100%;

}

.wrapper-header img {
    width: 100vw;
}

.wrapper-header h1 {
    color: var(--banner-text-color);
    font-family: var(--banner-font);
    font-size: var(--banner-font-size);
}

.wrapper-header h2 {
    color: var(--banner-text-color);
    font-family: var(--banner-font);
    font-size: var(--menu-li-font-size);
    margin: 10px;

}

/******** Comment Bar Rides to the Top of Screen and Sticks*****/
.wrapper-comment {

    top: 0px;
    margin: 0 auto;
    background-color: white;
    width: 100%;
    margin-bottom: 5px;
    padding: 0;
    overflow: auto;
}


.comment h1 {
    display: flex;
    flex: 1 0 auto;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    font-size: var(--menu-li-font-size);
    padding: 0px;
    color: black;
    text-decoration: none;
    font-family: var(--banner-font);
}





/**** End Comment Bar




/******** Navigation Bar Rides to the Top of Screen and Sticks*****/

.wrapper-menu {
    position: sticky;
    top: 0px;
    margin: 0 auto;
    background-color: white;
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
    overflow: auto;
}


.menu ul {
    display: flex;
    flex: 1 0 auto;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;

}

.menu li a {
    display: flex;
    flex: 1 0 auto;
    text-align: center;
    font-size: var(--menu-li-font-size);
    padding: 10px;
    background: white;
    color: black;
    text-decoration: none;
    font-family: var(--menu-font);
}

.menu li a:hover {
    color: var(--accent-color);
}


/******** Posting Picture
            Box for picture on left and text on right ****/


.photobox {
    display: block;
    /**width: var(--post-width);***/
    background-color: var(--postbox-color);

    /***margin-right: var(--post-margin);
    margin-left: var(--post-margin); ***/

   /** margin-top: 80px; **/
    margin-bottom: 50px; 
    overflow: auto;

}


.photobox h1 {
    font-family: var(--head-font);
    text-align: center;
    width: 100%;
    font-size: var(--box-header-font-size);
    font-weight: 500;
    margin-top: 50px;
    margin-bottom: 10px;

}

.photobox h2 {
    font-family: var(--head-font);
    text-align: center;
    width: 100%;
    font-size: var(--box-date-font-size);
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0px;
}



.photobox p {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: var(--post-margin);
    margin-left: var(--post-margin);
    font-size: var(--post-font-size);
    letter-spacing: var(--post-letter-spacing);
    line-height: : var(--post-line-height)
}

.photobox img {
    margin-top: 25px;
    margin-bottom: 25px;
}

/***** Drop Cap REPLACE WHEN DROP CAP in use*****/
.photobox div > p:first-of-type::first-letter {
    font-family: var(--head-font);
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: black 2px 2px;
    float: left;
    margin: 0px 12px 0 0;
    font-size: 80px;
    line-height: 40px;
    text-align: center;

}


/******* Disclaimer for Footer Bar *****/

.wrapper-disclaimer {


    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    background-color: white;
    width: 100%;

    padding: 0;
    overflow: auto;
   
}



.disclaimer h1 {
    font-family: var(--head-font);
    text-align: center;
    width: 100%;
    font-size: var(--box-header-font-size));
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
}

.disclaimer h3 {
    font-family: var(--head-font);
    text-align: center;
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
}

.disclaimer a {
    text-decoration-color: black;
    color: black;
}

/****.photobox div > p:first-of-type {
    text-indent: 30px;
}  ***/

/******** Footer Navigation Bar *****/

.wrapper-footer {

    top: 0px;
    margin: 0 auto;
    background-color: white;
    width: 100%;
    margin-top: 0px;
    padding: 0;
    overflow: auto;
}


.footer ul {
    display: flex;
    flex: 1 0 auto;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;

}

.footer li a {
    display: flex;
    flex: 1 0 auto;
    text-align: center;
    font-size: var(--menu-li-font-size);
    padding: 10px;
    background: white;
    color: black;
    text-decoration: none;
    font-family: var(--menu-font);
}

.footer li a:hover {
    color: var(--accent-color);
}
