*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", "Calibre", Arial, sans-serif;
}

html {
    height: 100%;
    font-size: 62.5%;
}

body {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.no-scroll {
    overflow: hidden;
}

body,
button,
input,
textarea {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
}

button,
option,
select,
input,
input::placeholder,
form,
label,
textarea {
    font-family: "Montserrat", "Calibre", Arial, sans-serif;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.6rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
ol {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", "Calibre", Arial, sans-serif;
}

li {
    /* list-style-type: none; */
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.hide {
    display: none;
}

.show {
    display: block !important;
}


#result {
    text-align: center;
    border: 1px solid;
    display: block;
    margin: 0 auto;
    padding: 20px 40px;
    width: 100%;
    max-width: 500px;
    font-size: 16px;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wrapper {
    width: 100%;
    height: 100%;

}

.header {
    background: linear-gradient(to top, #fff, rgb(253, 201, 104));
    background-repeat: repeat;
    padding: 100px 0 100px;
}

.header__logo {
    font-size: 4rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    font-style: italic;
}

.header__logo span {
    color: #777777;
}

.header__title {
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 15px auto;
    text-transform: uppercase;
    position: relative;
    padding: 15px;
}

.header__title::before,
.header__title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;

    z-index: 1;
}

.header__title::before {
    top: 0;
    left: 0;
}

.header__title::after {
    bottom: 0;
    left: 0;
}

.header__content {
    width: 100%;
    max-width: 700px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
}

.header__li {
    list-style-type: circle;
}

.header__grup {
    margin-top: 30px;
    font-weight: 700;
    text-align: center;
}

.header__phone {
    display: block;
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    transition: all .2s linear;
}

.header__phone span {
    color: rgb(184, 0, 0);
}

.header__phone:focus,
.header__phone:hover {
    color: #999999;
}

.header__btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    border: 2px solid #fff;
    background-color: rgb(184, 0, 0);
    color: #fff;
    cursor: pointer;
    transition: all .2s linear;
}

.header__btn:focus,
.header__btn:hover {
    background-color: rgb(253, 201, 104);
    color: #000;
    border: 2px solid #000;
}

.works {
    background: linear-gradient(to top, rgb(255, 255, 255), rgb(245, 150, 150), rgb(255, 255, 255));
    background-repeat: repeat;
    padding: 100px 0;
    width: 100%;
}

.works__title {
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid orange;
    width: 100%;
    max-width: 500px;
}

.works__subtitle {
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
}

.works__inner {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.works__item {
    display: block;
    position: relative;
    border: 2px solid #fff;
    background-color: #fff;
    border-radius: 4px;
    padding: 10px;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
    cursor: pointer;
}

.works__item::after {
    content: '';
    transition: all .2s linear;
}

.works__item:focus::after,
.works__item:hover::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-color: rgba(255, 255, 255);
}

.works__item:last-child {
    margin-right: 0;
}

.works__name {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.works__name span {
    display: block;
    font-size: 1.3rem;
    line-height: 1;
    margin-top: 5px;
}

.works__img {
    max-width: 200px;
    margin: 15px auto 0;
}

.works__bild {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    opacity: 0;
    transition: all .2s linear;
}

.works__item:focus .works__bild,
.works__item:hover .works__bild {
    opacity: 1;
}

.works__icon {
    max-width: 20px;
    margin: 0 auto;
}

.works__link {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: all .2s linear;
    text-transform: uppercase;
}

.works__link:focus,
.works__link:hover {
    color: rgb(83, 83, 83);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 90%);
    z-index: 1000;
    overflow: auto;
}

.modal__content {
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    padding: 20px;
    margin: 100px auto;
    opacity: 0;

    transform: translateY(-50px);
    transition: all .2s linear;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    background: none;
    outline: none;
    border: 0;
    cursor: pointer;
    padding: 20px;
}

.modal__close img {
    width: 20px;
    height: 20px;
    transition: all .2s linear;
}


.modal__close img:focus,
.modal__close img:hover {
    transform: rotate(180deg);
}

.modal__title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal__title span {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    /* text-transform: none; */
}

.footer {
    background: linear-gradient(to top, rgb(253, 201, 104), #fff);
    background-repeat: repeat;
    padding: 20px 0 10px;
}

.copyright {
    font-size: 1rem;
}

.form__colums {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form__text {
    font-size: 1.5rem;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    display: block;
    font-size: 1.3rem;
    padding: 10px;
    outline: 0;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgb(0, 0, 0, 20%);
    border: 0;
}

.input__btn {
    display: block;
    margin-top: 20px;
    font-size: 1.3rem;
    padding: 10px 50px;
    outline: 0;
    background-color: rgb(184, 0, 0);
    color: #fff;
    border: 2px solid #fff;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgb(0, 0, 0, 30%);
    cursor: pointer;
    transition: all .2s linear;
}

.input__btn:focus,
.input__btn:hover {
    background-color: rgb(122, 1, 1);
}

.effects {
    margin-top: 30px;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.effects a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    transition: color .2s linear;
}

.effects a:last-child {
    margin-left: 20px;
}

.effects a:focus,
.effects a:hover {
    color: rgb(184, 0, 0);
}