#layout {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) repeat(3,325px) minmax(0px, 1fr) ;
    grid-template-rows: auto
}

header {
    grid-column: 1/6;
    grid-row: 1/2;
    background-color: rgb(255, 255, 255,0.3);
    table-layout: auto;
    display: flex;
}
nav {
margin-left: auto;
}
nav a {
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 0;
    font-size: 25px; 
}
nav ul { 
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    padding-left: 20px;
    padding-right: 20px;
}
nav ul li {
    display: inline;
    width: 100%;
    }    
nav ul li a {
    text-decoration: none;
    padding: 20px;
    color: #000;
    }
main {
    grid-column: 2/5;
    grid-row: 3/6;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
}
footer {
    grid-column: 1/6;
    grid-row: 6;
    background-color: #ACCEEA;
    text-align: center;

}
body {
    background: linear-gradient(#ACCEEA, #ffffff);
}
h1 {
    font-size: 35px;
    padding-left: 10px;
}
header img {
    height: 100px;
    width: 120px;
}
nav a:hover {
    background-color: rgba(255, 255, 255, 0.7);
    }
body {
    margin: 0;
}
main h4 p {
grid-column: 2/4;
}
* {
    box-sizing: border-box;
}
main h2 {
    text-decoration: underline;
}
h2 {
    font-size: 25px;
}
h4 {
    font-size: 22px;
    text-decoration: underline;
}

/*ID TAGS*/
#adventuremain {
    background-image: url(pictures/adventure_main_page.jpg);
    grid-column: 1/6;
    grid-row: 1/3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 400px;
}
#canyoneeringmain {
    background-image: url(./pictures/canyoneering_main.jpg);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1/6;
    grid-row: 1/3;
}
#climbingmain {
    background-image: url(./pictures/climbingmain.jpg);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-column: 1/6;
    grid-row: 1/3;
}

/*CLASS TAGS*/
.maintext {
    text-wrap: wrap;
    display: flex;
    font-size: 20px;
}
.mainpictures {
    height: 300px;
    width: auto;
    display: flex;
    float: right;
}
.mainborder {
    border: 2px solid #000;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    margin: 10px;
    text-wrap: wrap;
    flex-wrap: wrap;
}



#slider-container {
    max-width: 600px;
    margin-left: auto;
    overflow: hidden;
    padding: 10px;
}

#image-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    text-align: center;
}

img {
    width: auto;
    height: 300px;
}

.slide-text {
    margin-top: 10px;
}
#second-slider-container {
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    padding: 10px;
}

#second-image-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.second-slide {
    min-width: 100%;
    text-align: center;
}

.second-slide-text {
    margin-top: 10px;
}
#hamburger-icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
}
#hamburger-icon div {
    width: 35px;
    height: 3px;
    background-color: #000;
    margin: 6px 0;
    transition: 0.4s;
}
.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}
.open .bar2 {
    opacity: 0;
}
.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}
.open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    height: 400px;
    width: 100%;
    list-style: none;
    font-size: 25px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
}
header a {
    text-decoration: none;
}
ul a {
    color: #000;
    padding: 5px;
}
ul a:hover {
    background-color: rgb(145, 146, 255);
}

/*MEDIA QUERIES*/
@media only screen and (max-width: 992px){
    #layout {
        grid-template-columns: minmax(0px, 1fr) repeat(3,275px) minmax(0px, 1fr) ;
        }
        nav ul { 
            flex-flow: wrap;
        }
}
@media only screen and (max-width: 798px){
    #layout {
        grid-template-columns: minmax(0px, 1fr) repeat(3,200px) minmax(0px, 1fr) ;
        }
    .mainborder {
        flex-direction: column;
    }
    nav {
        display: none;
    }
    #hamburger-icon {
        display: block;
        margin-left: auto;
        padding-right: 20px;
    }
}