﻿/*@import "variables/_colors.scss";*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Montserrat", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300 !important;
  /*box-sizing: border-box;*/
  background-size: cover;
  /*min-height: 100vh;*/
  box-sizing: border-box;
  /*position: relative;*/
  /*background-size: auto;*/
  /*overflow-x: hidden;*/
  line-height: 1.6;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  /*overflow-y: scroll;*/
  font-size: 1.6rem;
  background-color: whitesmoke;
  margin: 0;
  max-width: 100%;
}

.wrapper {
  /*    display: grid;
      grid-template-columns: max-content 1fr;*/
}

.page-header {
  /*height: 5rem;*/
  align-items: center;
  /*width: 100%;*/
  display: flex;
  justify-content: center;
  text-align: center;
}

.page-content {
  /*    margin-top: 2rem;
      padding: 3rem;
      padding-top: 0rem;*/
}
.page-content .page-title {
  font-size: 3.5rem;
  font-weight: 200;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.2rem;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 48rem) {
  h2 {
    font-size: 2rem;
  }
}

h3 {
  font-size: 2.6rem;
}

h4 {
  font-size: 2rem;
}

.fw-300 {
  font-weight: 400 !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-200 {
  font-weight: 200 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.main {
  /*margin-left: 0rem;*/
  margin-top: 4rem;
  /*grid-column: 1/-1;*/
  transition: 0.2s ease;
  height: auto;
  padding-bottom: 5rem;
  box-sizing: border-box !important;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 76.8rem) {
  .main {
    /*margin-left: 18rem;*/
  }
}
@media only screen and (max-width: 48rem) {
  .main {
    margin-left: 0;
    margin-top: 2rem;
  }
}

.sidebar {
  width: 26rem;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  transition: 0.2s ease;
  overflow: visible;
  z-index: 200;
  font-size: 1.4rem;
  background-color: whitesmoke;
  visibility: hidden;
  /*margin-top: 6rem;*/
  /*top:0rem;*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 99.6rem) {
  .sidebar {
    width: 18rem;
  }
}
@media only screen and (max-width: 48rem) {
  .sidebar {
    visibility: hidden;
    width: 0rem;
  }
}
.sidebar__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 10rem;
  min-height: 10rem;
}
.sidebar__header * {
  margin: 0rem !important;
}
.sidebar__nav-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  align-items: center;
  padding-top: 3rem;
  margin-left: 5rem;
}
.sidebar .nav {
  list-style: none;
  width: 100%;
  font-size: inherit;
  font-weight: 500;
  font-kerning: auto;
  letter-spacing: normal;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar .nav::-webkit-scrollbar {
  height: 1rem;
  width: 1rem;
  border-radius: 30rem;
}
.sidebar .nav::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30rem;
}
.sidebar .nav::-webkit-scrollbar-thumb {
  background-color: rgba(194, 208, 228, 0.5019607843);
  border-radius: 3rem;
  border-radius: 30rem;
}
.sidebar .nav__item--active {
  color: #a71e28 !important;
}
.sidebar .nav__link {
  text-decoration: none;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  color: black;
}
.sidebar .nav__link:hover > div:first-child {
  transition: 0.5s ease all;
  cursor: pointer;
  color: #a71e28 !important;
}
.sidebar .nav__link:hover > div:first-child:after {
  width: 100%;
}
.sidebar .nav__text {
  font-style: normal;
  font-size: inherit;
  line-height: 150%;
  /*width: 20rem;*/
  display: block;
  /*margin-left: 2rem;*/
}
.sidebar .nav__text:after {
  content: "";
  display: flex;
  border-bottom: 2px solid #a71e28;
  width: 0;
  position: relative;
  left: 0;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}
.sidebar--visible {
  display: flex !important;
  opacity: 1;
  visibility: visible !important;
  width: 100vw;
}

#toggleSidebar {
  display: none;
  font-size: 2rem;
  z-index: 10000;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
#toggleSidebar:hover {
  cursor: pointer;
}
@media only screen and (max-width: 48rem) {
  #toggleSidebar {
    left: 2rem;
    display: block;
    /* @if $breakpoint == phone {
        @media only screen and (max-width: 76.8em) {
            @content;
        }
        //768px
    }*/
    /*   @if $breakpoint == tab-port-big {
           @media only screen and (max-width: 75em) {
               @content;
           }
           //1200px
       }*/
  }
}
@media only screen and (max-width: 48rem) and (max-width: 36rem) {
  #toggleSidebar {
    /*position: fixed;*/
  }
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  gap: 2rem;
  margin-top: 2rem;
  grid-row: 2;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 99.6rem) {
  .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 76.8rem) {
  .portfolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.portfolio .project {
  width: 100%;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /*max-width: calc(100% - 10rem);*/
}
.portfolio .project__cover-image {
  align-content: center;
}
.portfolio .project__cover-image:hover {
  cursor: pointer;
}
.portfolio .project__cover-image:hover > img {
  opacity: 0.8;
}
.portfolio .project__cover-image > img {
  object-fit: cover;
  max-height: 30rem;
  width: 40rem;
}
.portfolio .project__title {
  font: 2rem;
  align-content: center;
}

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.project-details > img {
  padding: 2rem;
  max-width: calc(100% - 6rem);
}

body {
  box-sizing: border-box;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0;
}
.home-cover {
  position: relative;
  text-align: center;
  margin-top: -4rem;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 48rem) {
  .home-cover {
    margin-top: -2rem;
  }
}
.home-cover__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6rem;
  font-weight: 500;
  color: whitesmoke;
  width: 100%;
  text-shadow: -2px -3px 2px black;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 76.8rem) {
  .home-cover__text {
    font-size: 4rem;
  }
}
@media only screen and (max-width: 48rem) {
  .home-cover__text {
    font-size: 3rem;
  }
}
.home-cover-image {
  width: 100vw;
  max-width: 100%;
  max-height: 75rem;
  overflow: clip;
  object-fit: cover;
}
.home .link-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  position: static;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 76.8rem) {
  .home .link-container {
    gap: 2rem;
  }
}
@media only screen and (max-width: 48rem) {
  .home .link-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
.home .link-item__cover-image {
  align-content: center;
}
.home .link-item__cover-image:hover {
  cursor: pointer;
}
.home .link-item__cover-image:hover > img {
  opacity: 0.8;
}
.home .link-item__cover-image > img {
  max-height: 45rem;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 99.6rem) {
  .home .link-item__cover-image > img {
    max-height: 30rem;
  }
}
@media only screen and (max-width: 76.8rem) {
  .home .link-item__cover-image > img {
    max-height: 25rem;
  }
}
@media only screen and (max-width: 48rem) {
  .home .link-item__cover-image > img {
    max-height: 20rem;
  }
}
.home .link-item__title {
  font: 2rem;
  align-content: center;
  display: flex;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 400;
}

.navbar {
  padding: 2rem;
  display: flex;
  align-items: end;
  /*height: 6rem;*/
  width: 100%;
  justify-content: left;
  border-bottom: 2px solid #a71e28;
  /*position: fixed;*/
  top: 0;
  z-index: 300;
  /*background: #e2e2e2;*/
  background-color: whitesmoke;
  background-size: cover;
  background-attachment: fixed;
  max-width: 100%;
  box-sizing: border-box;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
.navbar__title {
  /*    width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 10rem;
  min-height: 10rem;

  & * {
      margin: 0rem !important;
  }*/
  font-size: 3rem;
  box-sizing: border-box;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 48rem) {
  .navbar__title {
    font-size: 2.4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  .navbar__title > span:nth-child(2) {
    margin-left: 0.5rem;
  }
}
@media only screen and (max-width: 36rem) {
  .navbar__title {
    font-size: 2rem;
    /*margin-left: 5rem;*/
    /*display: block;*/
  }
  .navbar__title > span:nth-child(2) {
    margin-left: 0.25rem;
  }
}
.navbar__nav-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  align-items: center;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
@media only screen and (max-width: 48rem) {
  .navbar__nav-container {
    font-size: 2rem;
    display: none;
  }
}
.navbar .nav {
  list-style: none;
  width: 100%;
  font-size: inherit;
  font-weight: 500;
  font-kerning: auto;
  letter-spacing: normal;
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: end;
  display: flex;
  flex-direction: row;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
.navbar .nav::-webkit-scrollbar {
  height: 1rem;
  width: 1rem;
  border-radius: 30rem;
}
.navbar .nav::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30rem;
}
.navbar .nav::-webkit-scrollbar-thumb {
  background-color: rgba(194, 208, 228, 0.5019607843);
  border-radius: 3rem;
  border-radius: 30rem;
}
.navbar .nav__item--active {
  color: #a71e28 !important;
}
.navbar .nav__link {
  text-decoration: none;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  color: black;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
.navbar .nav__link:hover > div:first-child {
  transition: 0.5s ease all;
  cursor: pointer;
  color: #a71e28 !important;
}
.navbar .nav__link:hover > div:first-child:after {
  width: 100%;
}
@media only screen and (max-width: 48rem) {
  .navbar .nav__link {
    padding: 1rem;
  }
}
.navbar .nav__text {
  font-style: normal;
  font-size: inherit;
  line-height: 150%;
  /*width: 20rem;*/
  display: block;
  /*margin-left: 2rem;*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
.navbar .nav__text:after {
  content: "";
  display: flex;
  border-bottom: 2px solid #a71e28;
  width: 0;
  position: relative;
  left: 0;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}
@media only screen and (max-width: 76.8rem) {
  .navbar .nav__text {
    font-size: 1.4rem;
  }
}
@media only screen and (max-width: 76.8rem) {
  .navbar .nav {
    justify-content: space-between;
  }
}
@media only screen and (max-width: 76.8rem) {
  .navbar {
    flex-direction: column;
    align-items: start;
    padding: 0rem 1rem;
  }
}
@media only screen and (max-width: 48rem) {
  .navbar {
    flex-direction: row;
    align-items: center;
    height: 6rem;
    /*padding: 1rem;*/
  }
  .navbar__item > img {
    max-width: 15rem;
  }
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 2rem !important;
}

.gap-3 {
  gap: 3rem !important;
}

.h-100 {
  height: 100% !important;
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 2rem !important;
}

.gap-3 {
  gap: 3rem !important;
}

.gap-4 {
  gap: 4rem !important;
}

.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 1rem !important;
}

.m-2 {
  margin: 2rem !important;
}

.m-3 {
  margin: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 1rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mb-3 {
  margin-bottom: 3rem !important;
}

.mb-4 {
  margin-bottom: 4rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

.mt-3 {
  margin-top: 3rem !important;
}

.mt-4 {
  margin-top: 4rem !important;
}

.mt-5 {
  margin-top: 5rem !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.ml-1 {
  margin-left: 1rem !important;
}

.ml-2 {
  margin-left: 2rem !important;
}

.ml-3 {
  margin-left: 3rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mr-1 {
  margin-right: 1rem !important;
}

.mr-2 {
  margin-right: 2rem !important;
}

.mr-3 {
  margin-right: 3rem !important;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mx-1 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.mx-2 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.mx-3 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-2 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.my-3 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 1rem !important;
}

.p-2 {
  padding: 2rem !important;
}

.p-3 {
  padding: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 1rem !important;
}

.pb-2 {
  padding-bottom: 2rem !important;
}

.pb-3 {
  padding-bottom: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 1rem !important;
}

.pt-2 {
  padding-top: 2rem !important;
}

.pt-3 {
  padding-top: 3rem !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.pl-1 {
  padding-left: 1rem !important;
}

.pl-2 {
  padding-left: 2rem !important;
}

.pl-3 {
  padding-left: 3rem !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pr-1 {
  padding-right: 1rem !important;
}

.pr-2 {
  padding-right: 2rem !important;
}

.pr-3 {
  padding-right: 3rem !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.px-1 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.px-2 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.px-3 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-2 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.py-3 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.flex-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  column-gap: 2rem;
}
.flex-row .row-end {
  justify-self: end;
  margin-left: auto;
  display: inherit;
  align-items: center;
}
.flex-row .row-start {
  justify-self: start;
  margin-right: auto;
  display: inherit;
}

.flex-row-sm {
  display: flex;
  flex-direction: row;
  width: 100%;
  column-gap: 2rem;
}
.flex-row-sm .row-end {
  justify-self: end;
  margin-left: auto;
  display: inherit;
  align-items: center;
}
.flex-row-sm .row-start {
  justify-self: start;
  margin-right: auto;
  display: inherit;
}

.flex-row-md {
  display: flex;
  flex-direction: row;
  width: 100%;
  column-gap: 2rem;
}
.flex-row-md .row-end {
  justify-self: end;
  margin-left: auto;
  display: inherit;
  align-items: center;
}
.flex-row-md .row-start {
  justify-self: start;
  margin-right: auto;
  display: inherit;
}

.flex-row-lg {
  display: flex;
  flex-direction: row;
  width: 100%;
  column-gap: 2rem;
}
.flex-row-lg .row-end {
  justify-self: end;
  margin-left: auto;
  display: inherit;
  align-items: center;
}
.flex-row-lg .row-start {
  justify-self: start;
  margin-right: auto;
  display: inherit;
}

.flex-col {
  display: flex;
  flex-direction: column;
  width: auto;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10000;
  display: none;
  width: auto;
  height: calc(100vh - 5rem);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translate(-50%, -50%);
  /*    width: 80%;
  height: 75%;*/
  /*    max-width: 75rem;
  min-width: 15rem;
  min-height: 10rem;
  max-height: 50rem;*/
  /*max-width: calc(100vw - 15rem);*/
}

.popup-overlay {
  width: 100vw;
  height: 100vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  z-index: 1050;
  display: block;
}

.popup__content {
  color: #fff;
  border-radius: 1rem;
  position: relative;
  /*padding: 3rem;*/
  max-height: 100%;
  /*object-fit: contain;*/
}
.popup__content > img {
  max-width: calc(100vw - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

.popup__close {
  margin-left: auto;
  width: fit-content;
  z-index: 10001;
  top: 20px;
  right: -20px;
  position: relative;
}

.popup--visible {
  visibility: visible;
  opacity: 1;
  display: block;
}

.btn--close,
.button--close {
  background: transparent;
  border: 1px solid red;
  border: none;
  color: #fff;
  padding: 2rem !important;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.btn--close :hover,
.button--close :hover {
  cursor: pointer;
}
.btn--close > i,
.button--close > i {
  width: fit-content;
  height: fit-content;
  font-size: 3rem;
}

.popup > img {
  max-width: calc(100vw - 20rem);
}

ul {
  padding-inline-start: 0;
}

.gallery {
  display: flex;
  /*grid-template-columns: repeat(9, 1fr);*/
  /*  padding: 2rem;
  gap: 2rem;
  margin-top: 2rem;*/
  /*grid-row: 2;*/
  flex-wrap: wrap;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2rem;
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
  /* @if $breakpoint == phone {
      @media only screen and (max-width: 76.8em) {
          @content;
      }
      //768px
  }*/
  /*   @if $breakpoint == tab-port-big {
         @media only screen and (max-width: 75em) {
             @content;
         }
         //1200px
     }*/
}
.gallery__item {
  /*width: auto;*/
  /*border-radius: 1rem;*/
  /*      display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;*/
  overflow: hidden;
  padding: 2rem;
}
.gallery__item :hover {
  cursor: pointer;
}
.gallery__item > img {
  max-height: 40rem;
  object-fit: cover;
  width: 60rem;
}
@media only screen and (max-width: 99.6rem) {
  .gallery {
    grid-template-columns: repeat(7, 1fr);
  }
}
@media only screen and (max-width: 76.8rem) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
  }
  .gallery__item > img {
    max-height: 27.5rem;
    width: 41.25rem;
    object-fit: cover;
  }
}
@media only screen and (max-width: 48rem) {
  .gallery {
    /*grid-template-columns: repeat(1, 1fr);*/
  }
  .gallery__item > img {
    max-height: 20rem;
    width: 30rem;
    object-fit: cover;
  }
}
@media only screen and (max-width: 36rem) {
  .gallery {
    /*grid-template-columns: repeat(1, 1fr);*/
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item > img {
    max-height: 16.6rem;
    width: 25rem;
    object-fit: cover;
  }
}
.gallery-span-2 {
  /*grid-column: span 2;*/
  /*max-width: 25rem;*/
}
.gallery-span-3 {
  /*grid-column: span 3;*/
  /*max-width: 33rem;*/
}
