#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;
    margin: 0;
    height: 100%;
    padding: 0 25px 0 25px;
    text-align: center;
}
nav ul li {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 0 10px 0 10px;
    }    
nav ul li a {
    text-decoration: none;
    color: #000;
    text-align: center;
    width: 100%;
    height: 100%;
    display: block;
    padding: 30px 5px 0 0;
    }
nav ul li:hover {
    background-color: rgba(255, 255, 255, 0.7);
    height: 100%;
    width: 100%;
    }
nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.7);
    height: 100%;
    width: 100%;
    }

main {
    grid-column: 2/5;
    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;
}
body {
    margin: 0;
}
main h4 p {
grid-column: 2/4;
}
* {
    box-sizing: border-box;
}
main h2 {
    text-decoration: underline;
}
h2 {
    font-size: 40px;
    text-align: center;
}
h4 {
    font-size: 22px;
    text-decoration: underline;
}
table {
    align-items: center;
    margin: 50px;
}
table, th, td {
    border: 2px solid #000;
}
td {
    text-align: center;
    padding: 10px;
}
th {
    font-size: 17px;
    padding: 20px;
}
p {
    padding-left: 50px;
    padding-right: 50px;
    text-wrap: wrap;
}
h3 {
    font-size: 27px;
}
/*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;
}
#navigation {
    grid-column: 1/2;
    background-color: #ffffff;
    margin-left: 5%;
    margin-right: 5%;
    width: auto;
    height: auto;
    border: 1px solid #000;
}
#navigation ul {
    list-style: none;
    display: block;
    padding-left: 0;
    margin: 0;
}
#navigation ul li {
    padding: 5px;
    width: 100%;
    text-decoration: none;
    background-color: rgba(255, 165, 85,0.9);
    border: 1px solid #000;
}
#navigation ul ul li{
    background-color: rgba(255, 165, 85,0.74);
}
#navigation ul ul li a {
    padding-left: 5px;
}
#navigation ul li:hover {
    background-color: #ACCEEA;
    width: 100%;
}
#navigation a {
    display: block;
    text-decoration: none;
    color: #000;
}
/*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;
}
.founder {
    width: 100%;
    height: auto;
    display: flex;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto;
}
.founder p {
    padding: 0;
}
.founder h4 {
    margin: 0;
}
.founder img {
    border-radius: 50%;
    grid-column: 1/2;
}
.foundertext {
    display: flex;
    text-wrap: wrap;
    grid-column: 2/3;
    flex-direction: column;
    margin: 15px;
}

#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;
}
#hamburger-icon ul a {
    color: #000;
    padding: 5px;
}
#hamburger-icon ul a:hover {
    background-color: rgb(145, 146, 255);
}
.climbcat1 {
background-color: rgb(75, 119, 252);
}
.climbcat2 {
    background-color: rgb(75, 211, 252);
}
.climbcat3 {
    background-color: rgb(75, 252, 99);
}
.climbcat4 {
    background-color: rgb(246, 252, 75);
}
.climbcat5 {
    background-color: rgb(252, 166, 75);
}
.climbcat6 {
    background-color: rgb(254, 88, 88);
}
/*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;
    }
}