/* font-family: 'Montserrat', sans-serif;
font-family: 'Playfair Display', serif; */
:root {
  --color1: rgb(10, 18, 57, 1); /*penne blue */
  --color2: rgb(226, 192, 70, 1); /*Old gold */
  --color3: rgb(233, 234, 235, 1); /*beige */
  --font1: "Montserrat", sans-serif;
  --font2: "Playfair Display", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font2);
}
html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  height: 100%;
  background: var(--color3);
}
.noscroll {
  overflow-y: hidden;
}
.logo-container {
  height: 200px;
  display: flex;
  flex-direction: column;
}
.logo-container .logo {
  height: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  position: relative;
}
.logo-container .logo a {
  position: absolute;
  width: 40%;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}
.logo-container .logo img {
  height: 80%;
  cursor: pointer;
}
.logo-container .title {
  width: 100%;
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.galery-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 10px 0 10px 0;
}
.galery-element {
  width: 115px;
  height: 115px;
  list-style: none;
  overflow: hidden;
  border-radius: 10px;
}
.galery-element:active {
  background: transparent;
  outline: none;
}
.galery-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.galery-element:hover {
  border: 3px solid var(--color3);
}

.popup {
  align-content: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  width: 100vw;
  left: 0;
  top: 0;
  position: fixed;
  animation: fadeIn linear 0.15s;
}
.popup.fade-out {
  animation: fadeOut linear 0.15s both;
}

.popup_img {
  max-height: 90%;
  max-width: 90%;
  border-radius: 10px;
  object-fit: cover;
}
.popup.hidden {
  display: none;
}
.popup_close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 50px;
  position: fixed;
  right: 10px;
  top: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.popup_close:hover {
  color: rgba(203, 45, 45, 0.5);
}
.buttons {
  background: transparent;
  bottom: 50vh;
  transform: translateY(50%);
  display: flex;
  height: 80px;
  position: fixed;
  width: 100%;
}
.buttons .arrow_btn {
  background: transparent;
  border: none;
  font-size: 50px;
  outline: none;
  width: 50%;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.buttons .arrow_btn.left {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-left: 25px;
}
.buttons .arrow_btn.right {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-right: 25px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@media only screen and (min-width: 1000px) {
  .logo-container .logo a {
    width: 15%;
  }
  .galery-element {
    width: 200px;
    height: 200px;
  }
  .galery-container {
    gap: 15px;
  }

  .popup_img {
    min-height: 80%;
  }

  .popup_close {
    width: 70px;
    height: 70px;
    font-size: 80px;
    position: fixed;
    right: 20px;
    top: 10px;
  }
  .buttons {
    height: 200px;
    width: 100vw;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
  }
  .buttons .arrow_btn {
    width: 100px;
    height: 100px;
    background: transparent;
    border: none;
    font-size: 80px;
  }

  .buttons .arrow_btn.left {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 10px;
  }
  .buttons .arrow_btn.right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 10px;
  }
}
@media only screen and (min-width: 1200px) {
  .galery-element {
    width: 280px;
    height: 280px;
  }
  .buttons .arrow_btn.left {
    left: 20px;
  }
  .buttons .arrow_btn.right {
    right: 20px;
  }
}
@media only screen and (min-width: 1400px) {
  .galery-element {
    width: 350px;
    height: 350px;
  }
}
@media only screen and (min-width: 1650px) {
  .galery-element {
    width: 390px;
    height: 390px;
  }
}
@media only screen and (min-width: 2300px) {
  .galery-element {
    width: 400px;
    height: 400px;
  }
  .buttons .arrow_btn.left {
    left: 80px;
  }
  .buttons .arrow_btn.right {
    right: 80px;
  }
}
@media only screen and (min-width: 2500px) {
  .galery-element {
    width: 400px;
    height: 400px;
  }
  .buttons .arrow_btn.left {
    left: 120px;
  }
  .buttons .arrow_btn.right {
    right: 120px;
  }
}
