* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: auto;
}

.container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}

h1 {
    color: black;
}
.head{
    color: white;
    font-size: 56px;
}
.section1 {
    height: 100vh;
    background-image: linear-gradient(rgba(11, 21, 63, 0.7), rgba(4, 9, 30, 0.7)), url(bg1.webp);
    background-size: cover;
    
}
.section2 {
    background-color:whitesmoke;
    background-size: cover;
}
.section3 {
    height: 100vh;
    background-color: turquoise;
    background-image:linear-gradient(rgba(1, 10, 0, 0.447), rgba(1, 10, 0, 0.447)),url(bg3.webp);
    background-size: cover;
    
}

.section4 {
    height: 100vh;
    background-color: green;
    background-image: linear-gradient(rgba(74, 8, 8, 0.7), rgba(74, 65, 8, 0.7)),url(bg4.webp);
    background-size: cover;
}

nav {
    background-color:white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

nav li img {
    width: 112.5px;
    height: 37.5px;
}

nav a:hover {
    background-color: darkgray;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.223);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

.MenuButton {
    display: none;
}

@media(max-width: 562px) {
    .hideOnMobile {
        display: none;
    }

    .MenuButton {
        display: block;
    }
}

@media(max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}
.hometext{
    color: white;
    align-items: center;
    padding: 0 10%;
    max-width: 1000px;
    text-align: center;
    align-content: center;

}
.hometext p{
    font-size: 16px;
    margin: 20px 0 40px;
}
.btn-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 345px;
    height: 50px;
    margin: 0 auto;
}
.btn-box a{
    text-decoration: none;
    width: 150px;
    height: 100%;
    background: rgb(107, 143, 17);
    border: 2px solid rgb(107, 143, 17);
    border-radius:12px;
    font-size: 19px;
    color: black;
    font-weight: 600;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
    display:flex;
}
.btn-box a:nth-child(2){
    background: transparent;
    color:rgb(107, 143, 17);
}
h3{
    text-align: center;
    font-size: 30px;
    margin: 0;
    padding-top: 10px;
}
.gallery{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}
.content{
    width: 20%;
    margin: 15px;
    box-sizing: border-box;
    float: left;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    padding-top: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    transition: .4s;
    background: #f2f2f2;
}
.content:hover{
    box-shadow: 0 3px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transform: translate(0px, -8px);
}
.content p{
    color: darkgrey;
    padding: 10px;
}
.content img{
    width: 200px;
    height: 200px;
    text-align: center;
    margin: 0 auto;
    display: block;
}
@media(max-width:1000px){
    .section2{
        height: 290vh;
    }
    .content{
        width: 45%;
    }
}
@media(max-width:750px){
    .section2{
        height: 490vh;
    }
    .content{
        width: 100%;
    }
}
@media(max-width:210px){
    .section2{
        height: 1020vh;
    }
    .content{
        width: 100%;
    }
}
@media(max-width:386px){
    .section2{
        height: 550vh;
    }
    .content{
        width: 100%;
    }
}