*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
}

@media (max-width: 56.25em) {
  html {
    font-size: 50%;
  }
}

@media (min-width: 112.5em) {
  html {
    font-size: 75%;
  }
}

body {
  box-sizing: border-box;
  color: #343a40;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
  line-height: 1.7;
}

.heading-primary {
  margin-bottom: 6rem;
  color: #eee;
  backface-visibility: hidden;
}

.heading-primary--main {
  display: block;
  font-weight: 400;
  font-size: 6rem;
  letter-spacing: 1.5rem;
  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

@media (max-width: 37.5em) {
  .heading-primary--main {
    font-size: 4rem;
    letter-spacing: 1rem;
  }
}

.heading-primary--sub {
  display: block;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1.5rem;
  animation: moveInRight 1s ease-out;
}

@media (max-width: 75em) {
  .heading-primary--sub {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
  }
}

@media (max-width: 37.5em) {
  .heading-primary--sub {
    font-size: 1rem;
    letter-spacing: 0.25rem;
  }
}

.call-us {
  color: #eee;
}

.call-us--text {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.25rem;
  backface-visibility: hidden;
  animation: fadeIn 0.7s ease-out 0.4s 1 both;
}

.call-us--number {
  display: block;
  font-weight: 700;
  font-size: 5rem;
  letter-spacing: 0.75rem;
  animation: moveInBottom 0.7s ease-out 0.5s 1 both;
}

@media (max-width: 37.5em) {
  .call-us--number {
    font-size: 3rem;
    letter-spacing: 0.25rem;
  }
}

.heading-secondary {
  font-weight: 300;
  font-size: 4rem;
}

@media (max-width: 56.25em) {
  .heading-secondary {
    font-size: 3rem;
  }
}

@media (max-width: 37.5em) {
  .heading-secondary {
    font-size: 2rem;
  }
}

.heading-tertiary {
  font-weight: 700;
  font-size: 1.6rem;
}

em {
  font-weight: 300;
  font-size: 3rem;
  font-style: normal;
  line-height: 4rem;
}

.paragraph {
  font-size: 1.6rem;
}

.paragraph:not(:last-child) {
  margin-bottom: 3rem;
}

.section-privacy a:link,
.section-privacy a:visited {
  color: #343a40;
  text-decoration: none;
}

.section-privacy a:hover {
  color: #4d6b8c;
}

.u-center-text {
  text-align: center;
}

.u-margin-bottom-big {
  margin-bottom: 8rem;
}

@media (max-width: 56.25em) {
  .u-margin-bottom-big {
    margin-bottom: 5rem;
  }
}

.u-margin-bottom-medium {
  margin-bottom: 4rem;
}

@media (max-width: 56.25em) {
  .u-margin-bottom-medium {
    margin-bottom: 3rem;
  }
}

.u-margin-bottom-small {
  margin-bottom: 2rem;
}

@keyframes moveInLeft {
  0% {
    transform: translateX(-10rem);
    opacity: 0;
  }

  80% {
    transform: translateX(1rem);
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes moveInRight {
  0% {
    transform: translateX(10rem);
    opacity: 0;
  }

  80% {
    transform: translateX(-1rem);
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes moveInBottom {
  0% {
    transform: translateY(3rem);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

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

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.navigation {
  position: relative;
  z-index: 999;
  width: 100%;
  height: 7rem;
  background-color: #343a40;
}

.navigation__list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding-bottom: 2rem;
  text-align: left;
  list-style: none;
  background-color: #343a40;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 400ms ease-in-out;
}

.navigation__item {
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.navigation__link:link,
.navigation__link:visited {
  color: #eee;
  font-weight: 300;
  font-size: 1.6rem;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}

.navigation__link:hover,
.navigation__link:active {
  color: #76a3d5;
  border-bottom: 1px solid #76a3d5;
}

.nav-toggle {
  display: none;
}

.nav-toggle:checked ~ .navigation__list {
  transform: scale(1, 1);
}

.nav-toggle:checked ~ .navigation__list .navigation__link {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 2rem;
  color: #eee;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 2px;
  background: #eee;
  border-radius: 2px;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  content: "";
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

.row {
  max-width: 114rem;
  margin: 0 auto;
}

.row:not(:last-child) {
  margin-bottom: 8rem;
}

@media (max-width: 56.25em) {
  .row:not(:last-child) {
    margin-bottom: 3rem;
  }
}

@media (max-width: 75em) {
  .row {
    padding: 0 3rem;
  }
}

@media (max-width: 56.25em) {
  .row {
    max-width: 90rem;
  }
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.row [class^="col-"] {
  float: left;
}

.row [class^="col-"]:not(:last-child) {
  margin-right: 6rem;
}

@media (max-width: 56.25em) {
  .row [class^="col-"]:not(:last-child) {
    margin-right: 0;
    margin-bottom: 3rem;
  }
}

@media (max-width: 56.25em) {
  .row [class^="col-"] {
    width: 100% !important;
  }
}

.row .col-1-of-2 {
  width: calc((100% - 6rem) / 2);
}

.row .col-1-of-3 {
  width: calc((100% - 2 * 6rem) / 3);
}

.row .col-2-of-3 {
  width: calc(2 * ((100% - 2 * 6rem) / 3) + 6rem);
}

.row .col-1-of-4 {
  width: calc((100% - 3 * 6rem) / 4);
}

.row .col-2-of-4 {
  width: calc(2 * ((100% - 3 * 6rem) / 4) + 6rem);
}

.row .col-3-of-4 {
  width: calc(3 * ((100% - 3 * 6rem) / 4) + 2 * 6rem);
}

.header {
  position: relative;
  height: 95vh;
  background-image: linear-gradient(
    to right bottom,
    rgba(52, 58, 64, 0.4),
    rgba(0, 0, 0, 0.9)
  ),
    url(../img/newcastle-swing-bridge.jpg);
  background-position: top;
  background-size: cover;
  clip-path: polygon(0 0, 100% 0, 100% 85vh, 0 100%);
}

.header__logo-box {
  position: absolute;
  top: 4rem;
  left: 4rem;
}

.header__logo {
  height: 3.5rem;
}

.header__text-box {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.footer {
  padding: 10rem 0;
  color: #eee;
  font-size: 1.2rem;
  background-color: #343a40;
}

@media (max-width: 56.25em) {
  .footer {
    padding: 8rem 0;
  }
}

.footer__logo-box {
  margin-bottom: 8rem;
  text-align: center;
}

@media (max-width: 56.25em) {
  .footer__logo-box {
    margin-bottom: 4rem;
    text-align: left;
  }
}

.footer__logo {
  width: 32rem;
  height: auto;
}

.footer__navigation {
  display: inline-block;
  padding-top: 2rem;
  border-top: 1px solid #4d6b8c;
}

@media (max-width: 56.25em) {
  .footer__navigation {
    width: 100%;
    padding-top: 0;
    border-top: none;
  }
}

.footer__list {
  display: flex;
  flex-direction: row;
}

@media (max-width: 56.25em) {
  .footer__list {
    flex-direction: column;
  }
}

.footer__item {
  list-style: none;
}

.footer__item:not(:last-child) {
  margin-right: 1.5rem;
}

.footer__link:link,
.footer__link:visited {
  color: #eee;
  text-decoration: none;
}

.footer__link:hover,
.footer__link:active {
  color: #76a3d5;
}

.footer .contact-info {
  padding-top: 2rem;
  border-top: 1px solid #4d6b8c;
}

@media (max-width: 56.25em) {
  .footer .contact-info {
    border: none;
  }
}

.footer__copyright {
  padding-top: 2rem;
}

@media (max-width: 56.25em) {
  .footer__copyright {
    border: none;
  }
}

.btn,
.btn:link,
.btn:visited {
  position: relative;
  display: inline-block;
  padding: 1.5rem 4rem;
  font-size: 1.6rem;
  text-decoration: none;
  border: none;
  border-radius: 0.2rem;
  backface-visibility: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 0.2rem;
  transition: all 0.4s;
}

.btn:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.3rem);
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

.btn:active,
.btn:focus {
  outline: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.1rem);
}

.btn--blue {
  color: #fff;
  background-color: #343a40;
}

.btn--blue::after {
  background-color: #343a40;
}

.btn-text:link,
.btn-text:visited {
  display: inline-block;
  padding: 3px;
  color: #343a40;
  font-size: 1.6rem;
  text-decoration: none;
  border-bottom: 1px solid #343a40;
  transition: all 0.2s;
}

.btn-text:hover {
  color: #fff;
  background-color: #343a40;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-text:active {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(0);
}

.section-brands {
  position: relative;
  padding: 15rem 0;
  background-image: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.4),
    rgba(118, 163, 213, 0.9)
  ),
    url(../img/drinks.jpg);
  background-position: top;
  background-size: cover;
}

@media (max-width: 56.25em) {
  .section-brands {
    padding: 10rem 0;
  }
}

.brands {
  width: 75%;
  margin: 0 auto;
  padding: 6rem;
  padding-left: 9rem;
  font-size: 1.6rem;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
  transform: skewX(-12deg);
}

@media (max-width: 56.25em) {
  .brands {
    width: 90%;
    padding: 4rem;
    padding-left: 4rem;
  }
}

@media (max-width: 37.5em) {
  .brands {
    width: 100%;
    transform: skewX(0);
  }
}

.brands__text {
  transform: skewX(12deg);
}

@media (max-width: 37.5em) {
  .brands__text {
    transform: skewX(0);
  }
}

.composition {
  position: relative;
}

.composition__photo {
  position: absolute;
  width: 55%;
  border-radius: 2px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

@media (max-width: 56.25em) {
  .composition__photo {
    position: relative;
    float: left;
    width: 33.333333333%;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
  }
}

.composition__photo--p1 {
  top: -2rem;
  left: 0;
}

@media (max-width: 56.25em) {
  .composition__photo--p1 {
    top: 0;
    transform: scale(0.9);
  }
}

.composition__photo--p2 {
  top: 2rem;
  right: 0;
}

@media (max-width: 56.25em) {
  .composition__photo--p2 {
    top: 0;
    z-index: 100;
    transform: scale(1.3);
  }
}

.composition__photo--p3 {
  top: 10rem;
  left: 20%;
}

@media (max-width: 56.25em) {
  .composition__photo--p3 {
    top: 1rem;
    left: 0;
    transform: scale(1);
  }
}

.form__group:not(:last-child) {
  margin-bottom: 2rem;
}

.form__input {
  display: block;
  width: 90%;
  padding: 1.5rem 2rem;
  color: inherit;
  font-size: 1.5rem;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 56.25em) {
  .form__input {
    width: 100%;
  }
}

.form__input::-webkit-input-placeholder {
  color: #4d6b8c;
}

.form__input:focus {
  border-bottom: 3px solid #4d6b8c;
  outline: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.form__input:focus:invalid {
  border-bottom: 3px solid #ff7730;
}

.form__label {
  display: block;
  margin-top: 0.7rem;
  margin-left: 2rem;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.form__input:placeholder-shown + .form__label {
  transform: translateY(-4rem);
  visibility: hidden;
  opacity: 0;
}

.form-text {
  width: 90%;
  padding: 2rem;
  font-weight: 700;
  font-size: 1.6rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

@media (max-width: 56.25em) {
  .form-text {
    width: 100%;
  }
}

.form-text a:link,
.form-text a:visited {
  color: #343a40;
  text-decoration: none;
}

.form-text a:hover {
  color: #4d6b8c;
}

.form__checkbox {
  width: 90%;
  padding: 2rem;
  color: #fff;
  font-weight: 700;
  background-color: rgba(52, 58, 64, 0.5);
  border-radius: 2px;
}

@media (max-width: 56.25em) {
  .form__checkbox {
    width: 100%;
  }
}

.form__checkbox-label {
  font-size: 1.6rem;
  cursor: pointer;
}

.form__checkbox-input {
  width: 1.7em;
  height: 1.7em;
  margin-right: 0.4rem;
  vertical-align: bottom;
}

.section-about,
.section-privacy,
.section-thanks {
  margin-top: -20vh;
  padding: 20rem 0 12rem 0;
  background-color: #eee;
}

@media (max-width: 56.25em) {
  .section-about,
  .section-privacy,
  .section-thanks {
    margin-top: -10vh;
    padding: 10rem 0 12rem 0;
  }
}

.section-contact {
  padding: 15rem 0;
  background-image: linear-gradient(
    to right bottom,
    rgba(77, 107, 140, 0.6),
    rgba(0, 0, 0, 0.9)
  );
}

@media (max-width: 56.25em) {
  .section-contact {
    padding: 10rem 0;
  }
}

.contact {
  background-image: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.5) 55%,
    transparent 55%
  ),
    url(../img/newcastle-tyne.jpg);
  background-size: cover;
  border-radius: 3px;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 75em) {
  .contact {
    background-image: linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 65%,
      transparent 65%
    ),
      url(../img/newcastle-tyne.jpg);
  }
}

@media (max-width: 56.25em) {
  .contact {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 100%
    ),
      url(../img/newcastle-tyne.jpg);
  }
}

.contact__form {
  width: 50%;
  padding: 6rem;
}

@media (max-width: 75em) {
  .contact__form {
    width: 65%;
  }
}

@media (max-width: 56.25em) {
  .contact__form {
    width: 100%;
    padding: 4rem;
  }
}
