@font-face {
    font-family: 'Mikecraft'; /*a name to be used later*/
    src: url(mikecraft.ttf);
}

body {
    background-color: #0d171f;
}

header {
    margin: -10px; 
    margin-bottom: -25px; 
    background-color: deepskyblue;
}

header div {
    display: flex; 
    margin-bottom:  0px;
}

/* These three classes are used to format the flowers on either side of the logo and title */
.flowerLeft {
    margin: auto; 
    margin-right: 0;
}

.flowerMiddle {
    margin: auto; 
    margin-right: 0; 
    margin-left: 0;
}

.flowerRight {
    margin: auto; 
    margin-left: 0;
}

/* These classes are used to format the logo on either side of the title */
.logoLeft {
    margin: auto; 
    margin-right: 0px; 
    margin-left: 20px;
}

.logoRight {
    margin: auto; 
    margin-right: 20px; 
    margin-left: 0px;
}

/* The title class is used to style the title text for the header "The 'Minelanders" */
.title {
    font-family: 'Mikecraft'; 
    font-size: 40px; 
    text-align: center;
    margin: auto; 
    margin-left: 10px; 
    margin-right: 10px; 
    color: white; 
    text-shadow:black 10px 10px;
}

/* dirtDiv and grassDiv are two visual divs that help create the minecraft block illusion */
.dirtDiv {
    height: 100px; 
    background-image: url('Dirt.png'); 
    background-size: 100px;
    margin-left: -10px;
    margin-right: -10px;
}

.grassDiv {
    height: 100px; 
    background-image: url('Grass.png'); 
    background-size: 100px;
    margin-left: -10px;
    margin-right: -10px;
}

/* This Section is for all navigation bar content */
/* Wrapper div for the buttons to make sure they appear side by side */
.navButtonsDiv {
    display: flex;
}

/* Div that ensures the buttons are close enough and resize correctly*/
.navDiv {
    background-color: #0d171f;
    margin: auto; 
    width: 40%; 
    max-width: 750px; 
    min-width: 400px;
}

/* class for individual navigational button */
.navButtonsDiv a {
    text-align: center;
    font-size: 2em;
    font-family: 'Mikecraft', Arial, Helvetica, sans-serif;
    color: rgb(165, 158, 175);
    background-color: #0d171f;
    padding: 15px;
    font-weight: bold;
    text-decoration: none;
    margin: auto;
    transition: 0.2s;
}

/* class for individual navigational button hover */
.navButtonsDiv a:hover {
    background-color: #152431;
    color: white;
    padding-right: 25px;
    padding-left: 25px;
}

/* This Section is for visual structure of pages */
/* Largest wrapper div which contains everything below the navigational bar*/
.primaryContentWrapper {
    display: flex; 
    margin-left: -10px; 
    margin-right: -10px;
}

.content {
    min-width: 1900px;
}

/* Solid black bar on either side of the main content which grows as the webpage shrinks and grows*/
.solidSidebar {
    background-color: #0d171f;  
    flex-grow: 2;
}

/* Wrapper for the stone bars that lay horitzontally above and below the main content */
.visualBar {
    width: 100%; 
    height:96px; 
    display: flex;
}

/* Formats the corners of the stone bars*/
.stoneCorner {
    background-size: contain; 
    width: 96px; 
    background-repeat: no-repeat;
}

/* Formats the stone bar*/
.stoneBar {
    background-size: contain;
    width: 96px;
    flex-grow: 2;
}

.stoneColumn {
    background-size: contain; 
    width: 96px;
}

.stoneBacking {
    background-image: url(Images/Stone.png); 
    flex-grow: 3; 
    background-size: 96px;
}

/* Just a class for applying the flex property */
.flexWrapper {
    display: flex;
}

/* Classes for content related to the "footer" div which is meant to represent the footer */
.footerDiv {
    background-color: #0d171f;
    width: 60%;
}

.footerContent {
    width: 50%; 
    margin-left: 20px;
}

.footerContent h3 {
    color: rgb(165, 158, 175); 
    font-family: 'Mikecraft';
}

.footerContent p {
    color: #a59eaf; 
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: -15px;
    margin-bottom: 15px;
}

video {
    max-width: 1080px; 
    width: 90%; 
    margin: auto; 
    box-shadow: 0px 0px 30px 10px rgb(0, 0, 0); 
    margin-top: 40px; 
    margin-bottom: 40px;
}

/* classes for the PLAY NOW button */
.pageButton {
    display: flex;
    margin: auto;
    width: 28%;
}

.pageButton a{
    font-family: 'Mikecraft';
    font-size: 40px;
    padding: 15px;
    padding-left: 50px;
    padding-right: 50px;
    text-decoration: none;
    margin: auto;
    color: white;
    background-color: rgb(54, 180, 75);
    border: solid; 
    border-width: 6px;
    border-color: black;
    text-shadow: black 0px 5px;
    margin-bottom: 45px;
}

.pageButton a:hover {
    background-color: rgb(41, 146, 59);
    transition: 0.2s;
}

@media (max-width: 1800px) {

    .title {
        font-size: 25px;
        text-shadow:black 5px 5px;
        text-align: left;
    }

    .flowerLeft {
        visibility: hidden;
        width: 0;
    }

    .flowerMiddle {
        visibility: hidden;
        width: 0;
    }
    
    .flowerRight {
        visibility: hidden;
        width: 0;
    }

    .logoLeft img, .logoRight img {
        width: 80px;
    }

    .navDiv {
        width: auto;
    }

    .dirtDiv, .grassDiv {
        background-size: 60px;
        height: 60px;
    }

    .stoneCorner, .stoneColumn, .stoneBacking {
        width: 60px;
        background-size: 60px;
    }

    .stoneBar {
        height: 60px;
    }

    video {
        width: 90%;
    }

    .content {
        min-width: 400px;
    }

    .pageButton {
        width: 300px;
    }

    .pageButton a {
        font-size: 15px;
        border-width: 4px;
        padding-left: 70px;
        padding-right: 70px;
    }

    .visualBar {
        height: auto;
    }

    .footerDiv {
        width: auto;
    }

    .footerContent {
        margin-top: 100px;
    }

    .footerDiv h3, .footerDiv p {
        margin-bottom: 20px;
        font-size:  12px;
    }

    .footerContent {
        width: 50%
    }

}

@media (max-width: 700px) {

    .title {
        font-size: 15px;
        text-shadow:black 5px 5px;
        text-align: left;
    }

    .navButtonsDiv {
        display: list-item;
    }

    .navButtonsDiv a {
        display: list-item;
        font-size: 15px;
        padding: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        list-style-type: none;
    }

    .navButtonsDiv a:hover {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    video {
        width: 90%;
    }

    .logoRight img {
        visibility: hidden;
        width: 0px;
    }

    .footerContent {
        width: auto;
    }
    
}
.descriptionSection {
    padding: 20px 30px;
}

.descBlock {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.descBlockReverse {
    flex-direction: row-reverse;
}

.descImage {
    width: 65%;
    max-width: 700px;
    border: 4px solid #333;
    border-radius: 4px;
    flex-shrink: 0;
}

.descText {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 20px 25px;
    border-radius: 4px;
    flex-grow: 1;
}

.descText p {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.descCTA {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 20px 25px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 30px;
}

.descCTA p {
    color: white;
    font-family: 'Mikecraft';
    font-size: 18px;
    margin: 0;
}

/* Mobile: stack image above text, shrink images */
@media (max-width: 1800px) {
    .descImage {
        width: 40%;
    }
}

@media (max-width: 700px) {
    .descBlock {
        flex-direction: column;
    }

    .descBlockReverse {
        flex-direction: column;
    }

    .descImage {
        width: 95%;
        max-width: 100%;
    }

    .descText p {
        font-size: 14px;
    }

    .descCTA p {
        font-size: 14px;
    }
}
.descHeading {
    font-family: 'Mikecraft';
    font-size: 18px;
    color: white;
    text-align: center;
    margin-bottom: 10px;
}
