@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
  /*--first-color: #2e2e41;*/
  /*--secondary-color:#5b85ff;*/
  /*--third-color: #434354;*/
  /*--accent-coror: brown;*/
  --text-color: #0c0b0b;
  --accent-coror: #B88B2B;
  --text-color-primary: #1E2024;
  --box-shadow: 0 5px 25px rgba(2, 2 , 2, .1);
  --text-shadow: 0 5px 25px rgba(2, 2 , 2, .1);
}

ul, li {
  list-style: none;
}





.container {
  /*min-height: 100vh;*/
  /*display: grid;*/
  grid-template-rows: 100vh min-content 35vw repeat(5, min-content);
  grid-template-columns: [full-st] 50rem [center-st] repeat(8, [col-st] minmax(min-content, 14rem) [col-end]) [center-end] 1fr [full-end];
}
@media only screen and (max-width: 140rem) {
  .container {
    /*grid-template-rows: 70vh repeat(3, min-content) 80vh repeat(3, min-content);*/
  }
}

.side-img {
  background: #B88B2B;
  grid-column: full-st/col-st 3;
  position: relative;
  font-family: "Dancing Script", cursive;
  padding-bottom: 15rem;
}
@media only screen and (max-width: 140rem) {
  .side-img {
    grid-column: full-st/full-end;
    grid-row: 2;
  }
}
.side-img .figure {
  border: 4px #B88B2B solid;
  border-radius: 2rem;
  padding: 2rem;
  position: relative;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 65rem;
}
.side-img .figure figcaption {
  font-size: 2.4rem;
  margin-left: 2rem;
}
.side-img .figure .img {
  object-fit: cover;
  border-radius: 2rem;
  width: 100%;
  transform: rotateY(180deg);
  display: block;
}
.side-img .logo {
  font-size: 5rem;
  letter-spacing: 5px;
  padding: 2rem 8rem;
  color: #e2e4e6;
  z-index: 20;
}

.header {
  background: burlywood;
  grid-column: col-st 3/full-end;
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 140rem) {
  .header {
    grid-column: full-st/full-end;
    grid-row: 1;
  }
}
.header .list {
  padding: 2rem 8rem;
  display: flex;
  gap: 6rem;
  justify-content: flex-end;
}
.header .item {
  font-weight: 400;
  font-size: inherit;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  padding: 1px;
}
.header .item::before, .header .item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #B88B2B;
  transition: width 0.5s ease-in-out;
}
.header .item::before {
  left: 0;
  top: 0;
}
.header .item::after {
  bottom: 0;
  right: 0;
}
.header .item:hover::before, .header .item:hover::after {
  animation-name: Redline;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
}
.header .item:hover::before {
  animation-delay: 0.6s;
}
@keyframes Redline {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.header__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header .heading {
  font-family: "Dancing Script", cursive;
  padding-top: 10rem;
  justify-self: flex-start;
  margin-bottom: 3rem;
  font-size: 10rem;
  max-width: 70rem;
}
.header .btns {
  padding-top: 4rem;
  display: flex;
  gap: 2rem;
}
.header .btn {
  background: var(--first-color);
  color: white;
  padding: 1.5rem 5rem;
  border-radius: 2.5rem;
}
.header .btn--brown {
  background: #B88B2B;
}
.header__bottom {
  background: moccasin;
  padding: 2rem 5rem;
}
.header .bottom__list {
  display: flex;
  justify-content: space-around;
}
.header .bottom__item {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  padding: 1rem;
  max-width: 36rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header .bottom .avatar-girl,
.header .bottom .avatar-boy {
  margin: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  background: var(--first-color);
  width: 10rem;
  height: 10rem;
  padding: 1.5rem;
  border-radius: 100%;
}
.header .bottom .avatar-girl svg,
.header .bottom .avatar-boy svg {
  width: 10rem;
  height: 10rem;
}

.images {
  background: url("https://fastly.picsum.photos/id/56/2880/1920.jpg?hmac=BIplhYgNZ9bsjPXYhD0xx6M1yPgmg4HtthKkCeJp6Fk");
  grid-column: full-st/col-st 3;
  padding: 3rem 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.images img {
  object-fit: cover;
  max-width: 100%;
  border-radius: 2rem;
}
@media only screen and (max-width: 140rem) {
  .images {
    grid-column: full-st/full-end;
    grid-row: 3;
  }
}

.mission {
  background: burlywood;
  grid-column: col-st 3/full-end;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media only screen and (max-width: 140rem) {
  .mission {
    grid-column: full-st/full-end;
    grid-row: 4;
  }
}
.mission img {
  width: 50rem;
  height: 50rem;
  object-fit: cover;
  margin-left: 2rem;
  margin-top: 2rem;
  margin-right: -2rem;
  shape-outside: circle(50%);
  float: right;
  border-radius: 100%;
}
.mission h2 {
  font-family: "Dancing Script", cursive;
  font-size: 15rem;
  color: #f6f7f9;
}
.mission h3 {
  font-family: "Dancing Script", cursive;
  font-size: 2.4rem;
  column-count: 3;
  column-rule: 2px solid moccasin;
  user-select: none;
  column-width: 15rem;
  padding: 3rem 0;
}
.mission p {
  margin-bottom: 2rem;
}

.slider {
  background: var(--first-color);
  grid-column: full-st/full-end;
  position: relative;
  padding: 3px 6px;
  transition: 0.5s ease;
}
@media only screen and (max-width: 140rem) {
  .slider {
    grid-column: full-st/full-end;
    grid-row: 5/6;
  }
}
@media screen and (max-width: 1050px) {
  .slider {
    padding: 20px 20px;
  }
}
.slider .slider__wrraper {
  position: relative;
}
.slider .tab-nav-bar {
  position: relative;
  margin: 0.5rem 1rem 0.5rem 1rem;
}
@media screen and (max-width: 1050px) {
  .slider .tab-nav-bar {
    margin: 0.5rem 2rem 0.5rem 0.5rem;
  }
}
.slider .tab-navigation {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: fit-content;
  margin: 0 auto;
}
.slider .tab-menu {
  color: var(--text-color-primary);
  background: var(--third-color);
  padding: 0.5rem 4rem;
  white-space: nowrap;
  border-bottom: 1px solid var(--third-color);
  border-radius: 5rem;
  box-shadow: var(--box-shadow);
  overflow-x: auto;
  user-select: none;
  scroll-behavior: smooth;
  max-width: 90rem;
  display: flex;
  gap: 1rem;
}
.slider .tab-menu.dragging {
  scroll-behavior: unset;
  cursor: grab;
}
.slider .tab-menu::-webkit-scrollbar {
  display: none;
}
.slider .tab-btn {
  font-family: "Dancing Script", cursive;
  color: var(--text-color-primary);
  display: inline-block;
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 400;
  /*margin-right: 25px;*/
  margin: 0 0.5rem;
  width: 4.4rem;
  padding: 0.3rem 0.4rem;
  border-radius: 5rem;
  cursor: pointer;
  user-select: none;
  text-align: center;
  align-items: center;
  transition: 0.3s;
  opacity: 1 !important;
  pointer-events: auto !important;
  font-size: 1.1rem;
}
@media screen and (max-width: 1050px) {
  .slider .tab-btn {
    width: 7rem;
  }
}
.slider .tab-btn:first-child {
  /*margin-left: 50px;*/
}
.slider .tab-btn:last-child {
  /*margin-right: 50px;*/
}
.slider .tab-btn:hover {
  background: var(--first-color);
}
.slider .tab-btn.active {
  background: #976846;
  color: white;
}
.slider .tab-menu.dragging .tab-btn {
  pointer-events: none;
}
.slider .left-btn,
.slider .right-btn {
  position: absolute;
  padding: 1rem;
  cursor: pointer;
}
.slider .left-btn svg,
.slider .right-btn svg {
  width: 5rem;
  height: 5rem;
}
.slider .left-btn {
  display: none;
  left: 0;
  background: linear-gradient(to left, transparent, var(--first-color) 80%);
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
}
.slider .right-btn {
  right: 0;
  background: linear-gradient(to right, transparent, var(--first-color) 80%);
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
}
.slider .tab-content {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-height: unset;
  max-height: 60vh;
  overflow-y: auto;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .tab-content {
    min-height: 30vh !important;
  }
}

@media (min-width: 769px) {
  .tab-content {
    min-height: 20vh !important;
  }
}
.slider .tab {
  position: absolute;
  top: 0;
  left: auto;
  bottom: 0;
  right: auto;
  max-width: 110rem;
  height: fit-content;
  padding: 0.1rem 0.2rem;
  transform: translateX(2.5rem);
  content-visibility: hidden;
  /*border: 2px solid brown;*/
  opacity: 0;
  /*display: contents;*/
}
@media screen and (max-width: 1050px) {
  .slider .tab {
    padding: 1.5rem 2.5rem;
  }
}
.slider .tab.active {
  opacity: 1;
  transform: translateX(0);
  content-visibility: visible;
  transition: 1s ease;
}
.slider .tab .row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem 0;
  gap: 3rem;
}
@media screen and (max-width: 1050px) {
  .slider .tab .row {
    flex-direction: column;
  }
}
.slider .tab .img-card {
  position: relative;
  width: 50rem;
  max-width: 50rem;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--box-shadow);
  object-fit: cover;
}
@media screen and (max-width: 1050px) {
  .slider .tab .img-card {
    width: auto;
    max-width: 60rem;
  }
}
.slider .tab .img-card img {
  width: 100%;
  height: 40rem;
  object-fit: cover;
}
@media screen and (max-width: 1050px) {
  .slider .tab .img-card img {
    height: auto;
  }
}
.slider .right-column {
  max-width: 80rem;
}
.slider .info .city,
.slider .info .descriprion p {
  color: var(--text-color);
  margin-bottom: 1rem;
}
.slider .info .city {
  font-size: 3rem;
}
.slider .country {
  font-family: "Dancing Script", cursive;
  color: var(--third-color);
  font-size: 5em;
  font-weight: 700;
  text-align: center;
  text-shadow: var(--text-shadow);
}
@media screen and (max-width: 1050px) {
  .slider .country {
    font-size: 10vw;
    padding-bottom: 5rem;
  }
}

.slider-new {
  background: darkkhaki;
  grid-column: full-st/full-end;
}
@media only screen and (max-width: 140rem) {
  .slider-new {
    grid-column: full-st/full-end;
    grid-row: 5;
  }
}
.slider-new__container {
  margin: 5rem auto;
  display: flex;
  overflow-x: hidden;
  max-width: 100rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.slider-new__item {
  flex: none;
  scroll-snap-align: start;
  text-align: center;
}

.item__content {
  width: 100rem;
  height: 50rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  gap: 2rem;
}
.item__content-img {
  width: 50%;
  padding: 2rem;
}
.item__content-img img {
  object-fit: cover;
  max-width: 100%;
  display: block;
}
.item__content-text {
  width: 50%;
  height: fit-content;
  color: whitesmoke;
  padding: 5rem;
}
.item__content-subtitle {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}
.item__content-discription {
  margin-bottom: 1rem;
}

.squire2 {
  background: coral;
  grid-column: full-st/full-end;
}

.offers {
  background: darkslateblue;
  grid-column: full-st/full-end;
}

.tab-rectangles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  justify-content: center;
  align-items: center;
  margin: 0.1rem 0;
}

.rectangle {
  width: calc(25% - 1rem);
  min-width: 300px;
  height: 70px;
  border: 2px solid #B88B2B;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  text-decoration: none; 
  color: inherit;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px;
}
.rectangle i {
  margin-left: 8px;
  font-size: 25px;
}
.rectangle:hover {
  /*transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);*/
  background-color: rgba(150, 150, 150, 0.1);
  text-decoration: none;
}

.main-headT{
  color: #333;
  letter-spacing: .5px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
  font-weight: 800;
  text-align: center;
  font-size: 1.5rem;
  font-family: Poppins, sans-serif;
}
.h2T{
  font-size: 1.2rem;
  font-family: Poppins, sans-serif;
}
