html, body {
  box-sizing: border-box;
  font-family: 'Nunito';
}
html {
  font-size: 16px;
}
.container {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 47.5rem;
  grid-template-rows: 10rem 36.25rem 21.25rem;
  gap: 0.5rem;
  grid-template-areas: 
  'side-image menu'
  'side-image content'
  'side-image footer';
}
.side-image {
  grid-area: side-image;
  box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.2);
}
.castle {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.top-image-mobile {
  display: none;
}
.menu {
  grid-area: menu;
  background-color: rgba(180, 207, 219, 0.349);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 2fr 1fr;
  grid-template-areas: 
  'title'
  'menu-buttons';
  box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}
.title {
  grid-area: title;
}
.title-image {
  width: 100%;
  height: 100%;
}
.menu-buttons {
  grid-area: menu-buttons;
  display: flex;
  place-content: center;
  text-align: center;
  align-items: center;
  border-top: solid 0.063rem;
  margin: 0 auto;
  vertical-align: middle;
}
.buttons {
  color: black;
  text-decoration: none;
  margin-right: 1.875rem;
  margin-left: 1.875rem;
  font-size: 1.25rem;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.buttons:active {
  text-shadow: 1px 1px 1px #8391A3;
  transition: none;
}
.lang-selector {
  position: absolute;
  right: 0.8rem;
  bottom: 0.5rem;
  display: flex;
  place-items: center;
  margin: 0; 
  padding-right: 0.2rem; 
  padding-left: 0.2rem; 
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
}
.lang-selector-select {
  appearance: none;
  border: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  margin: 0; 
  padding-right: 0.2rem; 
  padding-left: 0.2rem; 
  font-size: 1rem;
  color: black;
}
.lang-selector-select option {
  background-color: rgba(180, 207, 219, 0.349);
  border-style: solid;
  color: black;
}
.content {
  grid-area: content;
  background-color: rgb(225 229 235);
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.2);
}
.intro {
  padding: 1.875rem;
  display: block;
}
.intro-text {
  display: block;
  width: 43.75rem;
  height: 18.75rem;
}
.intro-text h2 {
  font-size: 1.25rem;
  margin: 0; 
  padding-bottom: 0.938rem;
}
.intro-text p {
  font-size: 1.125rem;
  margin: 0; 
  text-align: justify;
}
.intro-pictures {
  display:flex;
  width: 43.75rem;
  height: 13.75rem;
  justify-content: center;
}
.intro-pictures-mobile {
  display: none;
}
.picture2 {
  padding: 0 0.938rem 0 0.938rem;
}
.footer {
  grid-area: footer;
  background-color: #8391A3;
  padding: 0 1.875rem 0 1.875rem;
  display: grid;
  column-gap: 1.875rem;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 7fr 1fr;
  grid-template-areas: 
  'gallerist contacts links'
  'copyright copyright copyright';
  color: white;
  box-shadow: 4px 3px 10px rgba(0, 0, 0, 0.2);
}
.gallerist {
  grid-area: gallerist;
  place-self: stretch center;
}
.gallerist h2 {
  font-size: 1.25rem;
}
.gallerist img {
  height: 12.5rem;
}
.gallerist p {
  margin: 0rem; 
  font-size: 1.125rem;
}
.contacts {
  grid-area: contacts;
  place-self: stretch center;
}
.contacts h2 {
  font-size: 1.25rem;
}
.contacts p {
  margin: 0; 
  font-size: 1.125rem;
}
.contacts a {
  text-decoration: none;
  color: white;
  font-size: 1.125rem;
  -webkit-tap-highlight-color: transparent; 
}
.contacts a:active {
  text-shadow: 1px 1px 1px white;
  transition: none;
}
.links {
  grid-area: links;
  place-self: stretch center;
}
.links h2 {
  font-size: 1.25rem;
}
.links a {
  display: block;
  margin: 0;
  font-size: 1.125rem;
  color: white;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.links a:active {
  text-shadow: 1px 1px 1px white;
  transition: none;
}
.social-icons {
  display: flex
}
#social-icons-links {
  margin-left: 0;
}
.social-icons img {
  height: 2.5rem;
  width: 2.5rem;
  padding: 0.3rem;
  cursor: pointer;
}
.copyright {
  grid-area: copyright;
  place-self: center;
}
.copyright p {
  margin: 0; 
  font-size: 0.75rem;
}
@media only screen and (min-width: 960px) { 
  html {
    font-size: 1.1vw;
  }
}
@media only screen and (max-width: 960px) {
  html {
    font-size: 1.6vw;
  }
}
@media only screen and (max-width: 760px) and (orientation: portrait) {
    html, body {
      margin: 0;
      font-size: 16px;
    }
    .side-image {
      display: none;
    }
    .container  {
      display: block;
      box-sizing: border-box;
    }
    .top-image-mobile {
      display: flex;
      height: 10rem;
      place-content: center;
    }
    .top-image-mobile img {
      object-fit: cover;
      width: 100%;
    }
    .menu {
      position: sticky;
      top: 0;
      background-color: rgb(229, 238, 242);
      display: flex;
      flex-direction: column;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
      padding-top: 2rem;
      height: 6.5rem;
    }
    .title-image {
      display: flex;
      height: 3.5rem;
    }
    .menu-buttons {
      display: flex;
      place-content: center;
      text-align: center;
      align-items: center;
      border-top: solid 0.1rem;
      height: 2.5rem;
      margin: 0 auto;
      vertical-align: middle;
    }
    .buttons {
      color: black;
      text-decoration: none;
      padding-right: 1rem;
      padding-left: 1rem;
      font-size: 1.5rem;
      margin: 0;
      cursor: pointer;
    }
    .lang-selector {
      position: absolute;
      right: 1rem;
      top: 0.5rem;
      display: flex;
      justify-items: center;
      align-items: center;
      margin: 0px; 
      padding-right: 0.1rem; 
      padding-top: 0.1rem; 
      font-size: 1rem;
      height: 1.25rem;
    }    
    .lang-selector-select {
      appearance: none;
      border: none;
      background-color: transparent;
      outline: none;
      cursor: pointer;
      margin: 0; 
      padding-right: 0.1rem; 
      padding-left: 0.1rem; 
      font-size: 1rem;
      color: black;
    }
    .lang-selector-select option {
      background-color: rgba(180, 207, 219, 0.349);
      border-style: solid;
      color: black;
    }
    .content {
      display: flex;
      flex-direction: column;
      padding: 2rem;
      margin-top: 0.5rem;
    }
    .intro {
      display: flex;
      flex-direction: column;
      padding: 0;
    }
    .intro-text {
      display: flex;
      flex-direction: column;
      width: auto;
      height: auto;
      font-size: 1.5rem;
    }
    .intro-text h2 {
      font-size: 1.5rem;
    }
    .intro-text p {
      font-size: 1.25rem;
    }
    .intro-pictures {
      display: none;
    }
    .intro-pictures-mobile {
      display: flex;
      flex-direction: column;
    }
    .intro-pictures-mobile img {
      padding-top: 1rem;
      padding-bottom: 1rem;
      padding-right: 0;
      padding-left: 0;
    }
    #lastpic {
      padding-bottom: 0;
    }
    .footer {
      background-color: #8391A3;
      display: flex;
      flex-direction: column;
      padding: 2rem;
      color: white;
      margin-top: 0.5rem;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
      margin-bottom: 0.5rem;
    }
    .footer h2 {
      margin: 0;
      font-size: 1.5rem;
    }
    .footer p {
      text-align: right;
      font-size: 1.25rem;
    }
    .footer a {
      text-align: right;
      font-size: 1.25rem;
      justify-self: right;
      color: inherit;
      cursor: default;
      color: white;
    }
    .gallerist img {
      display: block;
      margin-left: auto;
      font-size: 1.25rem;
      height: 16rem;
    }
    .contacts a {
      display: block;
      width: auto;
      height: auto;
    }
    .links {
    place-self: auto;
    }
    .links a {
      margin-left: auto;
      width: auto;
    }
    .social-icons {
    display: flex;
    justify-self: right;
    justify-content: flex-end;
    }
    #social-icons-links {
    margin-left: 0;
    }
    .copyright p {
      font-size: 0.75rem;
      padding-top: 1rem;
    }
}
@media only screen and (min-width: 760px) and (orientation: portrait) {
  html, body {
    margin: 0;
    font-size: 26px;
  }
  .side-image {
    display: none;
  }
  .container  {
    display: block;
    box-sizing: border-box;
  }
  .top-image-mobile {
    display: flex;
    height: 10rem;
    place-content: center;
  }
  .top-image-mobile img {
    object-fit: cover;
    width: 100%;
  }
  .menu {
    position: sticky;
    top: 0;
    background-color: rgb(229, 238, 242);
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding-top: 2rem;
    height: 6.5rem;
  }
  .title-image {
    display: flex;
    height: 3.5rem;
  }
  .menu-buttons {
    display: flex;
    place-content: center;
    text-align: center;
    align-items: center;
    border-top: solid 0.1rem;
    height: 2.5rem;
    margin: 0 auto;
    vertical-align: middle;
  }
  .buttons {
    color: black;
    text-decoration: none;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1.5rem;
    margin: 0;
    cursor: pointer;
  }
  .lang-selector {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    display: flex;
    justify-items: center;
    align-items: center;
    margin: 0px; 
    padding-right: 0.1rem; 
    padding-top: 0.1rem; 
    font-size: 1rem;
    height: 1.25rem;
  }    
  .lang-selector-select {
    appearance: none;
    border: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    margin: 0; 
    padding-right: 0.1rem; 
    padding-left: 0.1rem; 
    font-size: 1rem;
    color: black;
  }
  .lang-selector-select option {
    background-color: rgba(180, 207, 219, 0.349);
    border-style: solid;
    color: black;
  }
  .content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin-top: 0.5rem;
  }
  .intro {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .intro-text {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    font-size: 1.5rem;
  }
  .intro-text h2 {
    font-size: 1.5rem;
  }
  .intro-text p {
    font-size: 1.25rem;
  }
  .intro-pictures {
    display: none;
  }
  .intro-pictures-mobile {
    display: flex;
    flex-direction: column;
  }
  .intro-pictures-mobile img {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 0;
    padding-left: 0;
  }
  #lastpic {
    padding-bottom: 0;
  }
  .footer {
    background-color: #8391A3;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
  }
  .footer h2 {
    margin: 0;
    font-size: 1.5rem;
  }
  .footer p {
    text-align: right;
    font-size: 1.25rem;
  }
  .footer a {
    text-align: right;
    font-size: 1.25rem;
    justify-self: right;
    color: inherit;
    cursor: default;
    color: white;
  }
  .gallerist img {
    display: block;
    margin-left: auto;
    font-size: 1.25rem;
    height: 16rem;
  }
  .contacts a {
    display: block;
    width: auto;
    height: auto;
  }
  .links {
  place-self: auto;
  }
  .links a {
    margin-left: auto;
    width: auto;
  }
  .social-icons {
    display: flex;
    justify-self: right;
    justify-content: flex-end;
    }
  #social-icons-links {
    margin-left: 0;
  }
  .copyright p {
    font-size: 0.75rem;
    padding-top: 1rem;
  }
}
@media only screen and (max-width: 360px) and (orientation: portrait) {
  html, body {
    margin: 0;
    font-size: 14px;
  }
  .side-image {
    display: none;
  }
  .container  {
    display: block;
    box-sizing: border-box;
  }
  .top-image-mobile {
    display: flex;
    height: 10rem;
    place-content: center;
  }
  .top-image-mobile img {
    object-fit: cover;
    width: 100%;
  }
  .menu {
    position: sticky;
    top: 0;
    background-color: rgb(229, 238, 242);
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding-top: 2rem;
    height: 6.5rem;
  }
  .title-image {
    display: flex;
    height: 3.5rem;
  }
  .menu-buttons {
    display: flex;
    place-content: center;
    text-align: center;
    align-items: center;
    border-top: solid 0.1rem;
    height: 2.5rem;
    margin: 0 auto;
    vertical-align: middle;
  }
  .buttons {
    color: black;
    text-decoration: none;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1.5rem;
    margin: 0;
    cursor: pointer;
  }
  .lang-selector {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    display: flex;
    justify-items: center;
    align-items: center;
    margin: 0px; 
    padding-right: 0.1rem; 
    padding-top: 0.1rem; 
    font-size: 1rem;
    height: 1.25rem;
  }    
  .lang-selector-select {
    appearance: none;
    border: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    margin: 0; 
    padding-right: 0.1rem; 
    padding-left: 0.1rem; 
    font-size: 1rem;
    color: black;
  }
  .lang-selector-select option {
    background-color: rgba(180, 207, 219, 0.349);
    border-style: solid;
    color: black;
  }
  .content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin-top: 0.5rem;
  }
  .intro {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .intro-text {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    font-size: 1.5rem;
  }
  .intro-text h2 {
    font-size: 1.5rem;
  }
  .intro-text p {
    font-size: 1.25rem;
  }
  .intro-pictures {
    display: none;
  }
  .intro-pictures-mobile {
    display: flex;
    flex-direction: column;
  }
  .intro-pictures-mobile img {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 0;
    padding-left: 0;
  }
  #lastpic {
    padding-bottom: 0;
  }
  .footer {
    background-color: #8391A3;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    color: white;
    margin-top: 0.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
  }
  .footer h2 {
    margin: 0;
    font-size: 1.5rem;
  }
  .footer p {
    text-align: right;
    font-size: 1.25rem;
  }
  .footer a {
    text-align: right;
    font-size: 1.25rem;
    justify-self: right;
    color: inherit;
    cursor: default;
    color: white;
  }
  .gallerist img {
    display: block;
    margin-left: auto;
    font-size: 1.25rem;
    height: 16rem;
  }
  .contacts a {
    display: block;
    width: auto;
    height: auto;
  }
  .links {
  place-self: auto;
  }
  .links a {
    margin-left: auto;
    width: auto;
  }
  .social-icons {
    display: flex;
    justify-self: right;
    justify-content: flex-end;
    }
  #social-icons-links {
    margin-left: 0;
  }
  .copyright p {
    font-size: 0.75rem;
    padding-top: 1rem;
  }
}