/* forum-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/forum-v16-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v12-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v12-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}

*,
::after,
::before {
  box-sizing: inherit;
  transition: all 0.5s ease 0.1s;
}

body {
  font-family: 'Inter';
  color: #000;
}

.lock {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.wrapper {
  padding: 0 20px;
}

.section__title {
  display: flex;
  justify-content: center;
  white-space: nowrap;
  width: 50px;
  margin: 0px auto 40px auto;
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: 'Forum';
  font-style: normal;
  font-size: 40px;
  line-height: 40px;
  font-weight: 400;
  color: #0C0C0E;
  letter-spacing: 2px;
  text-transform: capitalize;
  border-bottom: 1px solid #0C0C0E;
}

/* header start */
.header {
  background-color: #0c0c0e;
}

.header__wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  height: 90px;
  color: #ffffff;
}

.header__logo {
  font-family: 'Forum';
  font-style: normal;
  font-size: 30px;
  line-height: 50px;
  font-weight: 400;
  color: #FFF;
  letter-spacing: 0.6px;
}

.header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.header__list {
  display: flex;
  flex-wrap: wrap;
}

.header__item {
  margin-right: 30px;
}

.header__item:last-child {
  margin-right: 0;
}

.header__ico {
  z-index: 99;
  margin-left: 40px;
}

.header__link {
  font-family: 'Inter';
  font-style: normal;
  font-size: 20px;
  line-height: 50px;
  font-weight: 400;
  color: #FFF;
  transition: 0.9s;
}

.header__link-img {
  vertical-align: middle;
}

.header__burger {
  position: relative;
  z-index: 2;
  display: none;
  overflow: hidden;
  width: 45px;
  height: 22px;
  margin-left: 40px;
}

.header__burger span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 2px;
  background-color: #FFF;
  transition: all 0.5s ease 0.1s;
}

.header__burger span:nth-of-type(2) {
  top: calc(50% + 10px)
}

.header__burger span:nth-of-type(3) {
  top: calc(50% - 10px)
}

.header__burger.active span:first-of-type {
  transform: translateX(100%);
}

.header__burger.active span:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__burger.active span:nth-of-type(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 1024px) {

  .header__burger {
    display: block;
  }

  .header__burger.active {
    width: 32px;
    height: 32px;
    margin-left: 53px;
  }

  /* FIX */

  .header__list {
    position: fixed;
    right: -100vh;
    overflow: hidden;
    top: 0;
    display: flex;
    z-index: 2;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    width: 332px;
    height: 583px;
    margin: auto;
    padding-top: 113px;
    background: #0C0C0E;
  }

  /* FIX */

  .header__list.active {
    right: 0;
    display: flex;
  }

  .header__item {
    margin-right: 0;
    margin-bottom: 30px;
  }

}

/* header end */

/* welcome start */

.welcome {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: start;
}

.welcome__gradient {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 300px;
  background: linear-gradient(180deg, #0C0C0E 0%, #0C0C0E 0.01%, rgba(18, 18, 21, 0.10) 100%);
}

.welcome__wrapper {
  width: 100%;
  height: 600px;
  padding: 0;
  position: relative;
  background-image: url(../assets/img/welcome-img.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: start;
}

.welcome__text {
  width: 600px;
  margin: 220px auto auto 0;
  padding: 35px 40px;
  font-family: 'Forum';
  font-style: normal;
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
  text-align: center;
  color: #FFF;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  letter-spacing: 3px;
  text-transform: uppercase;
  background: #0C0C0E;
}

/* welcome end */

/* About start */
.about__wrapper {
  overflow: hidden;
}

.about__text {
  margin-bottom: 20px;
  font-style: normal;
  font-size: 20px;
  line-height: 40px;
  font-weight: 400;
  text-align: center;
  color: #000;
}

.about__carousel {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about__carousel-item {
  display: inline-flex;
  gap: 25px;
  margin-bottom: 35px;
  width: 100%;
  height: 100%;
}

.about__arrow {
  display: none;
}

@media screen and (max-width: 1000px) {

  .about__carousel {
    justify-content: center;
  }

  .about__carousel-wrapper {
    width: 450px;
    overflow: hidden;
  }

  .about__carousel-item {
    display: flex;
    width: 450px;
  }

  .about__carousel-pic {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    min-width: 100%;
  }

  .about__arrow {
    display: flex;
    margin-top: 5px;
  }

  #carousel-button-4,
  #carousel-button-5 {
    display: block;
  }

}

.about__arrow-dis {
  opacity: 0.3;
  cursor: auto;
}

.about__carousel-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
}

.about__carousel-button {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 5px 5px;
  background-color: #0C0C0E;
}

.about__carousel-button::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.active-btn {
  background-color: #BB945F;
  cursor: auto;
}

.mobile {
  display: none;
}

/* About end */

/* Favorites start */
.favorites__text {
  margin-bottom: 37px;
  font-size: 20px;
  font-style: normal;
  line-height: normal;
  font-weight: 700;
}

.favorites__form {
  display: flex;
  margin-bottom: 33px;
  align-items: flex-end;
  justify-content: space-between;
  white-space: nowrap;
  max-width: 710px;
}

.favorites__radio-btn {
  width: 120px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.favorites__input:checked {
  position: relative;
}

.favorites__input {
  width: 17px;
  height: 17px;
  margin-right: 20px;
  appearance: none;
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: pointer;
}

.favorites__input:checked::after {
  content: " ";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background-color: #000000;
}

.favorites__label {
  width: 120px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

.favorites__cards {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

@media screen and (max-width: 850px) {
  .favorites__form {
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .favorites__form-active {
    padding-left: 20px;
    background-color: #BB945F;
  }

  .favorites__cards {
    justify-content: center;
  }

}

.dis-season {
  display: none;
  opacity: 0;
}

.favorites__card {
  position: relative;
  width: 590px;
  background: #FFF;
}

.favorites__card-info {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  width: 550px;
  height: 555px;
  border: 1px solid #000;
}

.favorites__card-title {
  display: flex;
  white-space: nowrap;
  padding-top: 15px;
  margin-bottom: 20px;
  justify-content: flex-start;
  width: 60px;
  font-family: 'Forum';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 2px;
  text-transform: capitalize;
  border-bottom: 1px solid #BB945F;
}

.favorites__card-subtitle {
  margin-bottom: 20px;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 2px;
  text-transform: capitalize;
}

.favorites__card-subtitle-cap {
  text-transform: uppercase;
}

.favorites__card-text {
  max-width: 355px;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 2px;
  text-transform: capitalize;
}

.favorites__card-button {
  margin: auto 0 13px;
  width: 75px;
  padding: 9px 27px;
  text-align: center;
  font-style: normal;
  font-size: 10px;
  line-height: normal;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  border: 1px solid #0C0C0E;
  transition: 0.9s;
}

.favorites__card-button-active {
  color: #BB945F;
  border: 1px solid #BB945F;
}

.favorites__card-img {
  position: absolute;
  top: 255px;
  left: 390px;
}

@media screen and (max-width: 620px) {
  .favorites__card-img {
    display: none;
  }
}

/* Favorites end */

/* Coffeeshop start */

.coffeeshop__text {
  margin-bottom: 40px;
  text-align: center;
  font-style: normal;
  font-size: 20px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: 2px;
}

.coffeeshop__menu {
  display: flex;
  flex-wrap: wrap;
  white-space: nowrap;
  justify-content: space-between;
}

.coffeeshop__drinks {
  text-align: left;
  max-width: 438px;
}

.coffeeshop__cakes {
  text-align: right;
  max-width: 482px;
}

@media screen and (max-width: 980px) {

  .favorites__wrapper {
    display: flex;
    flex-direction: column;
  }

  .favorites__cards {
    justify-content: center;
  }

  .coffeeshop__menu {
    display: flex;
    justify-content: center;
  }

  .coffeeshop__cakes {
    text-align: left;
  }

}

th,
td {
  padding-bottom: 40px;
  padding-right: 55px;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

.coffeeshop__menu-title {
  font-family: 'Forum';
  font-style: normal;
  font-size: 40px;
  line-height: 38px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: capitalize;
  color: #BB945F;
}

.coffeeshop__menu-items {
  font-size: 20px;
  font-style: normal;
  line-height: 38px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: capitalize;
}

.coffeeshop__line {
  width: 100px;
  height: 1px;
  background: #BB945F;
}

/* Coffeeshop end */

/* Contacts start */
.contacts__wrapper {
  margin-bottom: 31px;
}

.contacts__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contacts__text {
  text-align: left;
  font-size: 20px;
  font-style: normal;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: capitalize;
  text-decoration: none;
}

@media screen and (max-width: 768px) {

  .contacts__text {
    margin-bottom: 83px;
  }

  .maps {
    margin: 0 auto;
  }
}

.contacts__text-small-indent {
  margin-bottom: 20px;
}

.contacts__text a {
  color: #000;
  cursor: pointer;
}

.contacts__text-bold {
  font-weight: 700;
}

.contacts__text-big-indent {
  margin-bottom: 40px;
}

/* Contacts end */

/* librarycard start */
.librarycard__wrapper {
  margin-bottom: 40px;
}

.librarycard__forms {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.librarycard__form1 {
  display: flex;
  flex-direction: column;
  width: 600px;
}

.librarycard__form1-title {
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.6px;
  margin-bottom: 30px;
}

.librarycard__form1-items {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 3px solid #BB945F;
  background: #FFF;
}

.librarycard__form1-wrapper {
  padding: 20px 20px 0px 20px;
  background: #BB945F;
  margin-bottom: 20px;
}

.librarycard__form1-subtitle {
  margin-bottom: 20px;
  font-family: 'Forum';
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: 0.6px;
}

.librarycard__input {
  width: 520px;
  height: 66px;
  padding-left: 20px;
  margin-bottom: 25px;
  border-radius: 10px;
  background: #FFF;
  color: #BB945F;
  font-family: 'Forum';
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: 0.6px;
}

.librarycard__form1-button {
  margin: 0 auto 6px auto;
  height: 44px;
  padding: 0 40px;
  color: #0C0C0E;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  border-radius: 2px;
  border: 1px solid #0C0C0E;
  justify-self: center;
  transition: 0.9s;
}

.librarycard__form2 {
  display: flex;
  flex-direction: column;
  max-width: 456px;
}

.librarycard__form2-title {
  margin-bottom: 35px;
  text-align: right;
  font-family: 'Forum';
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.6px;
}

.librarycard__form2-text {
  margin-bottom: 35px;
  text-align: right;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0.4px;
}

.librarycard__form2-buttons {
  display: flex;
  justify-content: flex-end;
}

.librarycard__form2-button {
  text-align: center;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  border-radius: 2px;
  border: 1px solid #0C0C0E;
  width: 75px;
  height: 30px;
  margin-right: 20px;
  transition: 0.9s;
}

.librarycard__form2-button:last-child {
  margin-right: 0;
}

@media screen and (max-width: 1110px) {

  .librarycard__forms {
    justify-content: center;
  }

  .librarycard__form1 {
    margin-bottom: 21px;
  }

  .librarycard__form2 {
    max-width: 600px;
  }

  .librarycard__form2-title,
  .librarycard__form2-text {
    text-align: center;
    margin-bottom: 40px;
  }

  .librarycard__form2-buttons {
    align-self: center;
  }

}

/* librarycard end */

/* footer start */

.footer {
  padding: 20px 0 40px;
  background-color: #0c0c0e;
  max-width: 1440px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer__address {
  margin-bottom: 18px;
}

.footer__address-link {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.footer__list {
  display: flex;
  justify-content: space-between;
  max-width: 102px;
}

.footer__weekdays {
  margin-bottom: 10px;
}

.footer__weekends,
.footer__weekdays {
  color: #FFF;
  text-align: right;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.footer__link {
  color: #FFF;
  transition: 0.9s;
}

.footer__line {
  height: 1px;
  background: #FFF;
  margin-bottom: 44px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 2px;
}

/* footer end */

/* links effects */
.header__link:active,
.header__link:focus,
.contacts__link:active,
.contacts__link:focus,
.footer__link:active,
.footer__link:focus {
  opacity: 0.75;
  color: #BB945F;
}

/* links effects */

/* buttons effect */

.favorites__card-button:disabled {
  cursor: auto;
}

.favorites__label:active,
.favorites__radio-btn label input:checked+span {
  font-weight: 700;
}

/* buttons effect */

@media screen and (max-width: 675px) {

  .welcome__text {
    font-size: 25px;
  }

  .about__arrow {
    display: none;
  }

  .favorites__card-info {
    width: 100%;
  }

  .favorites__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .librarycard__form1 {
    width: 100%;
  }

  .librarycard__input {
    max-width: 100%;
  }

  .coffeeshop__menu {
    flex-direction: column;
  }

  .coffeeshop__cakes,
  .coffeeshop__drinks {
    max-width: 400px;
  }

  .coffeeshop__drinks {
    margin-bottom: 40px;
  }

  .coffeeshop__menu-items {
    font-size: 16px;
  }

  .coffeeshop__line {
    display: none;
  }

  .coffeeshop__menu-title {
    font-family: 'Forum';
    font-style: normal;
    font-size: 25px;
  }

  th,
  td {
    padding-right: 0;
    padding-bottom: 12px;
  }
}

@media screen and (max-width: 510px) {

  .header__burger.active {
    margin-left: 23px;
  }

  .section__title {
    font-size: 30px;
  }

  .header__logo {
    font-size: 20px;
    letter-spacing: 0;
  }

  .header__burger {
    margin-left: 10px;
  }

  .favorites__card-info {
    max-width: 100%;
  }

  .about__text,
  .about__text,
  .about__text,
  .about__text,
  .coffeeshop__text,
  .favorites__label,
  .librarycard__form1-title,
  .librarycard__form2-text,
  .librarycard__form1-subtitle,
  .librarycard__input,
  .librarycard__form1-button {
    font-size: 16px;
  }

  .favorites__card-text,
  .favorites__card-text,
  .librarycard__form2-text,
  .contacts__text-big-indent,
  .contacts__text-small-indent,
  .footer__year,
  .librarycard__form2-title,
  .footer__link,
  .footer__weekends,
  .footer__weekdays {
    font-size: 10px;
  }

  .favorites__card-info {
    height: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }

  th,
  td {
    padding-bottom: 20px;
  }

}

@media (hover: hover) {

  .header__link:hover,
  .contacts__link:hover,
  .footer__link:hover {
    opacity: 0.75;
    color: #BB945F;
  }

  .favorites__card-button:not([disabled]):hover,
  .librarycard__form1-button:not([disabled]):hover,
  .librarycard__form2-button:not([disabled]):hover {
    background-color: #BB945F;
    border-radius: 2px;
    border: 1px solid #BB945F;
  }

  .favorites__label:hover {
    font-weight: 700;
  }

}