* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

:root {
  --blue: #7E6B4E;
}

*::before,
*::after {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
  scroll-margin-top: 500px;
}

body {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  word-wrap: break-word;
  color: #5c6668;

}

h1,
h2,
h3 {
  color: white;
  font-weight: 700;
  line-height: 1.2;
  max-width: 1400px;
  padding: 0 25px;
  text-align: center;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 3.9rem;
}

h3 {
  font-size: 3rem;
}

p {
  font-size: 2rem;
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.banner__espa {
  position: fixed;
  left: 20px;
  bottom: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 101;
  transition: 0.2s;
}

.banner__espa.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  /* background-color: #808080eb; */
  background-color: var(--blue);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;

}

.language-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
}

.language-menu li {
  display: flex;
  justify-content: center;
  align-items: center;
}
.language-menu li a{
  line-height: 0;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1400px;
  padding: 0 25px;
  margin: 0 auto;
}

.menu li {
  font-size: 2rem;
  color: white;
}

.menu li a:hover {
  text-shadow: 0 0 1px currentColor;
}

.menu li a {
  color: currentColor;
  transition: 0.2s;
}

.mobile-menu__button {
  display: none;
  align-items: center;
  padding: 0 25px;
  border-radius: 3px;
  cursor: pointer;
}

.mobile-menu__button.active .button__inner {
  transform: translate3d(0,9px,0) rotate(45deg);
}

.mobile-menu__button.active .button__inner::before {
  opacity: 0;
  transform: rotate(-45deg) translateY(0);
}

.mobile-menu__button.active .button__inner::after {
  transform: translateY(-18px) rotate(-90deg);
}

.mobile-menu__button .button__box {
  position: relative;
  width: 28px;
  height: 20px;
}

.mobile-menu__button .button__box .button__inner,
.mobile-menu__button .button__box .button__inner::before,
.mobile-menu__button .button__box .button__inner::after {
  background-color: white;
  position: absolute;
  height: 3px;
  border-radius: 5px;
  width: 100%;
  transition: 0.15s;
}

.mobile-menu__button .button__box .button__inner::before,
.mobile-menu__button .button__box .button__inner::after {
  content: '';
  display: block;
  top: 18px;
}

.mobile-menu__button .button__box .button__inner::before {
  top: 9px;
}

.section__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  min-height: 550px;
  z-index: 10;
}

.section__title .background__overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0.3;
  z-index: -1;
}

.section__content {
  max-width: 1400px;
  padding: 0 25px;
  margin: 100px auto;
}

.section__content ul {
  margin-top: -15px;
  margin-bottom: 20px;
}

.section__content li {
  list-style: inside;
  font-size: 1.8rem;
}

.section__content a {
  color: var(--blue);
  transition: 0.2s;
}

.section__content a:hover {
  color: black;
}

.section__content h3 {
  color: var(--blue);
  margin-bottom: 50px;
}

.section__content img {
  margin-bottom: 80px;
}

.home .section__title {
  background-color: #000;
  background-image: url(images/blue\ bell\ 1.jpg);
  background-size: cover;
  background-position: bottom;
  background-attachment: scroll;
  aspect-ratio: 16 / 9;
}

.stolos .section__title {
  background-color: #000;
  background-image: url(images/fleet.jpg);
}

.about .section__title {
  background-color: #000;
  background-image: url(images/about.jpg);
}

.pistopioiseis .section__title {
  background-color: #000;
  background-image: url(images/elies19-scaled.jpg);
}

.pistopioiseis .section__content {
  text-align: center;
}

.epikoinonia .section__title {
  background-color: #000;
  background-image: url(images/Anaxos-Lesbos-vakantie-header.jpg);
}

.epikoinonia span {
  display: block;
  margin-bottom: 10px;
}

.copyright {
  background-color: #808080eb;
  color: white;
}

.copyright div {
  text-align: center;
  margin: 0 auto;
  max-width: 1400px;
  padding: 20px 25px;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;

}

.gallery a {
  flex: 1 1 33.33333%;
  width: 100%;
}

.gallery a {
  aspect-ratio: 16 / 9;
}

.gallery a img {
  max-width: 100%;
  vertical-align: top;
  object-fit: cover;
  height: 100%;
  width: 100%;
  margin: 0 !important;
}

@media screen and (max-width: 992px) {
  h1 {
    font-size: 3.9rem;
  }

  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 2.5rem;
  }

  .language-menu {
    order: -1;
    margin-left: auto;
    padding-inline: 10px;
  }
  .mobile-menu__button {
    display: flex;
  }

  .menu {
    transform: translateX(-100%);
    position: fixed;
    left: 0;
    background-color: #808080eb;
    top: 60px;
    max-width: 350px;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 5px 10px #00000017;
    transition: 0.3s;
  }

  .gallery img {
    margin: 0;
    width: 100%;
  }
  .menu.active {
    transform: none;
  }

  .menu ul {
    flex-direction: column;
  }

  .section__title {
    min-height: 350px;
  }
}

@media screen and (max-width: 800px) {
  .gallery {
    flex-direction: column;
    row-gap: 25px;
  }

  .gallery a {
    flex: 1 1 100%;
  }

  .gallery .item p:last-child {
    margin: 0;
  }

  .gallery .item:not(:last-of-type) {
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 2.3rem;
  }

  p {
    font-size: 1.8rem;
  }

  .menu {
    max-width: 100%;
    height: 100vh;
  }

  .section__title {
    min-height: 300px;
  }
}
