:root {
  --top-header-height: 30px;
  --total-header-height: 100px;
  --dark-grey: rgb(46, 46, 46);
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  margin: 0;
  font-family: 'Sorts Mill Goudy', serif;
  color: var(--dark-grey);
  font-size: 1rem;
  scroll-padding-top: var(--total-header-height);
}

/*Mobile menu overlay */

.overlay {
  /* height: 0%; */
  display: none;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: white;
  color: black;
  overflow-y: hidden;
  /* transition: 0.5s; */
}

.overlay-content {
  position: relative;
  top: 30%;
  width: 100%;
  text-align: center;
}

.overlay a {
  text-decoration: none;
  /* transition: 0.3s; */
}

.overlay .top-right {
  position: absolute;
  top: 43px;
  right: 15px;
  font-size: 32px;
}

.overlay-content>.menu {
  flex-direction: column;
  gap: 0.5em;
}

.hidden {
  display: none;
}

.hamburger-icon {
  font-size: 1.5em;
}

/*----------------------------*/

.container {
  padding-left: 1em;
  padding-right: 1em;
}

.top-header {
  font-family: 'Montserrat', sans-serif;
  position: fixed;
  top: 0;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 100;
  background-color: var(--dark-grey);
  color: white;
}

.top-header .container {
  height: var(--top-header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.header {
  position: fixed;
  top: var(--top-header-height);
  width: 100%;
  z-index: 100;
  background-color: white;
  color: black;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
}

.header .container {
  height: calc(var(--total-header-height) - var(--top-header-height));
  display: flex;
  justify-content: space-between;
}

.navbar-right {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: right;
  align-items: center;
  width: 20em;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.menu-item {
  width: max-content;
}

.social-logo {
  font-size: 30px;
}

.top-contacts i {
  margin-right: 5px;
}

.top-contacts a {
  transition: all 200ms ease-out;
}

.top-header a:hover {
  opacity: 75%;
}

.language-switch img {
  height: 24px;
}

.menu-link {
  position: relative;
}

.menu-link:after {
  content: "";
  position: absolute;
  background-color: currentColor;
  height: 2px;
  width: 100%;
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transition: transform 200ms ease-in;
}

.menu-link:hover:after {
  transform: scaleX(1);
}

.request-link {
  position: relative;
  border: 2px solid black;
  border-radius: 2px;
  padding-left: 5px;
  padding-right: 5px;
  font-weight: 500;
  transition: all 200ms ease-out;
}

.request-link:hover {
  color: white;
  background-color: black;
}

.menu {
  font-family: 'Montserrat', sans-serif;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: auto;
  font-weight: 700;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  width: 20em;
}

.logo img {
  width: 75%;
  min-width: 190px;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.form-container {
  padding-top: 0;
  padding-bottom: 20px;
}

.image-text {
  color: white;
  background-color: var(--dark-grey);
  padding: 1em;
  width: fit-content;
}

.hero {
  background-image: url('../img/background01.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 16 / 7;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  /* margin-top: var(--total-header-height); */
}

.hero-title {
  color: white;
  text-shadow: 0 0 10px black;
  margin: 0;
  font-weight: bold;
  max-width: 800px;
}

.hero > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.profile-photo {
  width: clamp(12em, 50vw, 20em);
}

section {
  padding-top: 6em;
}

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

.section-content p {
  font-size: 1.2em;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1em;
}

.section-text {
  align-self: center;
}

.section-text h3 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-text p {
  text-align: justify;
  max-width: 75ch;
}

/* #services {
  background-color: var(--dark-grey);
  color: white;
} */

.btn-send {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.help-block.with-errors {
  color: #ff5050;
  margin-top: 5px;
}

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

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

.services-list {
  display: flex;
  gap: 1em;
  margin: 0 auto;
  padding: 0;
  width: 80%;
  justify-content: space-between;
  flex-flow: row wrap;
}

.services-list > * {
  /* flex-basis: 100%; */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 10em;
  background-size: cover;
  background-position: center;
  text-shadow: 0 0 3px black;
  font-size: 1.2em;
  font-weight: 700;
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
}

.services-list > .corporate {
  background-image: url('../img/corporate-event.jpg');
}

.services-list > .private-party {
  background-image: url('../img/private-party.jpg');
}

.services-list > .movie-production {
  background-image: url('../img/movie-production.jpg');
}

.services-list > .office {
  background-image: url('../img/office-catering.JPG');
}

footer {
  text-align: center;
}

@media (min-width: 1200px) {

  h1,
  h2 {
    font-size: 50px;
  }
}

@media (orientation: portrait) {
  .hero {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 1200px) {
  #about .section-content {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero {
    margin-top: var(--total-header-height);
  }

  .hero-title {
    text-align: center;
  }

  section {
    padding-top: 3em;
  }

  .profile-photo {
    order: 1;
    align-self: center;
    margin-top: 30px;
  }

  .tohide {
    display: none;
  }

  .hidden {
    display: block;
  }

  .services-list > * {
    flex-basis: 40%;
  }

}

/* Responsive image gallery rules begin*/

ul {
  list-style: none;
}

.image-gallery {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-direction: row;
  -webkit-flex-direction: row;
  gap: clamp(5px, 1vw, 10px);
  padding-left: 0;
}

.image-gallery > li {
  flex: 1 1 auto;
  /* or flex: auto; */
  height: clamp(150px, 25vw, 300px);
  /* cursor: pointer; */
  position: relative;
}

.image-gallery::after {
  content: "";
  flex-grow: 999;
  -webkit-flex-grow: 999;
}

.image-gallery li img {
  object-fit: cover;
  min-width: 100%;
  height: 100%;
  vertical-align: middle;
  border-radius: 5px;
}

/* .overlay {
      position: absolute;
      width: 100%;
      height: 10%;
      background: rgba(57, 57, 57, 0.502);
      bottom: 0;
      left: 0;
      transform: scale(0);
      transition: all 0.2s 0.1s ease-in-out;
      color: #fff;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .image-gallery li:hover .overlay {
      transform: scale(1);
    } */