html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  scroll-behavior: smooth;
  --nav-height: 72px;
}

section::before {
  content: "";
  display: block;
  height: 80px;
  margin: -80px 0 0;
}

nav {
  top: 0;
  left: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(black), to(transparent));
  background: linear-gradient(black, transparent);
  height: 108px;
  width: 100%;
  position: fixed;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 24px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #ccc;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}

nav a {
  color: inherit;
  text-decoration: none;
}

nav .logo-container {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

nav .logo {
  width: 280px;
  max-width: calc(100vw - 120px);
  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}

nav .links a {
  padding: 8px 16px;
}

nav .links a,
nav .menu a {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

nav .links:hover a,
nav .menu:hover a {
  opacity: 0.5;
}

nav .links a:hover,
nav .menu a:hover {
  opacity: 1;
}

nav .hamburger {
  display: none;
}

html:not([data-scroll="0"]) nav {
  height: var(--nav-height);
  background: white;
  color: #1a1a1a;
}

html:not([data-scroll="0"]) nav .logo {
  width: 200px;
}

nav .menu {
  display: none;
}

@media screen and (max-width: 1250px) {
  nav .links {
    display: none;
  }
  nav .hamburger {
    z-index: 1;
    display: block;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    position: relative;
    width: 51px;
    height: 51px;
    cursor: pointer;
  }
  nav .hamburger .bar {
    position: absolute;
    width: 41px;
    height: 2px;
    background: currentColor;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  nav .hamburger .bar:nth-child(1) {
    top: 10px;
    left: 5px;
  }
  nav .hamburger .bar:nth-child(2) {
    top: 23px;
    left: 5px;
  }
  nav .hamburger .bar:nth-child(2)::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 41px;
    height: 2px;
    background: currentColor;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    content: "";
    pointer-events: none;
  }
  nav .hamburger .bar:nth-child(3) {
    top: 36px;
    right: 5px;
  }
  nav .menu {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000c;
    pointer-events: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
    -webkit-transform: translateY(-5%);
            transform: translateY(-5%);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
    transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  }
  nav .menu .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
  nav .menu .container a {
    font-size: 32px;
    padding: 16px 0;
  }
  nav.open {
    color: #ccc !important;
  }
  nav.open .hamburger .bar:nth-child(1), nav.open .hamburger .bar:nth-child(3) {
    width: 0;
  }
  nav.open .hamburger .bar:nth-child(2) {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  nav.open .hamburger .bar:nth-child(2):after {
    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
  }
  nav.open .menu {
    pointer-events: initial;
    -webkit-transform: none;
            transform: none;
    opacity: 1;
  }
}

.nav-offset {
  height: var(--nav-height);
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 200;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  /* Modal Content */
  /* The Close Button */
}

.modal .modal-content {
  background-color: #fefefe;
  margin: 10vh auto;
  padding: 32px 32px 16px 32px;
  border: 1px solid #888;
  width: 80%;
  max-height: calc(100% - 20vh);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.modal .modal-content .content {
  overflow: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.modal .modal-content .content > header {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: green;
}

.modal .modal-content .content .title {
  text-align: center;
  font-weight: bold;
  padding-top: 16px;
  padding-bottom: 12px;
}

.modal .modal-content button {
  margin-top: 16px;
}

.modal .accept {
  color: white;
  background-color: green;
  float: right;
  font-size: 28px;
  font-weight: bold;
  border-radius: 10px;
  border: none;
  padding: 5px;
}

#news > header {
  background-color: green;
  color: white;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  padding: 100px 32px;
}

#news a {
  color: inherit;
  text-decoration: none;
}

#news .news-cards {
  background-image: url("../images/milk-01.png");
  background-position: center;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 32px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#news .news-cards .article {
  padding: 32px;
  background-color: white;
  width: 500px;
  margin: 16px;
  line-height: 1.5;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-animation: fade-up 0.5s calc(var(--i) * 0.1s);
          animation: fade-up 0.5s calc(var(--i) * 0.1s);
  -webkit-animation-fill-mode: backwards;
          animation-fill-mode: backwards;
}

@-webkit-keyframes fade-up {
  from {
    opacity: 0;
    -webkit-transform: translateY(24px);
            transform: translateY(24px);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    -webkit-transform: translateY(24px);
            transform: translateY(24px);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}

#news .news-cards .article .date {
  color: #16aa07;
  padding: 16px 0;
}

#news .news-cards .article > header {
  margin: 4px 0px 16px;
  font-size: 24px;
}

#news .news-cards .article:hover {
  -webkit-box-shadow: 0 0 16px 0 #0003;
          box-shadow: 0 0 16px 0 #0003;
  -webkit-transform: scale(1.01);
          transform: scale(1.01);
}
/*# sourceMappingURL=style.css.map */