@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');

body {
    font-family: 'Quicksand';
    background-image: url('/static/background5.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

h1 {
    text-align: center;
    font-size: 50px;
    font-weight: 700;
}

h2 {
    margin-left: 15%;
    margin-top: 30px;
}

h2>i {
    padding-right: 5px;
}

.h2-2 {
    text-align: center;
    margin-bottom: 10px;
    margin-left: 0;
}

h3 {
    text-align: center;
}

.line {
    height: 5px;
    width: 30%;
    margin: 0 auto;
    margin-top: -30px;
    margin-bottom: 50px;
    background-color: black;
}

.line-2 {
    margin-top: -20px;
    height: 5px;
    width: 30%;
}

.text {
    font-size: 25px;
    font-weight: 500;
    text-align: justify;
    margin-left: 10%;
    width: 80%;
}

.button {
    font-family: 'Quicksand';
    font-size: 1.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid black;
    border-radius: 4px;
    border-width: 1px;
    background-color: #b5dff4;
    color: black;
    transition: 0.5s;
}

a.button {
    text-decoration: none;
}

a {
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.button:hover {
    box-shadow: 0 0 11px lightslategrey;
    cursor: pointer;
}

.button:focus {
    background-color: #9fc4d6;
    outline: none;
}

.back-button {
    width: 120px;
    height: 40px;
    margin-top: 30px;
    margin-left: 20px;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.logo {
    height: 60px;
}

.menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: 40px;
    width: 80%;
    margin: 0 auto;
}

.text-picture-text {
    display: grid;
    grid-template-columns: 55% 40%;
    grid-template-rows: 40% 60%;
}

.picture-container {
    display: grid;
    width: 1000px;
    grid-gap: 40px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.pictures {
    position: relative;
    margin: 0 auto;
    filter: brightness(100%);
}

.menu-pic {
    width: 100%;
}

.menu-pic:hover {
    filter: brightness(50%);
}

.pic-text {
    color: white;
    position: absolute;
    font-size: 2.5vw;
    bottom: 20px;
    left: 20px;
}

.list {
    width: 80%;
    margin-left: 10%;
    font-size: 25px;
    list-style: none;
    padding: 0;
}

.list-2 {
    font-size: 2vw;
    list-style: none;
    padding-left: 20px;
}

.list > li {
    padding-top: 10px;
}

.list-2 > li {
    padding-bottom: 20px;
}

.list-2:nth-of-type(1) {
    padding-left: 100px;
}

.underline {
    font-size: 25px;
    padding-right: 20px;
}

.icon {
    padding-right: 10px;
    color: limegreen;
}

.twoRows {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
}

.twoRows-2 > .list-2:nth-of-type(1) {
    justify-self: right;
}

.twoRows-2 {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
}

.threeRows {
    display: flex;
    margin-left: 10%;
}

.iframe-hide {
    width: 40%;
}

.iframe-hide-2 {
    width: 50%;
    display: none;
}

footer {
    bottom: 0;
    margin-left: 5%;
    width: 90%;
}

#myNav {
    display: none;
}

#navButton {
    display: none;
    text-align: right;
}

.pic {
    margin-bottom: 100px;
}

.overlay {
  width: 100%;
  height: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 15%;
  width: 100%;
  text-align: center;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 8vw;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: -15px;
  right: 5px;
  font-size: 60px;
}

#myBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: slategrey;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}
  
#myBtn:hover {
    background-color: #555;
}

.first {
    margin-top: 100px;
}

.last {
    margin-bottom: 100px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

@media (max-width: 1400px) {
    .logo {
        height: 50px;
    }
}

@media (max-width: 1300px) {
    .logo {
        height: 40px;
    }
    .text-picture-text {
        grid-template-rows: 50% 60%;
    }
}

@media (max-width: 1100px) {
    .menu {
        width: 90%;
    }
    .threeRows {
        margin-left: 5%;
    }
    .list-2:nth-of-type(1) {
        padding-left: 50px;
    }
    .button {
        font-size: 2vw;
        padding-right: 5px;
        padding-left: 5px;
    }
    .text {
        width: 90%;
        margin-left: 5%;
    }
    footer {
        width: 90%;
        margin-left: 5%;
    }
    .text-picture-text {
        grid-template-rows: 55% 60%;
    }
}

@media (max-width: 1000px) {
    .logo-container {
        padding: 0;
        padding-top: 20px;
    }
}

@media (max-width: 900px) {
    .logo-container {
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .picture-container {
        width: 700px;
    }
    .pic-text {
        font-size: 3.5vw;
    }
    .button {
        font-size: 3vw;
    }
    .threeRows {
        margin-left: 2.5%;
    }
    .list-2 {
        font-size: 18px;
        padding-left: 10px;
    }
    .list-2:nth-of-type(1) {
        padding-left: 40px;
    }
    .text-picture-text {
        grid-template-rows: 60% 60%;
    }
}

@media (max-width: 767px) {
    .favicon {
        width: 40%;
        display: flex;
        margin: 0 auto;
    }
    .menu {
        display: none;
    }
    .picture-container {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
    .pictures {
        margin-bottom: 20px;
    }
    .pic-text {
        font-size: 12vw;
    }
    #myNav {
        display: block;
    }
    #navButton {
        display: block;
        position: absolute;
        top: 7px;
        right: 10px;
    }
    .back-button {
        font-size: 5vw;
        width: 100px;
        height: 40px;
        margin-top: 10px;
        margin-left: 2px;
    }
    h1 {
        font-size: 32px;
    }
    h2 {
        margin-left: 2.5%;
    }
    .text {
        font-size: 6vw;
        width: 95%;
        margin-left: 2.5%;
    }
    .line {
        margin-top: -20px;
    }
    .line-2 {
        margin-top: -10px;
        margin-bottom: 20px;
        width: 20%;
    }
    .iframe-hide {
        display: none;
    }
    .iframe-hide-2 {
        display: block;
        width: -webkit-fill-available;
        height: 200px;
    }
    .twoRows-2 > .list-2 {
        font-size: 6vw;
    }
    .threeRows {
        margin-left: 2.5%;
    }
    .list {
        font-size: 6vw;
        width: 90%;
        margin-left: 5%;
    }
    .list-2 {
        font-size: 4.2vw;
        padding-left: 10px;
    }
    .list-2:nth-of-type(1) {
        padding-left: 0;
    }
    footer {
        position: relative;
    }
    .logo-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: unset;
    }
    .logo {
        padding-top: 10px;
        height: 35px;
    }
    .first {
        margin-top: 50px;
    }
    .last {
        margin-bottom: 50px;
    }
    #myBtn {
        bottom: 10px;
        right: 10px;
    }
    .text-picture-text {
        display: block;
    }
    .pic {
        margin-bottom: 50px;
    }
    .mob {
        display: none;
    }
}