*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  width: 100%;
  height: 100vh;
  font-family: 'Montserrat', sans-serif;
  margin: 0 auto;
  background: #fafcff;
}

.container,
.header__container,
.footer__container {
  max-width: 1920px;
  width: 100%;
  padding: 0 80px;
  margin: 0 auto;
}

@media (max-width: 1512px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 70px;
  }
}

@media (max-width: 1366px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 60px;
  }
}

@media (max-width: 1280px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 50px;
  }
}

@media (max-width: 920px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 20px;
  }
}

@media (max-width: 360px) {
  .container,
  .header__container,
  .footer__container {
    padding: 0 10px;
  }
}

.title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 1.8vw + 1px, 32px);
  line-height: 1.2; 
  letter-spacing: 0.5px;
  color: #2c2c2c;
  margin-bottom: 20px;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .title {
    line-height: 30px;
  }
}

.subtitle {
  font-size: clamp(16px, 1.2vw + 1px, 20px);
  line-height: 1.3;
  font-weight: 500;
  max-width: 830px;
  margin-bottom: 20px;
  color: #2c2c2c;
}

@media (max-width: 480px) {
  .subtitle {
    font-weight: 400;
  }
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0.9;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(136, 2, 141, 0.1); 
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  padding: 16px 0px;
  margin: 0 auto;
}

.site__logo img {
  max-width: 306px;
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;  
}

.menu {
  display: flex;
  gap: 20px;
}

.menu-title {
  text-decoration: none;
  color: #011739;
  font-weight: 600;
  font-size: clamp(20px, 1.5vw, 26px);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.menu-title:hover {
  color: #8e00aa;
}

.menu-nav a{
  position: relative;
  padding-bottom: 5px;
}

.menu-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #8d025f; 
  transition: width 0.3s ease; 
}

.menu-nav a:hover::after {
  width: 100%; 
}

.hamb {
  display: none;
  height: 28px;
}

.bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  transition: 0.3s;
  background-color: #011739;
}

@media (max-width: 1100px) {
  .site__logo img {
    max-width: 260px;
  }

  .header__nav {
    height: 70px;
  }

  .menu {
    display: none;
  }

  .hamb {
    display: block;
    cursor: pointer;
  }

  .hamb.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamb.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamb.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu {
    display: block;
    position: relative;
    top: 69px;
    z-index: 20;
    background-color: #fff;
    height: auto;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.05s ease;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .menu>.menu-nav {
    position: relative;
    padding: 8px 40px;
  }

  .menu>.menu-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
  }

  .menu.active {
    position: fixed;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
    opacity: 1;
    overflow: visible;
    right: 0px;
    z-index: 20;
    background-color: #f6f6f6;
    height: auto;
    -webkit-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    transition: all 0.5s ease;
    pointer-events: inherit;
  }

  .menu-nav {
    position: relative;
    min-height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: none;
  }
}

@media (max-width: 768px) {
  .menu>.menu-nav {
    padding: 8px 30px;
  }
}

@media (max-width: 576px) {
  .header__nav {
    height: 60px;
  }

  .menu {
    top: 60px;
  }

  .bar {
    width: 26px;
  }
}

@media (max-width: 480px) {
  .menu>.menu-nav {
    padding: 8px 20px;
  }

  .hero {
    display: block;
    text-align: center;
  }

  .title {
    margin-top: 0px;
  }
}

@media (max-width: 414px) {
  .header__nav {
    height: 50px;
    padding-right: 16px;
  }

  .hamb {
    margin: 0px;
  }
}

@media (max-width: 360px) {
  .menu>.menu-nav {
    padding: 8px 10px;
  }
}

/* Hero */
.hero {
  position: relative;
  max-width: 1920px;
  width: 100%;
  height: 554px;
  margin-top: 0;
  margin-bottom: 80px;
  margin-inline: auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.greeting {
  position: absolute;
  left: 80px;
  bottom: 60px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  max-width: 508px;
  width: 100%;
}

.greeting h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 36px;
  display: flex;
  align-items: center;
  letter-spacing: 1.25px;
  margin-bottom: 20px;
  color: #011739;
  text-transform: uppercase;
  font-family: 'Montserrat Alternates';
}

.greeting p {
  max-width: 440px;
  width: 100%;
  height: 48px;
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  color: #011739;
}

@media (max-width: 1512px) {
  .greeting {
    left: 70px;
  }
}

@media (max-width: 1366px) {
  .hero {
    margin-bottom: 70px;
  }

  .greeting h1 {
    font-size: 32px;
    line-height: 32px;
  }

  .greeting p {
    font-size: 20px;
    line-height: 24px;
  }
}

@media (max-width: 1280px) {
  .greeting {
    left: 50px;
  }
}

@media (max-width: 1080px) {
  .hero {
    margin-bottom: 60px;
  }
}

@media (max-width: 920px) {
  .greeting {
    left: 50px;
    bottom: 40px;
  }
}

@media (max-width: 820px) {
  .greeting {
    max-width: 446px;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-bottom: 40px;
  }

  .greeting {
    position: absolute;
    left: 28px;
    bottom: 20px;
    padding: 22px;
    max-width: 380px;
    margin-bottom: 28px;
  }

  .greeting h1 {
    font-size: 26px;
    line-height: 28px;
  }

  .greeting p {
    width: 348px;
    height: 64px;
    font-size: 20px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    margin-bottom: 10px;
  }

  .hero-bg {
    position: relative;
    height: 300px;
  }
  
  .greeting {
    position: static;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-inline: auto;
    max-width: 100%;
    padding: 0;
  }

  .greeting h1 {
    font-size: 26px;
    line-height: 30px;
    text-align: left;
    margin-bottom: 12px;
  }

  .greeting p {
    width: 100%;
    font-size: 20px;
    line-height: 24px;
    height: auto;
    text-align: left;
  }
}

/* Section__show */
.section__show {
  margin-bottom: 80px;
}

.show-card {
  display: flex;
  flex-wrap: wrap;
  flex-basis: calc((100% - 3 * 20px) / 4);
  margin-top: 40px;
  transition: transform .3s ease;
}

.show-card:hover {
  transform: scale(1.03);
} 

.show-card img {
  width: 100%;
  
}

.show-card a {
  display: block;
  width: 100%;
}

.show-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  justify-content: space-between;
  padding: 0 2px;
}

.show-list li {
  overflow: hidden;
  border-radius: 8px;
}

#content-container {
  width: 100%;
  background: linear-gradient(0deg, #0000b0, #0000b0), #0000b0;
  background-size: cover;
  margin-bottom: 0;
}

.content-show {
  background-image: url('../img/play2.png');
  background-size: cover;
  text-decoration: none;
  margin-top: 2px;
  margin-bottom: 0;
  width: 100%;
}

.content {
  width: 100%;
 display: flex;
 flex-direction: column;
 align-items: center;
}

.blue,
.green,
.violet,
.pink {
  background-size: cover;
  opacity: 0.9;
  margin-bottom: 0;
}

.blue {
  background-color: #062ac9c9;
  background: #1032c9a8;
}

.blue:hover,
.blue:focus {
  background: #5a58f8;
  background: #315bffad;
}

.green {
  background-color: #008747;
  background:#008747b5;
}

.green:hover,
.green:focus {
  background: #1ea766a6;
}

.pink {
  background-color: #a50375ab;
  background: #c90a84ba;
}

.pink:hover,
.pink:focus {
  background: #cf2aa6ba;
}

.violet {
  background-color: #8506b3b5;
}

.violet:hover,
.violet:focus {
  background: #81045c;
  background: #9d1cd1b0;
}

.show-list .content {
  padding: 16px 8px 24px 8px;
}

.show-title {
  width: 245px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-align: center;
  color: #ffffff;
  opacity: 1;
}

.show-list p {
  width: 245px;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.5px;
  text-align: center;
  color: #fff;
  opacity: 1;
}

@media (max-width: 1366px) {
  .section__show {
    margin-bottom: 70px;
  }
}

@media (max-width: 1215px) {
  .show-list {
    display: flex;
    justify-content: space-evenly;
  }
}

@media (max-width: 1080px) {
  .section__show {
    margin-bottom: 60px;
  }

  .show-list {
    display: flex;
    justify-content: space-evenly;
  }

  .show-title {
    line-height: 22px;
    letter-spacing: -0.5px;
  }
}

@media (max-width: 998px) {
  .show-card {
    margin-top: 20px;
  }

  .show-title {
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -1.5px;
  }

  .show-list p {
    font-size: 15px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 920px) {
  .show-list {
    justify-content: flex-start;
  }

  .show-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
  }

  .show-card {
    flex-basis: calc((100% - 2 * 20px) / 3);
  }
}

@media (max-width: 768px) {
  .section__show {
    margin-bottom: 40px;
  }

  .show-card {
    flex-basis: calc((100% - 1 * 20px) / 2);
  }

  .show-title {
    font-size: 17px;
  }
}

@media (max-width: 532px) {
  .show-card {
    flex-basis: calc((100% - 1 * 0px) / 1);
  }

  .show-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .section__show {
    /* margin-top: 206px; */
    padding-top: 10px;
  }
}

@media (max-width: 361px) {
  .section__show {
    padding-top: 30px;
  }
}

/* Services */
.section__services {
  margin-bottom: 80px;
}

.section__services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 10px;
  margin: 0 auto;
}

.item {
  display: flex;
  flex-basis: calc((100% - 3 * 20px) / 4);
  width: 80%;
  height: 80px;
  background: linear-gradient(180deg, #04107e 0%, #7b1b9c 100%);
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s ease; 
}

.item:hover {
  transform: scale(1.04);
}

.services-link {
  color: #f8f8f8;
  margin: 0 auto;
  max-width: 245px;
  height: 24px;
  font-family: 'Montserrat Alternates';
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

@media (max-width: 1366px) {
  .section__services{
    margin-bottom: 70px;
  }
}

@media (max-width: 1080px) {
  .section__services {
    margin-bottom: 60px;
  }
}

@media (max-width: 998px) {
  .item {
    flex-basis: calc((100% - 3 * 10px) / 4);
    height: 76px;
  }

  .services-link {
    font-weight: 600;
    font-size: 16px;
  }
}

@media (max-width: 920px) {
  .section__services-list {
    justify-content: flex-start;
  }

  .item {
    flex-basis: calc((100% - 2 * 10px) / 3);
  }
}

@media (max-width: 820px) {
  .section__services-list {
    justify-content: flex-start;
    gap: 10px 10px;
  }
}

@media (max-width: 768px) {
  .section__services {
    margin-bottom: 40px;
  }

  .item {
    height: 70px;
    flex-basis: calc((100% - 1 * 16px) / 2);
  }

  .section__services-list {
    display: flex;
    justify-content: space-between;
    gap: 16px 10px;
  }
}

@media (max-width: 576px) {
  .services-link {
    font-size: 15px;
    line-height: 16px;
    font-weight: 600;
  }
}

@media (max-width: 532px) {
  .section__show,
  .section__services {
    margin-bottom: 80px;
  }

  .services-link {
    padding: 10px 8px;
  }

  .item {
    flex-basis: calc((100% - 1 * 0px) / 1);
  }
}

@media (max-width: 480px) {
  .section__services-list {
    gap: 10px 10px;
  }

  .item {
    height: 60px;
  }
}

/* Gallery */
.section__charity {
  margin-bottom: 80px;
}

.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 30px;
  max-height: 500px;
  overflow-y: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgb(8, 34, 90) rgba(223, 232, 245, 0.836);
}

.gallery > button {
  scroll-snap-align: start;
}

.gallery-modal-btn {
  width: calc((100% - 3 * 14px) / 4);
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.gallery-modal-btn {
  overflow: hidden;
}

.charity-photo {
  width: 100%;
  height: 200px; 
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
}

.wrapper, .gallery, .scroller {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.scroller {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px; 
}

.wrapper, .gallery, .scroller, .gallery-modal-btn {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@media (max-width: 1366px) {
  .section__charity {
    margin-bottom: 70px;
  }
}

@media (max-width: 1080px) {
  .section__charity {
    margin-bottom: 60px;
  }

  .gallery-modal-btn {
    width: calc((100% - 3 * 14px) / 4);
  }
}

@media (max-width: 920px) {
  .gallery-modal-btn {
    width: calc((100% - 2 * 14px) / 3);
  }
}

@media (max-width: 820px) {
  .gallery-modal-btn {
    width: calc((100% - 2 * 14px) / 3);
  }
}

@media (max-width: 768px) {
  .section__charity {
    margin-bottom: 40px;
  }

  .gallery-modal-btn {
    width: calc((100% - 1 * 14px) / 2);
  }
}

@media (max-width: 532px) {
  .gallery-modal-btn {
    width: calc((100% - 1 * 0px) / 1);
  }
}

/* Footer  */
.footer {
  width: 100%;
  margin-top: 42px;
  padding-top: 26px;
  background-color: #011739;
}

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

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer__logo {
  width: 344px;
}

#footer-heading {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  font-family: 'Montserrat';
  color: #ffffff;
  margin-top: 8px;
}

.footer-text
.social {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 64px;
  margin-right: 56px;
}

.social {
  padding-right: 50px;
}

.contact-list {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.contact-item {
  font-size: 14px;
  color: #c5c5c5;
}

.contact-item a {
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.network-social  {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

/* Social-Media */
.footer-medias {
  display: flex;
  flex-direction: row;
}

.footer-medias-list {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-medias-item a {
  display: inline-block;
  color: #fff;
  width: 40px;
  height: 40px;
  position: relative;
  transition: all 0.4s;
}

.footer-medias-item a:hover {
  box-shadow: 0px 4px 5px rgba(143, 166, 243, 0.589);
  color: rgb(127, 255, 0);
}

.footer-medias-item i {
  font-size: 22px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 998px) {
  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
  }

  .footer-medias-list {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
  }

  .network {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .social-text {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer__logo {
    display: flex;
    gap: 30px;
    width: 344px;
    margin-bottom: 20px;
  }

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

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .footer-text {
    font-size: 14px;
  }

  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .contact-item {
    font-size: 12px;
  }

  .contact-item a {
    font-size: 16px;
  }

  .contact-tel {
    padding-left: 18px;
  }

  .contact-email {
    padding-left: 36px;
  }

  .network {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .social {
    padding-top: 20px;
    margin-right: 0;
  }

  .social-text {
    text-align: left;
    font-size: 10px;
    margin-bottom: 0;
  }

  .social-links {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
  }

  .network-social {
    display: flex;
    flex-direction: column;
  }

  .footer-medias-list {
    gap: 10px;
  }

  .footer-info__copyright-link {
    padding-top: 10px;
  }

  .footer .container {
    margin-bottom: 0px;
  }
}

@media (max-width: 532px) {

  .contact-item,
  .social-text {
    font-size: 12px;
  }

  .footer-info__copyright-link {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .footer-medias-list {
    gap: 6px;
  }

  .footer__container {
    padding-left: 20px;
  }

  .footer__logo {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 414px) {
  .footer__logo {
    flex-direction: column;
    width: 300px;
    gap: 16px;
  }

  .contact-item a {
    font-size: 14px;
  }

  .contact-email {
    padding-left: 10px;
  }

  .container .network-social {
    padding-left: 16px;
  }
}

@media (max-width: 360px) {
  .footer__container {
    padding-left: 10px;
  }

  .footer-medias-list {
    gap: 5px;
  }
}


/* Copyright */
.footer-info__copyright {
  display: flex;
}

.footer-info__copyright-link {
  font-weight: 400;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: #eeeff3bb;
  transition: color 0.4s;
  padding-top: 0px;
}

/* Modal bubbleshow  */
.button-tatu {
  margin-top: -38px;
  margin-left: 160px;
  padding: 6px 20px;
}

.modwind {
  position: fixed;
  margin: 0 auto;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  background-color: rgba(0, 0, 0, 0.3);
  display: grid;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0, 7;
  transition: opacity 0.4s, visibility 0.4s;
}

.modall__box {
  max-width: 560px;
  height: 500px;
  padding: 16px;
  z-index: 1;
  background-color: #ffffff;
  transform: scale(0);
  transition: transform 0.4s;
  border-radius: 4px;
  overflow-y: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgb(8, 34, 90) rgba(223, 232, 245, 0.836);
  box-sizing: border-box;
}

.mod-title {
  font-family: 'Montserrat Alternates';
  color: #050505;
  font-weight: 600;
  font-size: 24px;
  line-height: calc(28 / 24);
  text-align: center;
  width: 96%;
}

.mod-descript {
  font-weight: 500;
  font-size: 16px;
  line-height: calc(20 / 16);
  color: #000419;
  padding-bottom: 8px;
}

.shoes {
  font-size: 20px;
}

.mod-text {
  font-weight: 500;
  font-size: 16px;
  line-height: calc(20 / 16);
  color: #000419;
}

.shoes-link {
  text-decoration: none;
  font-size: 30px;
  background: -webkit-linear-gradient(left, #ffc300 49%, blue 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mod-ball {
  font-weight: 600;
  font-size: 20px;
  line-height: calc(26 / 20);
}

.mod-tatu {
  width: 100%;
  display: flex;
  gap: 8px;
}

.mod-photo {
  padding-top: 20px;
  padding-bottom: 20px;
  transition: 0.3s ease;
}

.mod-img {
  width: 100%;
  border-radius: 8px;
  transition: 0.3s ease;
}

.modall__close-btn {
  position: absolute;
  top: 4px;
  right: 8px;
  border: none;
  background-color: transparent;
  padding: 5px;
  cursor: pointer;
  color: #050505;
}

.modwind.open {
  visibility: visible;
  opacity: 1;
}

.modwind.open .modall__box {
  transform: scale(1);
}

@media (max-width: 480px) {
  .mod-title {
    font-weight: 600;
    font-size: 20px;
    line-height: calc(22 / 20);
  }
}

@media (max-width: 414px) {
  .mod-title {
    font-weight: 600;
    font-size: 20px;
    line-height: calc(22 / 20);
  }
}

/* MODAL-GALLERY */
.modal__overlay {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  transition: 0.1s ease;
}

.modal__container {
  background-color: #fff;
  padding: 16px;
  width: 700px;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
   font-family: 'Montserrat Alternates';
  font-size: 20px;
  box-sizing: border-box;
}

.modal__close {
  background: none;
  border: none;
}

.modal__content {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.8);
}

.splide__pagination {
  display: none;
}

.splide__slide {
  height: 500px; 
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  transition: 0.1s ease;
}

.splide__slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.splide__arrow {
  background: none;
}

.splide__arrow svg {
  fill: #fff;
  width: 50px;
  height: 50px;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden='false'] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden='false'] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden='true'] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden='true'] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

.splide__arrow {
  background-color: rgba(255, 255, 255, 0.6); 
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3); 
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.splide__arrow:hover {
  background-color: rgba(255, 255, 255, 0.8); 
}

.splide__arrow svg {
  fill: rgb(9, 1, 124); 
  width: 20px;
  height: 20px;
}

/* BLOG */

/* Hero Blog */
.hero-blog {
  position: relative;
  max-width: 1920px;
  width: 100%;
  height: 340px;
  margin-top: 0;
  margin-bottom: 80px;
  margin-inline: auto;
  overflow: hidden;
}

.hero-blog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Section Blog */
.section__blog {
  margin-bottom: 80px;
}

.blog {
  margin: 0 auto;
}

.blog__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 40px;
  grid-auto-rows: 1fr; 
}

.blog__item {
  display: flex;
  justify-content: space-between;
  background: #f8fdfd;
  border-radius: 8px;
  border: 1px solid #ececf0;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.blog__item {
  flex-direction: column;
}

.blog__triger {
  display: grid !important;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

.blog__triger img {
  display: block;
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 0 8px 8px 0;
  transition: transform 0.3s ease-in-out; 
}

.blog__poster {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 20px 0 20px 20px;
  text-align: start;
}

.title-secondary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  color: #2c2c2c;
}

.blog__triger-title {
  padding-bottom: 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.blog__item:hover .blog__triger-title {
  color: #8e00aa;
  transform: translateY(-3px);
  transform: scale(1.05);
}

.blog__data {
  font-size: 16px;
  font-weight: 300;
  color: #011739;
}

.blog__btn {
  margin-top: 16px;
  border-bottom: 1px;
}

.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 4px 2px;
  border: none;
  color: #011739;
  cursor: pointer;
  background: transparent;
  text-decoration: underline;
  text-decoration-color: #012cca; 
  text-decoration-thickness: 1px;
  text-underline-offset: 6px; 
  transition: transform 0.3s ease;
}

.btn:hover{
  text-decoration-color:#8d025f;
  text-decoration-thickness: 2px;
  transform: scale(1.1);
}

.blog__image {
  height: 220px; 
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  flex-grow: 1;
}

.blog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background: linear-gradient(0deg, #0000b0, #0000b0), #0000b0;
  border-color: #314688;
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #314688;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link {
  color: #070606;
  text-decoration: none !important;
}

.page-link:hover {
  background-color: rgb(197, 223, 241);
}

.fa-angle-right:before {
  content: '\f105';
}

@media (max-width: 1366px) {
  .blog__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 1280px) {
  .hero-blog {
    margin-bottom: 70px;
  }

  .blog {
    margin-bottom: 70px;
  }
}

@media (max-width: 1080px) {
  .hero-blog {
    margin-bottom: 60px;
  }

  .blog {
    margin-bottom: 60px;
  }

  .title-secondary {
    font-size: 20px;
    line-height: calc(24 / 20);
  }

  .blog__data {
    font-size: 14px;
  }
}

@media (max-width: 998px) {
  .title-secondary {
    font-size: 18px;
    line-height: calc(24 / 18);
  }
}

@media (max-width: 820px) {
  .blog__inner{
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-blog {
    margin-bottom: 40px;
  }

  .blog {
    margin-bottom: 40px;
  }

  .blog-title {
    font-size: 28px;
  }

  .blog__inner {
    grid-template-columns: 1fr;
  }

  .title-secondary {
    font-size: 20px;
    line-height: calc(24 / 20);
  }
}

@media (max-width: 670px) {
  .blog__triger {
    flex-direction: column;
  }

  .blog__triger-title {
    max-width: 500px;
    font-size: 20px;
    line-height: calc(22 / 20);
  }

  .blog__item {
    padding: 0px 0px 0px 0;
  }
}

@media (max-width: 576px) {
  .blog__inner {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .blog__triger-title {
    font-size: 16px;
    line-height: calc(20 / 16);
  }

  .btn {
    font-size: 14px;
  }
}

/* Section Master */
.creation {
  margin: 0 auto 80px;
}

.creation__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;  
}

.creation__item {
  flex-basis: calc((100% - 3 * 40px) / 4);
  padding: 20px;
  position: relative;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(145deg, #e6e6e6, #fff);
  box-shadow: 6px 6px 5px #d9d9d9, -5px -5px 4px #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid #e4e4fc;
}

.creation__item:hover {
  transform: translateY(-8px) !important;
}

.creation__item img {
  border-radius: 8px;
  width: 100%;
}

.creation__descript-title {
  padding-bottom: 6px;
}

.creation__descript-title {
  display: inline-block;
  transform-origin: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.creation__item:hover .creation__descript-title {
  transform: scale(1.04);
  color: #8e00aa;
}

.creation__descript {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creation-text {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.25;
}

.detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.button {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid blue;
  color: #011739;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.button:hover {
  border: 2px solid #88028d;
  transform: scale(1.1);
}

.detail__photo {
  max-width: 25%;
}

@media (max-width: 1366px) {
  .creation__inner {
    gap: 30px;
  }

  .creation__item {
    flex-basis: calc((100% - 3 * 30px) / 4);
  }

  .creation-text {
    font-size: 16px;
  }
}

@media (max-width: 1280px) {
  .creation {
    margin: 0 auto 70px;
  }
}

@media (max-width: 1080px) {
  .creation {
    margin: 0 auto 60px;
  }

  .creation__item {
    flex-basis: calc((100% - 2 * 30px) / 3);
  }

  .creation__descript-title {
    font-size: 20px;
    line-height: calc(24 / 20);
  }
}

@media (max-width: 998px) {
  .creation__descript-title {
    font-size: 18px;
    line-height: calc(24 / 18);
  }
}

@media (max-width: 820px) {
    .creation__inner {
    gap: 20px;
  
  }
  .creation__item {
    flex-basis: calc((100% - 1 * 20px) / 2);
  }
}

@media (max-width: 768px) {
  .creation {
    margin: 0 auto 40px;
  }

  .creation__inner {
    grid-template-columns: 1fr;
    gap: 20px 20px;
  }

  .creation__item {
    width: 100%;
  }

  .container .blog-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .creation__item {
    flex-basis: calc((100% - 1 * 0px) / 1);
  }

  .creation__item {
    width: 100%;
    max-width: 100%;
  }

  .creation__descript-title {
    font-size: 16px;
    line-height: calc(20 / 16);
  }
}

@media (max-width: 432px) {
  .creation__item {
    max-width: 392px;
    margin: 0 auto;
  }
}

@media (max-width: 414px) {
  .detail__photo {
    max-width: 20%;
  }
}

/* PAGE-BLOG */

/* Hero Blog */
.page-blog__section {
  width: 100%;
  margin-bottom: 80px;
}

.page-blog__title {
  margin-bottom: 0;
  font-weight: bold;
  color: #2c2c2c;
}

.page-blog__content {
  display: flex;
  flex-direction: column;
}

.content-title {
  padding: 20px 0;
}

.master-text {
  font-weight: 600;
  font-size: clamp(18px, 1.25vw, 24px);
  text-align: start;
  margin-bottom: 34px;
  margin-top: 20px;
  color: #2c2c2c;
}

.page-blog__descript {
  font-size: clamp(16px, 1.2vw + 1px, 20px);
  line-height: 1.5;
  font-weight: 400;  
  letter-spacing: 0.5px;
  text-align: justify;
  color: #2c2c2c;
  padding-top: 4px;
}

.page-photo {
  max-width: 340px;
}

.page-blog__img {
  max-width: 340px;
  float: left;
  margin: 10px 20px 10px 0;
  border-radius: 8px;
  width: 100%; 
  height: 250px; 
  object-fit: cover; 
}

.page-blog__img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.page-blog__img:hover {
  transform: scale(1.10);
}

.page-blog__section ol,
.page-blog__section ul {
  font-size: clamp(16px, 1.2vw + 1px, 20px);
  margin-top: 24px;
  margin-bottom: 24px;
  padding-left: 1.5rem;
  list-style-position: outside;
}

@media (max-width: 1280px) {
  .page-blog__section {
    margin-bottom: 70px;
  }
}

@media (max-width: 1080px) {
  .page-blog__section {
    margin-bottom: 60px;
  }
}

@media (max-width: 1020px) {
  .hero-blog .container {
    margin-bottom: 50px;
  }

  .page-blog__section {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .page-blog__section {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .page-blog__img {
    float: none;
    margin: 0 auto;
  }
}

@media (max-width: 414px) {
  .page-blog__item {
    margin-left: 16px;
    margin-right: 16px;
  }

  .page-blog__img {
    max-width: 330px;
    min-width: 100%;
  }
}

@media (max-width: 360px) {
  .page-blog__item {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* MASTER-CLASS */

/* Section Page-master */
.page-master__section {
  width: 100%;
  margin-bottom: 80px;
}

.page-master__item {
  display: flex;
  flex-wrap: nowrap; 
  gap: 40px;
  flex-direction: row;
}

.master-text {
  font-weight: 600;
  font-size: clamp(18px, 1.25vw, 24px);
  text-align: start;
  margin-bottom: 34px;
  margin-top: 20px;
  color: #2c2c2c;
}

.page-master__content {
  flex: 0 1 60%;
  order: 1;
}

.master__box {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-master__description + .page-master__description {
  border-top: 1px dashed #ccc;
  padding-top: 32px;
  margin-top: 32px;
}

.page-master__descript {
  max-width: 100%;
  width: 100%;
  text-align: justify;
}

.master-block {
  width: 100%;
}

.master-photo {
  max-width: 100%;
}

.page-master__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-master__img {
  float: left;
  width: clamp(280px, 30vw, 540px);
  margin: 0 20px 20px 0;
}

/* Анімація наведення на зображення */
.page-master__img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.page-master__img:hover {
  transform: translateY(-6px) scale(1.10);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Video */
.section-video {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: url(image.png);
}

.video-thumbnail {
  position: relative;
  display: block;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.video-modal video {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.close-button {
  position: absolute;
  top: -42px;
  right: 0px;
  font-size: 34px;
  color: snow;
  background: none;
  border: none;
  cursor: pointer;
}

.play-button svg {
  width: clamp(40%, 5vw + 20%, 100%);
}

/* Colection gallery */
.works__gallery {
  flex: 0 1 40%;
  display: flex;
  justify-content: center;
  order: 2;
}

.works__photo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.works__photo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center; 
}

.result-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.result-photo {
  width: clamp(200px, 18vw, 340px);
}

.result-photo {
  transform: rotate(0deg);
}

.photo-1 {
  transform: rotate(6deg);
}

.photo-2 {
  transform: rotate(-14deg);
}

.photo-3 {
  transform: rotate(6deg);
}

.photo-4 {
  transform: rotate(-14deg);
}

.photo-wrapper {
  position: relative;
}

.photo-wrapper img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Анімація наведення на фото */
.works__photo .photo-wrapper {
  overflow: hidden;
  border-radius: 10px;
}

.works__photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.works__photo .photo-wrapper:hover img {
  transform: scale(1.16) translateY(-4px);
  filter: brightness(0.9);
}

@media (max-width: 1632px) {
  .works__gallery {
    align-items: center;
  }

  .master__box {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .page-master__section {
    margin-bottom: 70px;
  }
}

@media (max-width: 1250px) {
  .work-photo2 {
    width: 100%;
    transform: rotate(-10deg);
  }

  .works__gallery {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 1228px) {
  .works__photo {
    gap: 60px;
  }
}

@media (max-width: 1080px) {
  .page-master__section {
    margin-bottom: 60px;
  }
}

@media (max-width: 1024px) {
  .page-master__content,
  .works__gallery {
    width: 100%;
  }
}

@media (max-width: 998px) {
  .works__photo {
    gap: 78px;
  }

  .work-photo1 {
  transform: rotate(6deg);
  }

  .work-photo2 {
    transform: rotate(-6deg);
  }

  .work-photo3 {
    transform: rotate(6deg);
  }
}

@media (max-width: 820px) {
  .work-photo1 {
    transform: rotate(4deg);
  }

  .work-photo2 {
    transform: rotate(-4deg);
  }

  .work-photo3 {
    transform: rotate(4deg);
  }

  .page-master__img {
    float: none;
    margin: 0 auto 10px;
  }

  .master-text {
    margin-bottom: 16px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .page-master__section {
    margin-bottom: 40px;
  }

  .works__gallery {
    display: none;
  }

  .page-master__content {
    flex: 0 1 100%;
    order: 1;
  }

  .page-master__img {
    max-width: 460px;
    width: 100%;
    float: none;
  }

  .master-photo {
    width: 100%;
  }

  .works__photo {
    gap: 30px;
  }

  .work-photo1,
  .work-photo2,
  .work-photo3 {
    transform: rotate(0deg);
  }
}

@media (max-width: 670px) {
  .page-master__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .master-photo {
    max-width: 400px;
    width: 100%;
  }
}

@media (max-width: 414px) {
  .page-master__img {
    max-width: 330px;
    min-width: 100%;
  }
}

