/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Red+Hat+Display:wght@400;700;900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #51c9c4;
  --first-color-light: #00a381;
  --first-color-alt: #18806a;
  --first-color-dark: #5a1d52;
  --first-color-gray: hsl(79, 6%, 64%);
  --title-color: hsl(180, 4%, 98%);
  --title-color-black: hsl(180, 4%, 12%);
  --text-color: hsl(180, 4%, 72%);
  --text-color-light: hsl(180, 4%, 65%);
  --body-color: hsl(180, 12%, 8%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Red Hat Display', sans-serif;
  --second-font: 'Kaushan Script', cursive;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.5rem;
  --big-font-size: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-bold: 700;
  --font-black: 900;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 6rem;
    --bigger-font-size: 3.5rem;
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0.2rem;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  width: 100%;
  max-width: 1124px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__data {
  display: flex;
  flex-direction: column;
  row-gap: .75rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section__title, 
.section__title-border {
  font-size: var(--big-font-size);
  letter-spacing: 1.5px;
}

.section__subtitle {
  font-size: var(--h2-font-size);
  font-family: var(--second-font);
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--first-color);
  transform: rotate(-2deg);
}

.section__titles {
  display: flex;
  column-gap: .75rem;
  justify-content: center;
}

.section__title-border {
  -webkit-text-stroke: 1px var(--text-color);
  color: transparent;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

.color-red {
  color: hsl(0, 80%, 64%);
}

.color-green {
  color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
.header{
  width: 100%;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: background .3s;
}

.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.3rem;
}

.nav__logo,
.nav__toggle{
  color:var(--title-color);
  display:flex;
}

.nav__logo{
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-bold);
}

.nav__logo img{
  width: 5.25rem;
}

.nav__logo-text {
  font-size: 0.8rem;
}

.nav__toggle{
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 1023px){
  .nav__menu{
    position: fixed;
    background-color: var(--body-color);
    backdrop-filter: blur(32px);
    --webkit-backdrop-filter: blur(32px);
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    border-left: 2px solid var(--first-color-gray);
    transition: right .3s;
  }
}

.nav__list{
  padding: 5rem 0 0 3rem;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link{
  color: var(--title-color);
  transition: color .3s;
}

.nav__link:hover{
  color: var(--first-color);
}

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav .nav__button{
  background-color: var(--title-color);
  border: 2px solid var(--first-color-dark);
}

.nav__admin-link {
  margin-top: 2rem;
}

.nav__admin-link .nav__link:hover {
  color: crimson; 
}

/*=============== SHOW MENU ===============*/
.show-menu{
  right: 0;
}

/*=============== Change background header  ===============*/

.bg-header{
  background-color: var(--body-color);
  box-shadow: 0 4px 8px hsla(180, 12%, 4%, .8);
}

/*=============== Active link ===============*/
.active-link{
  color: var(--first-color);
}


/*=============== HOME ===============*/
.home{
  position: relative;
  padding-bottom: 0;
}

.home__container{
  padding-top: 4rem;
  row-gap: 3rem;
}

.home__data{
  text-align: center;
}

.home__title{
  font-size: var(--bigger-font-size);
  font-weight: var(--font-black);
}

.home__subtitle{
  font-size: var(--biggest-font-size);
  -webkit-text-stroke: 1px var(--first-color-light);
  color: transparent;
  margin: 0.8rem 0;
}

.home__subtitle,
.home__title{
  letter-spacing: 1px;
}

.home__description{
  margin-bottom: 2.5rem;
}

.home__triangle{
  height: 325px;
  position: absolute;
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.home__triangle-1{
  width: 105px;
  background-color: var(--first-color);
}

.home__triangle-2{
  width: 205px;
  background-color: var(--first-color-alt);
}

.home__triangle-3{
  width: 305px;
  background-color: var(--first-color-light);
} 

.home__img{
  display: block;
  position: relative;
  z-index: 1;
  width: 700px ;
  margin: 0 auto;
}

/*=============== BUTTON ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  padding: 18px 32px;
  border: 2px solid var(--first-color-dark);
  color:var(--title-color-black);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: background .3s;
  border-radius: 25px;
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button i{
  font-size: 1.25rem;
  transition: trasnsform .3s;
}

.button__flex{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: .5rem;
}

.button__flex:hover i{
  transform: translateX(.25rem);
}
/*=============== SPONSOR LOGOS ===============*/
.logos__container{
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
}

.logos__img{
  width: 120px;
}
/*=============== ABOUT US ===============*/
.about__container{
  display:grid;
  grid-template-columns: 400px;
  justify-content: center;
  row-gap: 2rem;
}

.about__card{
  display: grid;
  background-color:hsla(85, 6%, 50%, 0.3);
  padding: 2px solid transparent;
  transition: background .5s border .4s;
  border: 2px solid hsla(85, 6%, 50%, 0.8);
  border-radius: 25px;
}

.about__title{
  font-size: var(--h2-font-size);
  margin-bottom: 2rem;
}

.section__subtitle{
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}
.about__description{
  font-size: var(--small-font-size);
  letter-spacing: .5px;
  line-height: 150%;
  padding: 12px;
}

.about__title,
.about__description{
  transition: color .5s;
}

.about__card:hover{
  background-color: var(--first-color-alt);
  border: 2px solid hsla(85, 6%, 50%, 0.8);
  opacity: 1;
}

.about__card:hover .about__title,
.about__card:hover .about__description{
  color: var(--title-color-black);
}

/*=============== GALLERY ===============*/
.gallery{
  padding-bottom: 0;
}

.gallery__overflow{
  position: relative;
}

.gallery__container{
  row-gap: 3rem;
}

.gallery__content .section__data{
  margin-bottom: 2rem;
}

.gallery__description{
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery__subtitle{
  font-size: var(--biggest-font-size);
  -webkit-text-stroke: 1px var(--first-color-light);
  color: transparent;
}

.responsive{
  width: 100%;
  height: auto;
  border-radius: 25px;
}


/*=============== SLIDER ===============*/

.slider {
  --width: 300px;
  --height: 400px;
  --duration: 30s;

  overflow: hidden;
  width: 100%;
  height: var(--height);
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scrollSlider var(--duration) linear infinite;
  gap: 1rem;
}

.slider-img {
  width: var(--width);
  height: var(--height);
  object-fit: cover;
  border-radius: 20px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.slider:hover .slider-img {
  filter: blur(5px);
  transform: scale(0.95);
}

.slider-img:hover {
  filter: blur(0px) !important;
  transform: scale(1.05);
  z-index: 2;
}

/* Animation */
@keyframes scrollSlider {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}



/*=============== SPONSORSHIP ===============*/


/*=============== RESULTS ===============*/

.results__container {
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}

.result__shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0 auto 2rem auto;
}

.result__shape img {
  width: 220px;
  height: auto;
  margin-bottom: 0.5rem;
}

.results__group {
  margin-bottom: 2rem;
}

.results__day {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.results__match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: hsla(85, 6%, 50%, 0.2);
  border: 2px solid var(--first-color);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  font-weight: var(--font-bold);
  color: var(--title-color);
  flex-wrap: wrap;
  gap: 1rem;
}


.results__team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.results__team img {
  height: 30px;
  width: 30px;
  object-fit: contain;
}

.results__score {
  color: var(--first-color);
  font-size: 1.2rem;
} 

.results__date{
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.form__input {
  background: transparent;
  border: 2px solid var(--first-color);
  border-radius: 10px;
  color: var(--title-color);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form__input::placeholder {
  color: var(--text-color);
}

.form__message {
  margin-top: 1rem;
  font-weight: var(--font-bold);
}

.result__subtitle {
  font-size: var(--biggest-font-size);
  -webkit-text-stroke: 1px var(--first-color-light);
  color: transparent;
}

.results__filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.results__filter label {
  font-weight: 600;
  color: var(--first-color);
}

.results__filter input {
  width: 220px;
  max-width: 90%;
}

.results__match .results__controls {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.results__controls button {
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background-color: var(--first-color);
  color: #fff;
  transition: background 0.3s;
}

.results__controls button:hover {
  background-color: var(--second-color);
}

.results__pagination {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.results__pagination button {
  background-color: var(--first-color);
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.results__pagination button:hover {
  background-color: var(--second-color);
}

.results__pagination button:disabled {
  background-color: #444;
  cursor: not-allowed;
}

.results__team img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}



.custom-date-wrapper {
  position: relative;
  display: inline-block;
}

.custom-date {
  padding-right: 2.5rem; 
  color-scheme: dark; 
}

/* Hide the native calendar icon */
.custom-date::-webkit-calendar-picker-indicator {
  opacity: 0;
  z-index: 2;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Custom icon */
.calendar-icon {
  position: absolute;
  right: 1rem;
  top: 35%;
  transform: translateY(-50%);
  pointer-events: none;
  color: white;
  font-size: 1.2rem;
}

.calendar-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(1000%);
}


/*=============== ADMIN CONFIRM PASSWORD ===============*/
.admin-pass-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.admin-pass-content {
  background: var(--body-color);
  border: 2px solid var(--first-color);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.admin-pass-content h2 {
  color: var(--first-color);
  margin-bottom: 1rem;
}

.admin-pass-content input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 2px solid var(--first-color);
  background: transparent;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1rem;
  outline: none;
}

.admin-pass-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.admin-pass-buttons button {
  flex: 1;
  padding: 0.75rem;
  font-weight: bold;
  background: var(--first-color);
  color: var(--title-color-black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.admin-pass-buttons button:hover {
  background: var(--second-color);
}

.error-msg {
  color: red;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}


/*=============== ADMIN MODAL ===============*/
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #111;
  margin: auto;
  padding: 2rem;
  border: 2px solid var(--first-color);
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  color: #fff;
  position: relative;
}

.close {
  position: absolute;
  top: 0px; right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: var(--first-color);
}

.hidden {
  display: none !important;
}

.logo-select,
.logo-select-label {
  display: block;
  width: 100%;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--first-color);
}

.logo-select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--first-color);
  border-radius: 10px;
  background: transparent;
  color: var(--text-color);
  appearance: none;
}


/*=============== FOOTER ===============*/
.footer__container {
 row-gap: 4rem;
 padding-top:1rem;
}

.footer__logo,
.footer__description {
  color: var(--title-color);
}

.footer__logo,
.footer__form,
.footer__social{
  display: flex;
}

.footer__logo {
  align-items: center;
  column-gap: .2rem;
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.footer__logo img {
  width: 15rem;
}


.footer__description {
  margin-bottom: 2rem;
}

.footer__form {
  flex-direction: column;
  gap: 1.25rem;
}

.footer__input {
  padding: 20px 56px 20px 24px;
  border: 2px solid var(--first-color);
  background: transparent;
  color: var(--text-color);
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 10px;
  resize: none;
  box-sizing: border-box;
}



.footer__content,
.footer__links,
.footer__group {
  display: grid;
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 3.5rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

.footer__links {
  row-gap: .75rem;
}

.footer__link {
  color: var(--text-color);
  transition: color .3s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__group {
  margin-top: 5rem;
  justify-items: center;
  row-gap: 2rem;
}

.footer__social {
  column-gap: 1.5rem;
}

.footer__social-link {
  display: inline-flex;
  padding: .35rem;
  background-color: var(--first-color);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--title-color-black);
  transition: background .4s;
}

.footer__social-link:hover {
  background-color: var(--first-color-alt);
}

.footer__copy {
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 2rem;
}

.footer__message {
  position: absolute;
  transform: translateY(1rem);
}


 

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(79. 4%, 15%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(79, 4%, 25%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(79, 4%, 35%);
  border-radius: .5rem;
}
/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--first-color);
  display: inline-flex;
  padding: .35rem;
  color: var(--title-color-black);
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  border-radius: 50%;
  transition: .3s;
}

.scrollup:hover{
  transform: translateY(-.25rem);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: .5rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */



@media screen and (max-width: 400px) {
  .container {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .section__titles {
    flex-direction: column;
    row-gap: .25rem;
  }

  .home__triangle {
    height: 255px;
  }

  .home__triangle-3 {
    width: 260px;
  }

  .about__container {
    grid-template-columns: 270px;
    justify-content: center;
  }
  .about__card {
    padding: .5rem;
  }

  .gallery__description {
    padding: 0; 
    padding-right: 3rem;
    font-size: 0.95rem; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    flex: 1 1 50%;
    max-width: 50%;
    align-self: center;
  }

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

  .footer__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer__logo img {
    width: 10rem;
  }

  .footer__form {
    gap: 1rem;
  }

  .footer__input {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .button {
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .footer__description {
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 60%;
    align-items: initial;
  }

  .footer__group {
    flex-wrap: wrap;
  }

  .footer__logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__form {
    margin: 1rem 0;
    width: 90%;
  }

   .results__match {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .results__team {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .results__team img {
    max-width: 60px;
    max-height: 60px;
  }

  .results__score {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--first-color);
    margin: 0.5rem 0;
  }

  .results__date {
    font-size: 0.85rem;
    color: var(--text-color);
  }

  .results__controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
  }

  .results__controls button {
    flex: 1;
    max-width: 120px;
  }
}


/* For medium devices */

@media screen and (min-width: 768px){
  .nav__menu {
    width: 50%;
  }

  .home__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .home__data {
    text-align: initial;
  }


  .about__container {
    grid-template-columns: repeat(1, 700px);
    column-gap: 2rem;
  }  

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

  .footer__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer__logo img {
    width: 10rem;
  }

  .footer__form {
    gap: 1rem;
  }

  .footer__input {
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .button {
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .footer__description {
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 60%;
    align-items: initial;
  }

  .footer__group {
  flex-wrap: wrap;
  }

  .footer__logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__form {
  margin: 1rem 0;
  width: 80%;
  }

  .footer__input,
  .footer__form .button {
    width: 90%;
  }
}

/* For large devices */

@media screen and (min-width: 1023px) {
  .nav {
    height: calc(var(--header-height) + 2rem);  
  }

  .nav__menu {
    width: initial;
  }

  .nav__toggle,
  .nav__close {
  display: none;
  }


  .nav__list {
    flex-direction: row;
    padding: 0;
    align-items: center;
    column-gap: 2rem;
  }

  .nav__logo-text {
    display: none;
  }

  .section {
    padding: 7rem 0 0;
  }

  .home__container {
    grid-template-columns: repeat(2, max-content);
    align-items: initial;
  }

  .home__title {
    margin: .75rem 0 1.25rem;
  }

  .home__description {
    font-size: 1.5rem;
    line-height: 1.5;
    width: 600px;
    margin-bottom: 3rem;
  }

  .home__img {
    width: 650px;
    transform: translateX(-5rem);
  }

  .home__triangle {
    height: 700px;
  }

  .home__triangle-1 {
    width: 200px;
  }

  .home__triangle-2 {
    width: 400px;
  }

  .home__triangle-3 {
    width: 600px;
  }

  .about__container {
    grid-template-columns: repeat(3, 500px); 
    column-gap: 2rem;
    align-self: start;
    margin: 25px;
  }

  .section__title-border{
    font-size: 2rem;
  }

  .section__title {
    font-size: 1.4rem;
  }

  .about__description {
    font-size: 1.2rem;
  }

  .gallery__container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gallery__description {
    font-size: 1.5rem !important;
  }

  .responsive {
    max-width: 900px;
    margin: 0 auto;
    display: block;
  }

  .slider {
    width: 100vw; 
    margin: 0 auto;
  }

  .slider-track {
    padding: 0 2rem;
  }


  .section__data {
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .results__filter {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .results__filter label {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .results__list {
    width: 100%;
    max-width: 900px;
  }

  .footer{
    padding-bottom: 3rem;
  }

  .footer__form {
    flex-direction: row;
  }

  .footer__content {
    column-gap: 5rem;
  }

  .footer__group{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    margin-top: .7rem;
  }

  .footer__social-link {
    font-size: 2rem;
  }

  .footer__form {
  margin: 1rem 0;
  width: 80%;
  }

  .footer__input,
  .footer__form .button {
    width: 80%;
  }
}

@media screen and (min-width: 1150px) {
  .container {
    margin-left:auto;
    margin-right:auto;
  }

  .home__data{
    padding-top: 3rem;
  }

  .home__title{
    font-size:2.3rem;
  }
  .home__subtitle{
    font-size: 4rem;
  }
  .home__images {
    transform: translateX(-9rem);  
  }

  .home__img{
    transform: translateX(2rem);
  }

  .home__triangle {
    height: 800px;
  }

  .home__triangle-1 {
    width: 300px;
  }

  .home__triangle-2 {
    width: 500px;
  }

  .home__triangle-3 {
    width: 700px;
  }

  .about__container {
    grid-template-columns: repeat(1, 1055px); 
    column-gap: 2rem;
    align-self: start;
    margin: 35px;
  }
}

@media screen and (min-width: 1300px) {
  .container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
  }

  .nav__logo-text {
    display: inline-block;
  }

  .home__container {
    grid-template-columns: repeat(2, max-content);
    align-items: initial;
  }

  .home__images {
    transform: translateX(0); 
  }

  .home__img {
    transform: translateX(0);
  }

  .home__triangle-1 {
    width: 350px;
  }

  .home__triangle-2 {
    width: 600px;
  }

  .home__triangle-3 {
    width: 850px;
  }

  .about__container {
    grid-template-columns: repeat(3, 400px);
    column-gap: 3rem;
    margin: 50px auto;
    max-width: 1200px;
  }

  .home__title {
    font-size: 2.75rem;
  }

  .home__subtitle {
    font-size: 4.5rem;
  }

  .slider {
    width: 100vw; 
    margin: 0 0;
  }

  .slider-track {
    padding: 0 2rem;
  }
}


