@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

*{
    font-family: 'comfortaa', sans-serif;
    text-decoration: none;
    color: #2f3030;
    margin: 0;
    padding: 0;
    /* outline: 2px solid lightgreen; */
}

html {
    scroll-behavior: smooth;
}

body{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 100vw;
    overflow-x: hidden;
    /* background-color: #f0f0f0; */
    background-color: #f4eee6;
}

header{
    top: 0;
    padding: 1% 2%;
    z-index: 3;
    /* background-color: #f0f0f0; */
    background-color: #f4eee6;
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: 0px 10px 10px 0px rgba(5, 5, 5, 0.2); */
}

a#logoLink{
    position: relative;
    display: flex;
    align-items: end;
    gap: 15px;
    font-weight: 700;
    font-size: 2.5rem;
    align-items:center;
    color: #2f3030;
    transition: all .4s;
}

.logo-img{
    top: 15px;
    left: -5px;
    position: absolute;
    height: 35px;
    rotate: -40deg;
}

a#logoLink:hover{
    color: #f7941d;
}

a#logoLink > img{
    max-width: 100px;
}

nav{
    gap: 30px;
    display: flex;
    font-size: 18px;
    font-weight: 500;
    align-items: center;
}

nav > a{
    color: #383838;
    transition: all .4s;
	position: relative;
    cursor: pointer;
}

nav > a:hover,
nav > a.colored{
    color: #f7941d;
}

nav > a:after,
nav > a:active:after{
	display: block;
	position: absolute;
	left: 0; /*изменить на right:0;, чтобы изменить направление подчёркивания */
	width: 0;/*задаём длинну линии до наведения курсора*/
	height: 3px; /*задаём ширину линии*/
	background-color: #f7941d; /*задаём цвет линии*/
	content: "";
	transition: width 0.2s ease-out; /*задаём время анимации*/
}

nav > a:hover:after,
nav > a:focus:after,
nav > a.active-link:after {
	width: 100%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}

nav a.active-link,
nav a.active-link >i{
    color: #f7941d;
}

main{
    margin: 0 auto;
    max-width: 1400px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 125px;
}

.bg-flowers{
    left: -300px;
    top: 850px;
    width: 500px;
    rotate: -45deg;
    position: absolute;
    z-index: 0;
     opacity: 0.7;
}

.bg-flowers:nth-child(2){
    left: 1120px;
    top: 970px;
    width: 500px;
    rotate: -45deg;
    position: absolute;
    z-index: 2;
    transform: scale(-1, -1);
}

#banner{
    padding: 5%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../media/img/buket-iz-smesannyh-fruktov.jpg');
    background-size: cover;
    background-attachment: fixed;
}

#banner > section{
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
}

#banner > section > h2{
    font-size: 25px;
    color: #fff;
    font-weight: 100;
    text-decoration: none;
}

#banner > img{
    max-width: 50%;
}

#about{
    display: flex;
    gap: 300px;
    align-items: center;
    justify-content: space-around;
}

section#information{
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

p.description{
    font-size: 18px;
    color: #8d8e8d;
}

section.description > .link-btn{
    width: 400px;
    height: 50px;
    font-size: 30px;
    border: 2px solid #94c17d;
    background-color: #94c17d;
    color: #fff;
}

section.description > .link-btn:hover{
    border: 2px solid #94c17d;
    background-color: #fff;
    color: #94c17d;
}

h1, p.about{
    color: #fff;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 1;
}

.description > h2{
    font-weight: 90;
}

p.about{
    color: #2f3030;
}

h2{
    font-size: 2.5rem;
}

h3{
    font-size: 17px;
    color: #8d8e8d;
}

hr{
    height: 2px;
    border: none;
    background-color: #8d8e8d;
    border-radius: 50px;
}

#about > img{
    max-height: 45vh;
    border-radius: 50%;
}

.btns{
    display: flex;
    gap: 15px;
}

.link-btn{
    padding: 15px 40px;
    width: fit-content;
    gap: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fafafa;
    background-color: #94c17d;
    border: 2px solid #94c17d;
    /* border-radius: 18px; */
    transition: all .4s;
    cursor: pointer;
}

header > .link-btn{
    /* background-color: #2f3030; */
    background-color: #94c17d;
    border: 2px solid #94c17d;
}

header > .link-btn:hover{
    color: #94c17d;
}
.link-btn:hover{
    background-color: inherit;
    color: #2f3030;
}

article > h2{
    text-align: center;
}

article.information{
    display: flex;
    align-items: center;
    justify-content: center;
    /* justify-content: space-evenly; */
}

div.info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 250px;
    text-align: center;
    padding: 10px;
}

div.info:nth-child(2),
div.info:nth-child(6){
    /* background-color: #2f3030; */
    background-color: #94c17d;
}

div.info:nth-child(4){
    background-color: #ffabac;
}

div.info>h3,
div.info>p{
    color: #fff;
}

.info-img{
    width: 280px;
    height: 270px;
    /* filter: grayscale(1); */
}

article#catalog{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btns > button{
    border: 2px solid transparent;
    /* border-radius: 18px; */
    background-color: inherit;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    color: #8d8e8d;
    width: 250px;
    height: 50px;
    padding: 1%;
    transition: all .4s;
}

.active{
    border: 1px solid #94c17d;
    background-color: #94c17d;
    color: #fff;
}

.btns > button{
    border: 1px solid #2f3030;
    color: #2f3030;
}

.btns > button:hover{
    background-color: #94c17d;
    border: 2px solid #94c17d;
    color: #fff;
}

.btns > .link-btn:first-child{
    border: 2px solid #2f3030;
    background-color: #2f3030;
}

.btns > .link-btn:first-child:hover{
    color: #f7941d;
    border: 2px solid #f7941d;
    background-color: #fff;
}

.btns > button.active{
    background-color: #94c17d;
    border: 2px solid #94c17d;
    color: #fff;
}

.swiper {
    width: 1300px;
    height: 414px;
}

.swiper-slide{
    /* border-radius: 25px; */
    cursor: pointer;
}

div.swiper-button-next,
div.swiper-button-prev{
    border-radius: 50%;
    background-color: #2f3030;
    color: #fff;
    padding: 20px 27px;
    transition: all .4s;
}


div.swiper-button-next:hover,
div.swiper-button-prev:hover{
    background-color: #fff;
    color: #2f3030;
}

.hidden{
    display: none !important;
}

#catalog > .link-btn{
    margin-top: 10px;
    border: 1px solid #2f3030;
    background: inherit;
    color: #2f3030;
    /* background: linear-gradient(to right,#833ab4,#fd1d1d,#fcb045); */
    transition: all .4s;
}

#catalog > .link-btn:hover{
    color: #fff;
    background-color: #94c17d;
    border: 1px solid #94c17d;
}

#catalog > .link-btn > i{
    color: #fff;
    font-size: 25px;
}



/* #clients{
    align-self: center;
    display: grid;
    grid-template-columns: repeat(4, 300px);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 45px;
    grid-row-gap: 15px;
}

#clients > section{
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    max-width: 350px;
} */

#clients{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

section > h2{
    /* color: #2f3030; */
    text-decoration: underline;
}

section.contacts{
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

a.contact-card{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    max-width: 200px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    transition: all .4s;
}

a.contact-card:hover > .skill-item > i,
a.contact-card:hover > .skill-item > .skill-description > h4{
    color: #fff;
}

a.contact-card:hover > .skill-item > .skill-description > h5{
    color: #ffffffb9;
}

a.contact-card:nth-child(1):hover{
    background: #833ab4;
    background: linear-gradient(to right,#833ab4,#fd1d1d,#fcb045);
    /* border: 2px solid inherit; */
}

a.contact-card:nth-child(2):hover{
    background-color: #0088cc;
    border: 2px solid #0088cc;
}

a.contact-card:nth-child(3):hover{
    background-color: #2f3030;
    border: 2px solid #2f3030;
}

h5{
    color: #8d8e8d;
} 

.skill-item{
    gap: 10px;
    /* padding: 15px; */
    display: flex;
    align-items: center;
    text-align: left;
}

.skill-item > i{
    font-size: 40px;
}

.delivery{
    max-width: 400px;
}

#contacts > .contacts{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.accordion {
    background-color: inherit;
    color: #383838;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.questions{
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}

.question{
    /* margin-bottom: 15px; */
    border-bottom: 1px solid #38383867;
}

.question:first-child{
    border-top: 1px solid #38383867;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active-question, .accordion:hover {
    background-color: #94c17d79;
    /* font-weight: 900; */
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    line-height: 1.5;
}

.panel > p{
    margin: 10px 0;
}

.accordion:after {
  content: '+'; /* Unicode character for "plus" sign (+) */
  font-size: 35px;
  color: #383838;
  top: 0;
  float: right;
  margin-left: 5px;
}

.active-question:after {
  content: "-"; /* Unicode character for "minus" sign (-) */
  font-size: 35px;
}

footer{
    background-color: #2f3030;
    padding: 5% 0;
    margin-top: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

footer > img{
    width: 10%;
    height: 10%;
}

footer > .nav{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer > .nav > a{
    color: #fff;
    transition: all .4s;
}

footer > .nav > a:hover{
    color: #f7941d;
}

.business-info{
    color: #fff;
    max-width: 250px;
}

.social-links{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links > a{
    background-color: inherit;
}

.social-links > a > div > i,
.social-links > a > div > div > h4{
    color: #fff;
    font-size: 20px;
}

.social-links > a > div > i{
    font-size: 25px;
}

.gallery{
    display: flex;
    flex-wrap: wrap;
    /* max-width: 1400px; */
    gap: 25px;
}

.shop-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photos > img{
    width: 310px;
    height: 414px;
}

.photos{
    margin-bottom: 15px;
}

.name{
    font-size: 20px;
    font-weight: 900;
}

.alt-product-img{
    display: none;
}