/*justify-content = x, align-items = y*/
body {
  /*overflow-anchor: none;
  touch-action: none;*/
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  color: rgb(50,50,50);
}

.lock-screen {/*stop scrolling*/
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: hidden;
}

.container {
  position: static;
  z-index: 2;
  margin: 0;
  width: 95%;
  height: 95%;
  max-width: 1200px;
  max-height: 700px;
  display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	align-content: flex-start;
  font-size: min(calc(0.8vw + 0.8vh), 15px);
}

a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

header {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.language {
  display: flex;
  justify-content: space-between;
}

.language a {
  padding: 2%;
  width: 25%;
  background-color: rgba(255,255,255,0.6);
}

/*
.language a:target {
  background-color: rgba(0,0,0,0.4);
  -webkit-transition: background-color 0.3s linear;
  transition: background-color 0.3s linear;
}
*/

.flags {
  width: 50%;
  display: flex;
  margin: auto;
}

.logo-box {
  height: 25%;
  display: flex;
  justify-content: center;
  background-color: rgba(255,255,255,0.6);
}

#home {
  width: 100%;
  padding: 2%;
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
}

.social-media {
  height: 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.social-media a {
  width: 22%;
  font-size: 3em;
  background-color: rgba(255,255,255,0.6);
}

.social-media i:hover {
  color: #BFBFBF;
}

#facebook {
  color: #4267B2;
}

#instagram {
  color: #C13584;
}

#whatsapp {
  color: #128C7E;
}

#email {
  color: orangered;
}

nav {
  width: 100%;
  height: 56%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
}

nav a {
  width: 47.5%;
  height: 30%;
  flex-direction: column;
  text-align: center;
  background-color: rgba(255,255,255,0.6);
  -webkit-transition: background-color 0.3s linear; /* Safari */
  transition: background-color 0.3s linear;
  color: #4E4E4E;
  -webkit-transition: color 0.3s linear; /* Safari */
  transition: color 0.3s linear;
}

*:focus {
  outline: 0 !important;
  /*outline-offset: 0;
  outline: -webkit-focus-ring-color none;*/
}

a:target/*:not(#home)*/ {
  background-color: rgba(0,0,0,0.4);
  -webkit-transition: background-color 0.3s linear; /* Safari */
  transition: background-color 0.3s linear;
  color: #BFBFBF;
  -webkit-transition: color 0.3s linear; /* Safari */
  transition: color 0.3s linear;

}

a:hover:not(:target) {
  background-color: rgba(0,0,0,0.4);
  color: #BFBFBF;
  -webkit-transition: color 0.3s linear; /* Safari */
  transition: color 0.3s linear;
  -webkit-transition: background-color 0.3s linear; /* Safari */
  transition: background-color 0.3s linear;
}

nav img {
  width: 90%;
  height: 70%;
  object-fit: cover;
}

main {
  width: 72.5%;
  height: 100%;
}

.hash-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h2 {
  width: 100%;
  margin: 0 0;
  text-align: center;
}

.modal {
  height: 60%;
  text-align: left;
  padding: 1%;
  background-color: rgba(255,255,255,0.7);
  overflow: auto;
}

.modalImage {
  width:100%;
  height:100%;
  object-position: center;
  object-fit: cover;
}

.review {
  object-fit: contain;
}

.gallery {
  display: flex;
  flex-flow: wrap;
  /*justify-content: space-between;*/
  height: 35%;
  background-color: rgba(255,255,255,0.6);
  align-items: center;
  justify-content: center;
}

.imgThumbnail {
  width: 22%;
  height: 40%;
  object-fit: cover;
  border: none;
  outline: none;
  padding: 0 1%;
}