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

@font-face {
    font-display: swap;
  font-family: "Encode Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/EncodeSans-Regular.woff2") format("woff2"), url("../fonts/EncodeSans-Regular.woff") format("woff");
}

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

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

@font-face {
    font-display: swap;
  font-family: "Encode Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/EncodeSans-Bold.woff2") format("woff2"), url("../fonts/EncodeSans-Bold.woff") format("woff");
}
/* common styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Encode Sans", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button {
    display: block;
    cursor: pointer;
    padding: 0;
}

.container {
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .container {
        width: 768px;
    }
}

@media (min-width: 1280px) {
    .container {
        width: 1280px;
        padding-left: 65px;
        padding-right: 65px;
    }
}

@media (min-width: 1440px) {
    .container {
        width: 1440px;
        padding-left: 55px;
        padding-right: 55px;
    }
}

.hero {
    padding-top: 165px;
    background-image: url("../img/hero-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@supports (background-image: url("../img/hero-bg.webp")) {
    .hero {
        background-image: url("../img/hero-bg.webp");
    }
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    color: #fff;
    max-width: 330px;
    text-align: center;
    margin: o auto;
}

.hero__content h1 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.5;
}

.hero__content h1 span {
    font-weight: 700;
}

.hero__content p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
}