@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

* {
    box-sizing: border-box;
}

p a {
    text-decoration: none;
    color: #000;
}

p a:hover {
    color: #128518;
    text-decoration: underline;
}

p a:visited {
    color: #3f6141;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    margin: 0;
    background-color: beige;
    background-image: url('../images/floor-tile.png');
    background-attachment: fixed;
}

#wrapper {
    line-height: 200%;
    margin: auto;
    width: 80%;
    background-color: rgb(255, 255, 255);
    border: 1px solid #128518;
    box-shadow: 5px 10px 20px;
}

.button {
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    width: 50%;
    background-color: #FFF;
    border: 2px solid #3f6141;
    padding: 15px;
    margin: 25px 0;
    transition: 0.5s;
}

.active, .button:hover {
    color: #FFF;
    background-color: #3f6141;
    font-weight: bold;
}

/* Collapsing sections on buttons styling modified from https://www.w3schools.com/howto/howto_js_collapsible.asp */
.collapsible {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.collapsible img {
    width: 45%;
    margin: 5px;
    box-shadow: 0 0 5px #000;
}

/*.collapsible img:hover {
    transition: 0.5s;
    transform: scale(1.1);
    box-shadow: 0 0 10px #000;
}*/

nav a {
    text-decoration: none;
    color: #FFF;
    font-weight: bold;
    display: block;
    padding: 5px 30px;
    transition: 0.5s;
}

nav a:hover {
    color: rgb(255, 208, 0);
}

nav a:visited {
    color: beige;
}

nav li {
    display: inline-block;
}

.navColumn {
    float: right;
    width: 70%;
    border-radius: 10px;
}

.bg {
    background-color: rgb(0,0,0,0.3);
    width: auto;
    height: 100px;
}

.logoColumn {
    background-image: url('../images/logo-3.png');
    background-size: 190px 190px;
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px 20px;
    height: 100px;
    float: left;
    width: 30%;
}

.banner {
    background-color: rgb(182, 204, 188);
    background-image: url('../images/background-2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    /*width: auto;*/
    text-align: center;
    border-bottom: 5px solid #128518;
}

.text-content {
    width: 50%;
    margin: 40px auto;
    background-color: rgb(0,0,0,0.2);
    border-radius: 10px;
}

/* Fix text layout*/
.banner h1 {
    font-size: 50px;
    line-height: 100%;
    color: #fff;
    padding: 10px;
    margin: 0;
}

main {
    width: 80%;
    margin: 40px auto;
}

/* left columns */
aside img {
    width: 40%;
}

.row1 section {
    float: left;
    width: 58%;
}

section li a {
    text-decoration: none;
    color: #000;
}

section li a:hover {
    color: #128518;
    text-decoration: underline;
}

section li a:visited {
    color: #3f6141;
}

.row1 aside img {
    display: block;
    margin: 10px auto;
    width: 75%;
    height: 75%;
}

.row2 aside {
    float: left;
    width: 40%;
}

.row2-games {
    padding-top: 10px;
    padding-bottom: 10px;
}

.row2-games h3 {
    background-color: rgb(182, 204, 188);
    border-radius: 10px;
    border: 1px solid #128518;
    padding: 5px 2px 5px 12px;
    margin-top: 0px;
}

.row2-games aside {
    float: left;
    width: 40%;
}

.row2-games aside img {
    width: 80%;
    box-shadow: 0 0 5px #000;
}

.row3 section {
    float: left;
    width: 40%;
}

/* right columns */
section img {
    width: 40%;
}

.row1 aside {
    float: right;
    width: 40%;
}

.row2 section {
    text-align: center;
    float: right;
    width: 40%;
}

.row2-games section {
    text-align: left;
    float: right;
    width: 60%;
}

.row3 aside {
    float: right;
    width: 50%;
}

.column {
    float: left;
    width: 33.33%;
    padding: 10px;
    text-align: center;
}

.column img {
    width: 70%;
    box-shadow: 0 0 5px #000;
    transition: 0.5s;
}

.column img:hover {
    transition: 0.5s;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgb(255, 208, 0);
}

.column a {
    text-decoration: none;
}

footer {
    text-align: center;
    background-color: #3f6141;
    color: #FFF;
    /* padding-top: 60px; */
    border-top: 5px solid #128518;
}

.clearfix {
    content: "";
    display: table;
    clear: both;
}

table {
    width: 100%;
    margin: 5px auto;
    box-shadow: 0 0 10px;
    
}

table td {
    text-align: center;
}

table th {
    background-color: rgb(182, 204, 188);
}

table, th, td {
    border: 1px solid #000;
    border-collapse: collapse;
}

form {
    padding: 2em;
    display: block;
    margin: 5px auto;
    width: 80%;
    background-color: rgb(182, 204, 188);
    border: 1px solid #128518;
    border-radius: 10px;
    box-shadow: 0 0 10px;
}

form label {
    display: block;
    text-align: left;
    width: auto;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

form input {
    display: block;
    margin: auto;
    width: 100%;
    height: 20px;
    border-style: none;
}

textarea {
    display: block;
    width: 100%;
    margin: auto;
    border-style: none;
}

.social {
    padding: 5px;
    font-size: 40px;
    width: 30%;
    text-align: center;
    text-decoration: none;
    margin: 0px 2px;
}

.social img {
    width: 40px;
    height: auto;
}

.input-wrapper {
    width: 100%;
    border: 1px solid #128518;
    background-color: #FFF;
    border-radius: 10px;
    padding: 10px 30px 9px 22px;
    margin-bottom: 20px;
}

.submitbutton {
    border-radius: 10px;
    height: 30px;
}

.description {
    text-align: center;
    background-color: rgb(182, 204, 188);
    border: 1px solid #128518;
    border-radius: 10px;
    padding: 2px;
    height: 200px;
}

.description h3 {
    width: 80%;
    background-color: #FFF;
    margin: 10px auto;
    border-radius: 10px;
    border: 1px solid #128518;
}

.description p {
    font-size: 18px;
    line-height: normal;
    padding: 2px;
    margin: 5px;
}

h2 {
    text-decoration: underline;
}

.contact {
    float: left;
    width: 50%;
    margin: 1px;
}

.slider {
    float: left;
    width: 50%;
    margin-left: 25px;
    margin-top: 10px;
    margin-right: 1px;
    margin-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.slide {
    padding-left: 5px;
    padding-right: 5px;
    margin: auto;
    border: 1px solid #128518;
    box-shadow: 0 0 10px #000;
}

/* Tablet formatting */
@media only screen and (max-width: 1024px) {
    body {
        margin: 0px;
        background-image: none;
    }

    #wrapper {
        width: auto;
        min-width: 0px;
        margin: 0px;
        padding: 0px;
        box-shadow: none;
    }

    form {
        margin: 30px auto;
    }

    .contact {
        float: none;
        width: 100%;
        margin-top: 5px;
    }

    .slider {
        float: none;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .column {
        float: left;
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .row1 section, .row1 aside {
        float: none;
        width: 100%;
    }

    .row1 aside img {
        height: 50%;
        width: 50%;
    }

    iframe {
        width: 100%;
    }
}

/* Mobile formating */
@media only screen and (max-width: 768px) {
    .banner {
        background-color: rgb(182, 204, 188);
        background-image: url('../images/background-2.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        text-align: center;
        border-bottom: 5px solid #128518;
        height: 425px;
    }

    .bg {
        background-color: rgb(0,0,0,0.3);
        height: 350px;
    }

    .text-content {
        background-color: rgb(0,0,0,0.3);
        border-radius: 0px;
        width: 100%;
        margin: 0px;
    }

    .logoColumn {
        padding: 0px;
        width: 100%;
        float: none;
    }

    .navColumn {
        float: none;
        width: 100%;
    }
    
    nav a {
        display: block;
        width: auto;
    }

    nav li {
        display: block;
    }

    nav ul {
        padding-left: 0px;
    }

    form {
        width: 100%;
        height: 450px;
    }

    .row2-games aside {
        float: none;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .row2-games aside img {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .row2-games section {
        float: none;
        width: 100%;
    }
    
    iframe {
        width: 100%;
        height: 50%;
    }

    .description {
        height: 225px;
    }

}

