@import url("reset.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

a {
    text-decoration: solid underline 2px;
    color: #0c751a;
}

header {
    background: #0c751a;
    background-image:  url("media/fotb8_3.jpg");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    padding: 1rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-left: 30%; */
    gap: 1rem;
    height:400px;
}

h2 {
    text-decoration: underline;
}

nav {
    background: #0b4e14;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: "EB Garamond";
    color: white;
    position: relative;
}

.sidenavbtn {
    position: absolute;
    left: 1%;
    top: 25%;
}


.sidenavbtn:hover {
    transform: scale(1.1);
}

nav a {
    color: white;
    padding: 1rem;
    text-decoration: none;
    transition: .1s;
}

nav a:hover {
    background: #072e0c;
    transform: scale(1.1);
}

nav a:active {
    background: #072e0c;
    transform: scale(1.2);
}

img {
    max-height: 500px;
    max-width: 500px;
    object-fit: contain;
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 5%;
    /* border: solid red 1px; */
    justify-content: center;
}

.flex-col-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    /* border: solid red 1px; */
    justify-content: center;
}

/* The side navigation menu */
.sidenav {
    height: 100%;
    /* 100% Full-height */
    width: 250px;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    left: 0;
    background-color: #0b4e14;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.1s;
    /* 0.5 second transition effect to slide in the sidenav */
    display: flex;
    flex-direction: column;
    font-family: "EB Garamond";
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;

    color: white;
    display: block;
    transition: 0.1s;

}

.sidenav span {
    padding: 8px 20px 2px 32px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    color: rgba(255, 255, 255, 0.726);
    display: block;
    transition: 0.1s;
    line-height: 1.3;
    font-size: 0.8rem;
    
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    background: #072e0c;
    color: white;
    transform: scale(1.1);
}

.sidenav a:active {
    transform: scale(1.2);
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.closebtn:hover {
    background: #0b4e14 !important;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}


.container {
    max-width: 60%;
    /* border: dashed red 1px; */
}

.hero {
    background: #2A7B9B;
    background: linear-gradient(45deg, rgba(42, 123, 155, 0.03) 0%, rgba(87, 199, 133, 0.33) 50%, rgba(237, 221, 83, 0.32) 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c751a;
    /* text-shadow: 1px 1px 5px #000; */
    text-align: center;
    margin-bottom: 5%;
    flex-direction: column;
    gap: 1rem;
    padding: 10px;
}

.hero h1 {
    font-size: 2.5rem;
    font-family: "EB Garamond";
}

.btn {
    border: solid 1px #0c751a;
    padding: 10px;
    border-radius: 10px;
    transition: .1s;
    text-align: center;
}

.btn:hover {
    background-color: #0c751a;
    color: white;
    transform: scale(1.1);
}

.btn:active {

    transform: scale(1.2);
}

.section {
    margin: 2rem 0;
}

h2 {
    color: #0c751a;
    font-family: "EB Garamond";
    font-weight: 800;
    font-size: 1.5rem;
}

.section h2 {
    margin-bottom: 1rem;
}

.logo {
    max-width: 300px;
    transition: transform .1s;
}

.logo:hover {
    transform: scale(1.1);
}

.logo:active {
    transform: scale(1.2);
}

p {
    padding-bottom: 1rem;
}

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    nav {
        flex-direction: row;
    }

    nav a {
        border-top: 1px solid #004b80;
    }

    .flex-container {
        margin-right: 2%;
        margin-left: 2%;
    }

    .container {
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    nav a:hover {
        background: #072e0c;
        transform: scale(1.05);
    }

    nav a:active {
        background: #072e0c;
        transform: scale(1.1);
    }

    .sidenav {
        width: 0;
    }

    .sidenavbtn {
        position: absolute;
        left: 1%;
        top: 25%;
    }
}