/* Style inputs with type="text", select elements and textareas */
h3 {
  font-family: "Spartan", sans-serif;
  color: #333;
  outline: none;
}

input[type=text], select, textarea {
  /* Full width */
  padding: 12px;
  /* Some padding */
  border: 1px solid #ccc;
  /* Gray border */
  border-radius: 4px;
  /* Rounded borders */
  box-sizing: border-box;
  /* Make sure that padding and width stays in place */
  margin-top: 6px;
  /* Add a top margin */
  margin-bottom: 16px;
  /* Bottom margin */
  resize: none;
  /* Allow the user to vertically resize the textarea (not horizontally) */
  font-family: "Spartan", sans-serif;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: rgba(116, 125, 140, 1.0);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Spartan", sans-serif;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: rgba(116, 125, 140, 0.5);
}

* {
  margin: 0;
  padding: 0;
}

::selection {
  background-color: rgba(235, 195, 48, 0.5);
}

html {
  scroll-behavior: smooth;
}

@media screen and (min-width: 801px) {

  /*Navigation*/
  nav #cb {
    display: none;
  }

  .logo {
    display: inline-block;
    font-family: "Odibee Sans", sans-serif;
    font-size: 1.5em;
    width: 45px;
    outline: none;
    margin: 15px 40px 15px 0;
    float: left;
  }

  #logoImg {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }

  .logo:hover {
    cursor: pointer;
  }

  nav {
    position: fixed;
    z-index: 1000;
    height: auto;
    /* min-height: 65px; */
    padding-left: 5vw;
    width: 100%;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8);
  }

  nav ul li {
    display: inline-block;
    list-style: none;
    outline: none;
    margin: 15px 20px 15px 0;
  }

  nav ul li a {
    color: rgba(47, 53, 66, 1.0);
    font-family: "Spartan", sans-serif;
    font-size: 1.5em;
    font-weight: normal;
    text-decoration: none;
  }

  nav ul li:hover>a {
    cursor: pointer;
  }

  /*front page*/
  #wrapper {
    padding: 5vh 5vw;
  }

  #container1 {
    float: left;
    display: block;
    position: relative;
    width: 44.5vw;
    min-width: 500px;
    height: 90vh;
    min-height: 500px;
    box-sizing: border-box;
    background-color: rgba(116, 125, 140, 1.0);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }

  #container2 {
    float: left;
    display: block;
    position: relative;
    width: 44.5vw;
    min-width: 500px;
    height: 90vh;
    min-height: 500px;
    box-sizing: border-box;
    background-color: rgba(116, 125, 140, 1.0);
    margin-bottom: 5vh;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  #info_l {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 25vw;
    height: 60vh;
    min-height: 350px;
    min-width: 500px;
    background-color: transparent;
    border: none;
    outline: none;
  }

  #info_l h1 {
    font-family: 'Quicksand', sans-serif;
    font-weight: normal;
    font-size: 3.25em;
    color: #FFF;
  }

  #info_c {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25vw;
    height: 60vh;
    min-height: 350px;
    min-width: 500px;
    background-color: rgba(255, 255, 255, 1);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    outline: none;
  }

  #inner_c {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 1);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 25vw;
    height: 60vh;
    min-height: 400px;
    min-width: 500px;
  }

  #inner_i {
    position: absolute;
    height: auto;
    left: 70%;
    transform: translateX(-70%);
    max-width: 325px;
    width: 90%;
    text-align: left;
    text-indent: 2px;
    background-color: transparent;
    box-sizing: border-box;
  }

  #inner_i h1, h2 {
    font-family: "Spartan", sans-serif;
    color: #333;
    outline: none;
  }

  input[type=text], select, textarea {
    width: 100%;
  }

  .th {
    font-weight: bold;
    font-size: 2.25em;
    padding: 25px 0 7px 0;
  }

  .th_small {
    font-size: 1.75em;
  }

  #pic_c {
    position: absolute;
    display: inline-block;
    right: 90%;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 425px;
    height: 425px;
    background-image: url("pictures/nature/n25.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0px 0px 59px -15px rgba(0, 0, 0, 0.75);
    outline: none;
  }
}

@media screen and (max-width: 1550px) {
  #container1, #container2 {
    width: 100%;
  }

  /* #container1 {
    height: 75vh;
  } */
  #container2 {
    height: 45vh;
  }

  #info_l {
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
  }

  #inner_c, #info_c {
    width: 45vw;
    height: 60vh;
    min-height: 400px;
    max-height: 420px;
    min-width: 400px;
  }

  #inner_i {
    position: absolute;
    height: auto;
    left: 70%;
    transform: translateX(-70%);
    max-width: 325px;
    width: 90%;
    text-align: left;
    text-indent: 2px;
    background-color: transparent;
    box-sizing: border-box;
  }

  #pic_c {
    max-width: 380px;
    height: 380px;
  }

  input[type=text], select, textarea {
    width: 90%;
  }
}

/*Mobile Version*/
@media screen and (max-width: 800px) and (min-width: 320px) {

  /*Hamburger menu*/
  nav .hamburg {
    position: relative;
    float: left;
    display: block;
    background: #555;
    width: 50px;
    height: 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    border-radius: 4px;
  }

  .line {
    position: absolute;
    display: block;
    width: 44px;
    height: 4px;
    left: 3px;
    border-radius: 3px;
    background-color: white;
    transition: 0.5s;
    transform-origin: center;
  }

  .line:nth-child(1) {
    top: 12px;
  }

  .line:nth-child(2) {
    top: 24px;
  }

  .line:nth-child(3) {
    top: 36px;
  }

  nav #cb {
    display: none;
  }

  nav #cb:checked~ul {
    display: block;
    -webkit-animation: fade 0.5s ease-out;
    animation: fade 0.5s ease-out;
  }

  nav #cb:checked~.hamburg .line {
    transform: rotate(-45deg);
  }

  nav #cb:checked~.hamburg .line:nth-child(1) {
    opacity: 0;
  }

  nav #cb:checked~.hamburg .line:nth-child(3) {
    transform: translateY(-12px) rotate(45deg);
  }

  @keyframes fade {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  @-webkit-keyframeskeyframes fade {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  /*navigation*/
  nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .logo {
    position: absolute;
    width: 50px;
    font-family: "Odibee Sans", sans-serif;
    font-size: 2.5em;
    top: 10px;
    left: 10px;
    outline: none;
  }

  #logoImg {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }

  nav ul {
    display: none;
    background-color: rgba(255, 255, 255, 0.75);
    text-align: center;
  }

  nav ul li {
    display: inline-block;
    list-style: none;
    outline: none;
    margin: 15px 20px 15px 0;
  }

  nav ul li a {
    color: rgba(47, 53, 66, 1.0);
    font-family: "Spartan", sans-serif;
    font-size: 1.25em;
    font-weight: normal;
    text-decoration: none;
  }

  nav ul li:hover>a {
    cursor: pointer;
  }

  /*front page*/
  #wrapper {
    padding: 2.5vh 5vw;
  }

  #container1 {
    display: block;
    position: relative;
    /* width: 90vw; */
    height: 65vh;
    min-height: 350px;
    box-sizing: border-box;
    background-color: rgba(116, 125, 140, 1.0);
  }

  #info_l {
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    left: 50%;
    top: 0;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 90vw;
    height: 60vh;
    min-height: 400px;
    background-color: transparent;
    border: none;
    outline: none;
  }

  #info_l h1 {
    font-family: "Roboto Mono", sans-serif;
    font-weight: normal;
    font-size: 2em;
    color: #FFF;
  }

  #container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 90vw;
    height: 65vh;
    padding-top: 15px;
    min-height: 400px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 1);
  }

  #inner_c, #info_c {
    width: auto;
    height: auto;
  }

  #inner_i {
    position: absolute;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    max-width: 325px;
    width: 90%;
    text-align: left;
    text-indent: 2px;
    background-color: transparent;
    box-sizing: border-box;
  }

  input[type=text], select, textarea {
    width: 100%;
  }

  #pic_c {
    display: none;
    width: 0;
    height: 0;
  }
}