@import url(./reset.css);

/****************************************
 Page Section Containers
*****************************************/

/**** General Selecetions ****/
/*variable decliration for colours*/
:root{
    --priamry: #00809D;
    --secondary: #FF7601;
    --third: #F3A26D;
    --back: #FCECDD;
    --fore: #033848;
    --border: 0.3em;
    --border-radius: 0.3em;
    --coloum-margin: 0.75em;    
}

body{
    background-color: var(--third);
    color: var(--fore);
    font-family: monospace;
}

header{
    font-size: 3em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

main{
    display: grid;
    grid-template-columns: 20% 60% 20%;
    line-height: 1.5;
}

main.gallery{
    display: grid;
    grid-template-columns: 20% 70% 10%;
}

nav, aside{
    margin: 0em 2em 0em 2em;
    padding: 0em 2em 0em 2em;
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: var(--secondary);
    padding: 0.5em;
}

.mobile{
    display: none;
}

.bottom{
    height: 20px;
}

/****************************************
**  text and content
*****************************************/

h1{
    font-weight: 800;
}

h2{
    font-weight: 700;
    background-color: var(--secondary);
    padding: 0.25em;
    margin-bottom: 1em;
}

h3{
    font-weight: 600;
    width: 100%;
}

p{
    margin: 1em;
}


span video{
    width: 100%;
    height: auto;
    object-fit:cover;
    margin: 0em;
}

.hidden {
    display: none;
}

.wrap{
    float: left;
}

.post{
    display: grid;
    grid-template-columns: 30% auto;
    column-gap: 1em;
    background-color: #033848;
    color: #F3A26D;
    padding: 1em;
    margin: 1em;
    font-size: 12pt;
}

.post img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/****************************************
** navigation links
*****************************************/

.button{
    padding: 0.25em 1em 0.25em 1em;
}

.nav_link{
    padding: 0.5em;
}

a{
    text-decoration: none;
    color: var(--fore);
    padding: 0.25em;
}

a:hover{
    background-color: var(--secondary);
    color: var(--back);
}

.button:hover{
    background-color: var(--secondary);
    color: var(--back);
}

/****************************************
** Gallery Wall
*****************************************/

.board{
  -moz-column-count: 4;
  -webkit-column-count: 4;
  column-count: 4;
  column-gap: 20px;
}

.pin{
    padding: 0px 0px 20px 0px;
}

.pin img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/****************************************
** mobile
*****************************************/

@media only screen and (max-width: 800px){

    header{
        font-size: 2em;
        margin: 1em;
        justify-content: space-between;
    }

    header img{
        margin: 0em;
        padding: 0em;
        width: 30%;
        height: auto;
    }

    img.wrap{
        width: 30%;
        height: auto;
        float: none;
    }

    video.wrap{
        float: none;
    }

    aside{
        display: none;
    }

    nav{
        width: 100%;
        margin: 0em;
        padding: 0em 0em 1em 0em;
        text-align: center;
    }

    aside{
        padding-bottom: 2.5em;
    }

    img{
        width: 75%;
        height: auto;
    }

    video{
        width: 75%;
        height: auto;
    }

    nav ul{
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding-bottom: 0.5em;
        flex-wrap: wrap;
    }

    main{
        display: flex;
        flex-direction: column;
    }

    .desktop{
        display: none;
    }

    .mobile{
        display: contents;
    }

    div#center{
        text-align: center;
    }

    .post{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }



    .board{
        display: grid;
        grid-template-columns: auto;
        padding: 2em;
    }

}

