@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --color-fon: #ffffff;
  --primary-color: #ffa62b;
  --secondary-color: #00a0c1;
  --text-color: #252b42;
  --second-text-color: #737373;
  --light-text-color: #ffffff;
  --muted-color: #bdbdbd;
  --light-background: #fff;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.wrap {
  max-width: 1050px;
  min-width: 360px;
  margin: 10px auto;
  padding:10px;
  
}

.infinity {
  font-family: "Kolker Brush", serif;
  font-weight: 400;
  font-style: regular;
}

/* top */
.top {
  background: var(--color-fon,#737373);
  padding-bottom: 50px;
}

.top__header {
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items:center;
  
  
}

.top ul {
  display: flex;  
  gap:10px;
  list-style: none;
  margin: 0 auto;
}

.top li {
  

  margin-left: 50px;
}

.top__header--logo h3 {
  color: var(--text-color, #252b42);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.1px;
}

.top__header--menu a {
  color: var(--second-text-color);
  flex-shrink: 1;
  font-size:20px;
}

.top__header--menu {
  margin: 40px 0;
  
}


.top h1 {
  color: var(--text-color, #252b42);
  text-align: center;
  font-size: 58px;
  font-weight: 800;
  line-height: 80px;
  letter-spacing: 0.2px;
  margin: 50px 0;
}


.top h4 {
  color: var(--second-text-color, #737373);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0.2px;
  margin: 40px 0;
}

.top__button {
  text-align: center;
}

.top__button--left {
  color: var(--light-text-color, #fff);
  width: 250px;
  height: 75px;
  border-radius: 0 100px 15px 100px;
  background: #26ff00;
  color:#000000;
  cursor: pointer;
  font-size: 30px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.2px;
  margin-right: 50px;
  border: 3px solid #6e7a67;
  box-shadow: 15px 15px 25px #5e6565;
}

.top__button--right {
  width: 250px;
  height: 75px;
  border-radius: 100px 0 100px 15px;
  border: 3px solid #000000;
  color: rgb(0, 255, 8);
  font-size: 30px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.2px;
  cursor: pointer;
  margin-left: 50px;
  background: #817c7c;
  box-shadow: 15px 15px 25px #5e6565;
}

.choose {
 
  min-width: 375px;  
}

a{
  text-decoration:none;
}
.choose_h2 {
  margin-bottom: 20px;
  color: #000000;
  box-shadow: 0 0 25px rgb(53, 136, 58);
  border-radius:25%;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 57px;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, #ffffff, #abff829e);
}

.choose__text {
  color: #646262;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.2px;
  margin: 10px 0 45px;
}

.choose__block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.choose__element {
  flex-basis: 328px;
  border: 5px solid #549940;
  background: #fff;
  padding: 35px 40px;
  box-sizing: border-box;
  margin-bottom: 30px;
  box-shadow: 15px 15px 15px #181919;
  width: 330px;
  height: 280px;
  border-bottom-width: 10px;
  border-bottom-style: double;
  border-left-style: double;
  border-left-width:10px;
  border-right-style: double;
  border-right-width:10px;
  border-top-style: double;
  border-top-width:10px;
  
}

.choose_element_1{
  flex-basis: 328px;
  border: 3px solid rgb(98, 255, 0);
  background: #fff;
  padding: 35px 40px;
  box-sizing: border-box;
  margin-bottom: 30px;
  margin-top: 35px;
  box-shadow: -20px -20px 30px #000707;
  width: 330px;
  height: 280px;
  border-radius: 15px;
  background: url(image/ёлка_фр.png);
  background-size: cover;
}

.choose__element--head {
  display: flex;
  justify-content: center;
  align-items: center;
}

.choose__element--head h5 {
  color: var(--text-color, #252b42);
  font-size: 26px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.1px;
  margin: 0;
  padding: 5px;
  margin-top: auto;
  border-radius: 5px;
  border-bottom: 3px solid rgb(56, 53, 53);
  box-shadow: 5px 5px 10px #000000;
}

.choose__element--text {
  color: black;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.2px;
}

.contact {
 
  padding: 30px 0 30px;
  color: var(--text-color, #252b42);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.1px;
  margin: 15px 0;
}



.contact h2 {
  color:#000000;
  font-size: 40px;
  font-weight: 700;
  line-height: 57px;
  letter-spacing: 0.2px;
  margin: 30px 0 30px 0;
}
.foot2 {
    min-width: 340px;
}

.foot2__logo--text  {
  display: flex; 
  justify-content:space-around;
  color: var(--light-text-color, #fff);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.1px;
  margin: 0;
  text-align: center;  
  margin: 10px;
  padding: 40px 0;
}

.foot1__logo__wrap{
  display: flex;
  justify-content: space-evenly;
  column-gap: 30px;
}

.foot__logo_wrap{
  align-self: center;
}


.foot2_tel{
  color:#000000
}

.foot2_link{
  color:#000000;
}
    /* Шапка с бургером */
.navbar {
    display: flex;
    background: #ffffff;
    color: white;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Бургер-иконка (кнопка) */
.burger {
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: rgb(0, 0, 0);
    border-radius: 3px;
    transition: all 0.6s ease;
}


/* Анимация превращения в крестик при активном состоянии */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

        /* Меню (по умолчанию скрыто) */
.menu {
    position: fixed;
    top: 50px;
    left: 100%;
    border-radius: 10px;
    background: #015631;
    padding-top: 80px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    z-index: 900;
}

/* Меню активно (показываем) */
.menu.active {
    left: 0;
}

.menu ul {
    list-style: none;
    padding: 0 20px;
}

.menu li {
    margin: 20px 0;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 10px;
    transition: background 0.2s;
}

.menu a:hover {
    background: #f76928;
    border-radius: 20%;
    color:#000000;
}

/* Затемнение фона при открытом меню */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 138, 119, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 800;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

       
/*Медиазапросы*/

@media(max-width: 1050px){
  .wrap{
    padding: 0 40px;    
  }
 
}
@media(max-width: 1080px){
  .choose__block{
    justify-content: space-evenly;
  }
}
@media(max-width: 480px){
  .foot2{
    background:white;
  }
  .wrap {
      padding: 0 14px;
    }
  textarea{
    flex-basis: 290px;
  }
  #home{
      text-align: center;
      font-size: 150%;
      padding: 0 30px;
  }
  .top__button{
    align-items: center;
  }

  .top__header{
    flex-direction: inherit;
    gap: 40px;

  }

  .contact textarea,
  .contact input,
  .contact select,
  .contact button {
    flex-basis: 286px;
  }

  .choose__element {
    flex-basis: 328px;
  }
  
  .team__element {
    flex-basis: 328px;
  }

  .top__button--left {
    margin-right: 0;
    margin-bottom: 25px;
  }

  .top__button--right {
    margin-left: 0;
  }
  
  .top__header {
    /* display: flex; */
    /* flex-direction: column; */
    margin-bottom: 0;
  }

  .top ul {
    display: flex;
    flex-direction: row;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.2px;
    text-decoration: none;
    }

    
    .top li {
      margin: 30px 0;
      
    }
    
    .top__header--menu a {
      font-size: 20px;
    }
    
    .top h1 {
      margin-top: 20px;
    }
    
    .contact form{
      margin: 20px;
    }
    .foot2__logo--text{
      flex-direction: column;
      flex-wrap: wrap;
      gap:20px;
    }
    .choose
    .foot2 {
      background: white;
    }

  .foot2__logo--text,
  .foot2_tel ,
  .foot2_link {
    color:black;
  }
  }


@media(min-width: 481px){
  .wrap {
      padding: 0 20px;
    }

    .navbar {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
      
  ul{
      font-size: 12px;
      font-weight: 600;
      line-height: 24px;
      letter-spacing: 0.2px;
      text-decoration: none;
  }
  .top__button--left{
    margin-right: auto;
    margin-bottom:25px;
  }
  .top__button--right{
    margin-left: auto;
  }
  .contact form{
    margin: 0px 20px;
  }

  .foot2__logo--text {
    flex-direction: column;
    gap: 20px;
  }
  

}


@media(max-width: 760px){
  .wrap {
      padding: 0 30px;
    }
    .top__button--left{
      margin-right: 25px;
    }
    .choose__element{       
       flex-basis: 460px;      
    }
    .foot1__logo__wrap{
    flex-direction: column;
    row-gap: 30px;
  }

    .navbar {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

}




@media(min-width: 717px){
  .wrap {
      padding: 0 30px;
    }

  /* .top__button--left{
      margin-right: 25px;
    }   */
  .contact textarea,
  .contact input,
  .contact select{
    flex-basis: 500px;
  }  
  .contact input,
  .contact select{
    margin-right: 0;
  }
  form{
    padding: 20px;
  }
  
}


@media(min-width:992px){
  .wrap {
      padding: 0 40px;
    }
}


@media(min-width:1200px){
  .wrap {
      padding: 0 40px;
    }
}


@media (max-width: 400px) and (min-height: 800px) {
  .wrap{
      padding: 20px;
      margin: 5px;
      width:375px;
    }
     .foot2{
        background:white;
    }
}


@media only screen and (min-device-width: 330px) and (max-device-width: 400px) and (min-device-height: 800px) {
   .wrap{
        width:320px;
    }
  .choose
  .foot2 {
    background: white;
  }

  .foot2__logo--text,
  .foot2_tel ,
  .foot2_link {
    color:black;
  }
}

/*file .css is a bussines_project.html его нужно переделать под свой файл*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 0%);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.image-box {
    height: 800px;
    overflow: hidden;
}

.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-box {
    padding-inline: 5em;
}

.title {
    font-size: 4em;
    max-width: max-content;
    margin-block-end: 0.25em;
}

.text {
    opacity: 0.6;
    line-height: 2.25;
}

[data-reveal="left"] {
    transform: translateX(-100%);
    opacity: 0;
}

[data-reveal="left"].revealed {
    animation: reveal-left 1.2s cubic-bezier(0.17, 0.97, 0.38, 1) forwards 300ms;
}

@keyframes reveal-left {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

[data-reveal="right"] {
    transform: translateX(100%);
    opacity: 0;
}

[data-reveal="right"].revealed {
    animation: reveal-right 1.2s cubic-bezier(0.17, 0.97, 0.38, 1) forwards 300ms;
}

@keyframes reveal-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.image-box .img {
    margin: 30px;
    padding: 15px;
    transform: scale(1.5);
    transition: 1.2s cubic-bezier(0.17, 0.97, 0.38, 1);
    border-radius: 20px 20px 20px 20px;
}

.image-box.revealed .img {
    transform: scale(1);
}

#qrcode{
    margin-left: 45%;
    padding: 30px;
}

@media only screen and (max-width: 768px) {
    .section {
        margin: 25px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .title {
        font-size: 3em;
    }

    .content-box {
        padding: 2em;
    }
}

@media only screen and (max-width: 480px) {
    .title {
        font-size: 2em;
    }

    .text {
        font-size: 0.8em;
    }
}
