/* SPDX-License-Identifier: Internal */

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Regular.woff2") format("woff2"),
    url("fonts/Quicksand-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Light.woff2") format("woff2"),
    url("fonts/Quicksand-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Medium.woff2") format("woff2"),
    url("fonts/Quicksand-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Bold.woff2") format("woff2"),
    url("fonts/Quicksand-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-SemiBold.woff2") format("woff2"),
    url("fonts/Quicksand-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "Quicksand", Helvetica, Arial, sans-serif;
  --font-family-header: "Quicksand", Helvetica, Arial, sans-serif;
  --background: #e4e418;
  --hover: white;
  --hover-color: #e4e418;
  --content-button: black;
  --content-button-hover: black;
  --content: white;
  --content-size: 15px;
  --content-weight: 500;
  --h1: #e4e418;
  --h1-size: 58px;
  --h2: white;
  --h2-size: 29px;
  --h3: white;
  --h3-size: 29px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: url("background.jpg");
  background-color: var(--background);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--content);
  font-family: var(--font-family);
  font-size: var(--content-size);
  font-weight: var(--content-weight);
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

.container-content {
  padding: 75px;
}

h1,
h2,
h3,
p {
  line-height: 1.375;
  margin: 0;
  padding: 0;
}

h1 {
  color: var(--h1);
  font-family: var(--font-family-header);
  font-size: var(--h1-size);
  line-height: 1;
  margin-bottom: calc(var(--content-size) + 10px);
  margin-left: -3px;
}

h2 {
  color: var(--h2);
  font-family: var(--font-family-header);
  font-size: var(--h2-size);
  line-height: 1.375;
}

h3 {
  color: var(--h3);
  font-family: var(--font-family-header);
  font-size: var(--h3-size);
}

p {
  margin-bottom: calc(var(--content-size));
}

a {
  color: var(--content);
}

a:hover {
  color: var(--hover);
  text-decoration: none;
}

.logo {
  margin-bottom: -5px;
  width: 180px;
}

.content:last-child {
  margin-bottom: 0;
}

.btn-custom {
  background-color: var(--background);
  border-radius: 50px;
  color: var(--content-button);
  font-family: var(--font-family-header);
  font-weight: 600;
  line-height: 1;
  margin-left: -2px;
  padding: calc(var(--content-size) / 1.3) var(--content-size)
    calc(var(--content-size) / 1.15);
}

.btn-custom:focus,
.btn-custom:hover {
  background-color: var(--hover);
  color: var(--content-button-hover);
}

@media (max-width: 778px) {
  .container-content {
    padding: 50px 20px;
  }

  body {
    background-position: 36%;
  }

  h1 {
    font-size: 24px;
    line-height: 1.275;
  }

  h2 {
    font-size: 15px;
  }

  .logo {
    height: 84px;
    margin-bottom: -3px;
    width: 170px;
  }
}
