body {
    padding: 0;
    margin: 0;
    font-family: 'PT Sans', sans-serif;
    color: 000;
    font-size: 16px;

    width: 100%;
    background: linear-gradient(149deg, rgba(24,187,156,1) 0%, rgb(76, 95, 146) 42%, rgb(55, 120, 158) 72%, rgb(133, 156, 199) 100%);
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    text-shadow: 2px 2px 2px #b9b9b9;
    color: #fff;
}

ul, li {
    display: block;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.header {
    !background: rgb(230,230,230) no-repeat center top / cover;
    !background: linear-gradient(90deg, rgba(230,230,230,1) 0%, rgba(246,246,246,1) 51%, rgba(230,230,230,1) 100%) no-repeat center top / cover;

    !padding: 10px;
}

.logo__img {
    margin-right: 0px;
}

.menu {
    display: flex;
}

.menu li a {
    margin-right: 20px;
    display: inline-block;
    transition: 0.3s;
}

.menu li a:hover {
    transform: scale(1.1);
}

.button {
    display: block;

    color: #ffffff;
    padding: 30px 35px;
    border-radius: 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    font-size: 50px;
    margin-top: 20px;
    text-decoration: none;
    transition: all 0.5s;
    text-shadow: 2px 2px 1px #c5c5c5;

    backdrop-filter: blur(30px);
    box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);

    width: fit-content;
}

.button:hover {
    border-radius: 25px;
    -moz-border-radius: 25px 25px 25px 25px;
    -webkit-border-radius: 25px 25px 25px 25px;
    background-color: #B351E1;
    -webkit-box-shadow: 3px 3px 4px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 3px 4px -3px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 4px -3px rgba(0,0,0,0.75);
}

#offer3 .button:hover { color: #fff; }

.nav {
    display: flex;
    align-items: center;

    justify-content: space-between;
    min-height: 80px;
    background-color: #ffffff38;
    color: #FAF6F2;
    padding: 0 40px;
    border-radius: 0px 0px 10px 10px;
}

.offer h1 {
    margin-top: 80px;
    margin-right: 0px;
    text-align: left;
    position: relative;
    text-shadow: 2px 2px 2px #b9b9b9;
    line-height: 70px;
}

.offer {
    display: flex;
}

.main-img {
    width: 100%;
    border-radius: 24px;
    margin-top: 70px;
    box-shadow: 3px 3px 20px #f3f3f3;
}

#offer1 p {
    font-size: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: auto;
    margin-top: 50px;
    position: relative;
}

#offer1 h1, #offer2 h1, #offer3 h1 {
    margin-top: 220px;
    margin-right: 0px;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 2px #b9b9b9;
}

#offer2 {
	display: flex;
	width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

h1 {
    font-size: 75px;
    margin-top: 220px;
    margin-right: 0px;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 2px #b9b9b9;
}

b p {
    display: block;
    background-color: #B351E1;
    color: #ffffff;
    padding: 30px 35px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    margin-top: 20px;
    transition: all 0.5s;
}

b p:hover {
    -webkit-box-shadow: 3px 3px 4px -1px #5c5c5c;
    -moz-box-shadow: 3px 3px 4px -1px #5c5c5c;
    box-shadow: 3px 3px 4px -1px #5c5c5c;
}

#offer3 h2 {
    font-size: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer h3 {
    font-size: 25px;
    margin-top: 220px;
    margin-right: 0px;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 2px #b9b9b9;
}

h2 a, form h2 button {
    color: #cb93ff;
    transition: 0.5s;
    font-size: 40px;
    text-shadow: 2px 2px 2px #5c5c5c;
}

h2 a:hover, form h2 button:hover {
    text-decoration: none;
    color: #5bb2d4;
}

form h2 button {
    background: 0;
    border: 0;
    cursor: pointer;
    font-weight: bold;
}

.offer {
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

.mheader1 {
	height: 48%;
    width: 48%;
    margin-top: auto;
    margin-bottom: auto;
}

.mheader2 {
	height: 48%;
    width: 48%;
}

body::-webkit-scrollbar {
    width: 12px;
}
   
body::-webkit-scrollbar-track {
    background-color: #336cb8;
}
   
body::-webkit-scrollbar-thumb {
    background-color: #6391ce;
    border-radius: 15px;
}
   
body::-webkit-scrollbar-thumb:hover {
    background-color: #5a83b8;
}

hr {
    width: 20%;
    color: #B351E1;
    background-color: #403985;
    height: 5px;
    border-radius: 10px;
}

.hr1 hr {
    margin-bottom: 0px;
}

#offer3 .left p input {
    padding: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    display: block;
    border: none;
    border-bottom: solid 1px #d4d4d4;
    margin-top: 70px;
    width: 100%;
    padding: 0 0 15px 0;
    transition: 0.3s;
}

#offer3 .left p input:focus {
    border-bottom: solid 1px #b9b9b9;
}

#offer3 .right textarea {
    padding: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    display: block;
    border: none;
    border-bottom: solid 1px #d4d4d4;
    width: 100%;
    padding: 0 0 16px 0;
    padding-bottom: 218px;
    margin-top: 60px;
    transition: 0.3s;
}

#offer3 .right textarea:focus {
    border-bottom: solid 1px #b9b9b9;
}

.offer3 {
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#offer3 .left {
    width: 48%;
    margin-top: 40px;
    margin-right: 4%;
}

#offer3 .right {
    width: 48%;
    margin-top: 40px;
}

#offer3 button {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 25px;
    margin-bottom: 40px;
    cursor: pointer;
    border: 0;
    color: #000;
}

input, select, textarea {
    background: none;
    border: 1px solid black;
    padding: 10px 20px;
    font-size: .9rem;
    outline: none;
}

textarea {
    display: block;
    margin-bottom: 20px;
    resize: vertical;
}

*::selection {
    background-color: #336cb8;
    color: #fff;
}

#about p{
    font-size: 25px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: auto;
    position: relative;
    text-shadow: 2px 2px 2px #b9b9b9;
}

.serviceCard p {
    font-size: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: auto;
    position: relative;
    text-shadow: 2px 2px 2px #b9b9b9;
}

p {
    color: #fff;
}

p input, p input::placeholder, textarea, textarea::placeholder {
    color: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
-webkit-text-fill-color: #FFFFFF;
-webkit-box-shadow: 0 0 0px 1000px #131414 inset;
transition: 5000s ease-in-out 0s;
}

ul li a {
    padding: 10px;
    border: solid #4187d6;
    background-color: #4187d6;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

ul li a:hover {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: 1px 5px 10px #4187d6;
}

.g-recaptcha {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
    box-shadow: #0099ff 0 0 6px;
}

.open{
    display: flex !important;
    width: 70%;
    height: 160px;
    background: linear-gradient(149deg, rgba(24,187,156,1) 0%, rgb(76, 95, 146) 42%, rgb(55, 120, 158) 72%, rgb(133, 156, 199) 100%);
}

.logo{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

nav ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.burger{
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    height: 18px;
}

.burger span{
    height: 2px;
    width: 80%;
    transform: scale(1);
    background-color: #FAF6F2;
}

.burger::before, .burger::after{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #FAF6F2;
    transition: all 0.3s ease 0s;
}

.burger::before { top: 0 }

.burger::after { bottom: 0 }


/* Добавляем класс active для анимации иконки бургера */
.burger.active span { transform: scale(0) }

.burger.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}

@media (max-width: 1112px) {

    .burger { display: flex }

    nav{
        display: none;
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0; bottom: 0; left: 0; right: 0;
        z-index: 50;
        overflow-y: auto;
        padding: 50px 40px;
        background-color: black;
        animation: burgerAnimation 0.4s;
    }

    nav ul{
        flex-direction: column;
        row-gap: 30px;
    }
}

@keyframes burgerAnimation {
    from {opacity: 0}
    to {opacity: 1}
}

@media (max-width: 1242px) {
    h1 {
        font-size: 50px;
    }
}

@media (max-width: 1100px) {
    .button {
        font-size: 35px;
        padding: 20px 25px;
    }

    .nav {
        position: fixed;
        display: none;
    }
}

@media (max-width: 990px) {
    .button {
        font-size: 30px;
        width: 250px;
    }

    h1 {
        font-size: 50px;
    }

    .button {
        font-size: 50px;
        padding: 35px 35px;
    }

    #offer2, #offer3, .mheader1 {
        width: 100%;
    }

    .offer3 {
        display: table;
    }

    .nav {
        width: 114%;
        margin-left: -12%;
        height: 150px;
    }

    ul li a {
        font-size: 40px;
        margin-top: 0px;
        display: block;
        width: 70%;
    }

    h2 a, form h2 button {
        font-size: 30px;
    }

    .mheader2 {
        display: table;
        width: 100%;
    }

    .button {
        margin-right: auto;
    }

    #offer3 {
        display: table;
    }

    #offer3 .right {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    #offer3 .left {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .open {
        height: 380px;
    }
}

@media (max-width: 484px) {
    .footer h3 {
        font-size: 20px;
    }

    #offer1 p, #offer3 h2 {
        font-size: 25px;
    }

    #offer2 {
        display: block;
    }
}


section.gallery{
    position: relative;
    padding: 45px 0;
  }
  h2.title{
    font-size: 44px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 45px;
    position: relative;
  }
  h2.title:after{
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #111111;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .gallery-list,.gallery-list2{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    font-size: 0;
    margin-top: 30px;
  }
  .gallery-item{
    display: block;
    flex: 25%;
    overflow: hidden;
    position: relative;
    border: solid #b1b1b1 2px;
    margin: 10px;
    border-radius: 12px;
  }
  .gallery-item-hover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 2;
  }
  .gallery-item:hover .gallery-item-hover{
    opacity: 1;
  }
  .gallery-item:hover img{
    transform: scale(1.3) rotate(5deg);
  }
  .gallery-item img{
    max-width: 100%;
    height: auto;
    transition: all .5s ease;
  }
  @media (max-width: 991px){
    .gallery-item{
      flex: 33.3%;
    }
  }

.gallery-list2 .gallery-item { flex: 40%; }

  @media (max-width: 768px){
    .gallery-item, .gallery-list2 .gallery-item {
      flex: 50%;
    }
  }
  @media (max-width: 530px){
    .gallery-item, .gallery-list2 .gallery-item {
      flex: 100%;
    }
  }


#snow {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.element-animation {
    opacity: 0;
    transform: translateY(20px);
}

.element-animation.element-show {
    opacity: 1;
    transition: all 1.5s;
    transform: translateY(0%);
}

#slider {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
}

.serviceCard {
    max-width: 450px;
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    height: 340px;
}

#sc2 { height: 260px; }
#sc2 h3 { height: auto; }

.serviceCard h1 {
    font-size: 25px;
}

.serviceCard li {
    list-style-type: circle;
    color: #fff;
}

.serviceCard h3 {
    height: 125px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    transition: 0.4s;
    height: 100%;
}

.modal-content {
    background-color: #373737e3;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 15px;
}

#offer2 button {
    padding: 8px;
    border-radius: 8px;
    background-color: #fff;
    font-size: 22px;
    margin-top: 20px;
    outline: 0;
    border: solid 1px #0099ff;
    cursor: pointer;
}

#whathis {
    color: #cb93ff;
    transition: 0.5s;
    text-shadow: 2px 2px 2px #5c5c5c;
}

.budgetPrice {
    border:0; color:#f6931f; font-weight:bold; width: fit-content; width: 70px; font-size: 20px; padding: 6px; text-align: center;
}

form .offer p { font-size: 20px; }

form .offer { justify-content: center; }

#about { margin-top: 250px; }
