@font-face {
    font-family: Magistral;
    src: url('../fonts/Magistral-Medium.woff2');
    font-weight: 700;
    font-style: normal;
}

html,
body {
  height: 100%;
}
img {
  max-width: 100%;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 166px 176px;
}
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
*,
* ::before,
* ::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}
button {
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  border-radius: none;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select,
option {
  outline: none;
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  border-radius: none;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  font-size: 16px;
  color: #fff;

}


.newdomen {
    background-image: url(../img/bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100dvh;
    overflow: hidden;
}

.newdomen__title {
    font-family: Magistral;
    font-size: 48px;
    line-height: 60px;
    margin-top: 100px;
    max-width: 517px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.newdomen__subtitle {
    margin-top: 16px;
    letter-spacing: 1px;
    font-weight: 400;
}
.newdomen__link {
    margin-top: 32px;
    padding: 14px 34px 16px 34px;
    color: #F4F4F4;
    background-color: #FF0028;
    border-radius: 26px;
    display: block;
    max-width: 246px;
    text-align: center;
}
.newdomen__recipes {
    margin-top: 16px;
    padding: 14px 34px 16px 34px;
    color: #F4F4F4;
    background-color: transparent;
    border: 1px solid #F4F4F4;
    border-radius: 26px;
    display: block;
    max-width: 246px;
    text-align: center;
}
.newdomen__phone {
    display: block;
    color: #F4F4F4;
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
    margin-top: 28px;
}

@media screen and (max-width: 1050px) {
    .container {
        padding: 120px;
    }
    .newdomen__title {
        margin-top: 60px;
        font-size: 36px;
        line-height: 44px;
        max-width: 384px;
    }
    .newdomen__link {
        margin-top: 20px;
    }
    .newdomen__link, .newdomen__recipes {
        padding: 7px 24px 9px 24px;
    }
    .newdomen__phone {
        font-size: 16px;
        line-height: 20px;
        margin-top: 23px;
    }
}

@media screen and (max-width: 768px) {
    .newdomen {
        background-image: url(../img/bg-md.webp);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .container {
        margin: 0;
        padding: 102px;
    }
    .newdomen__phone {
        margin-top: 32px;
    }
}

@media screen and (max-width: 500px) {
    .newdomen {
        background-image: url(../img/bg-sm.webp);
        display: block;
    }
    .container {
        padding: 30px 30px 50px 30px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
        height: 100%;
    }
    .newdomen__logo svg{
        width: 82px;
    }
    .newdomen__title{
        margin-top: 17px;
        font-size: 28px;
        line-height: 34px;
        max-width: 300px;
    }
    .newdomen__subtitle {
        margin-top: 13px;
    }
    .newdomen__link {
        max-width: 256px;
        width: 100%;
        margin-top: auto;
    }
    .newdomen__recipes{
        max-width: 256px;
        width: 100%;
    }
    .newdomen__phone {
        margin-top: 21px;
    }
}