:root {
  --main-bg-color: #f8d105;
  font-family: "Jura";
}

* {
  margin: 0;
}

img {
  min-height: 10px;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

.highlight {
  color: var(--main-bg-color);
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.btn {
  appearance: button;
  -webkit-appearance: button;
  -moz-appearance: button;
  -ms-appearance: button;
  -o-appearance: button;
  cursor: default;
  background-color: var(--main-bg-color);
  color: #333;
  text-transform: uppercase;
  width: 200px;
  text-align: center;
  border-radius: 4px;
  padding: 0.7rem;
}

a:hover.btn {
  cursor: pointer;
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

.divider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.divider {
  background-image: url(./images/nirome-divider.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50%;
}

.hidden-s {
  display: none;
}

.hidden-s1 {
  display: none;
}

.hidden-m {
  display: none;
}

/* header */
header .top-bar {
  display: grid;
  grid-template-columns: 45px 3fr 77px;
  padding: 0.5rem;
}

header .top-bar .flags a:first-child {
  padding-right: 0.5rem;
}

header .top-bar .flags img {
  width: 15px;
}

header .top-bar .moto {
  text-align: center;
  font-size: 0.8rem;
}

header .top-bar .contact {
  text-align: right;
}

header .top-bar .contact .mail img {
  width: 20px;
}

header .top-bar .contact .pin img {
  width: 12px;
  padding: 0 10px;
}

header .top-bar .contact .instagram img {
  width: 15px;
}

/* .main-photo-container */
.main-photo-container {
  position: relative;
}

.main-photo-container .logo-button-container {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.main-photo-container .main-photo img {
  width: 100%;
}

.main-photo-container .logo {
  position: absolute;
  top: 0;
}

.main-photo-container .logo img {
  width: 70px;
}

.main-photo-container .book-button {
  position: absolute;
  bottom: -1rem;
}

/* .key-figures-container */
.key-figures-container {
  position: relative;
  text-align: center;
}

.key-figures-container .text-container {
  display: flex;
  width: 80%;
  justify-content: center;
  background-image: url(./images/nirome-bg-top.png);
  background-size: cover;
}

.key-figures-container .text-container .subtitle {
  text-transform: uppercase;
  font-size: 0.7rem;
}

.key-figures-container .text-container .vertical-line-container {
  padding: 7px 1rem 0 1rem;
}

.key-figures-container .text-container .vertical-line-container .vertical-line {
  border-left: 1px solid;
  height: 100%;
}

.key-figures-container .text-container .text-left img {
  width: 1.4rem;
}

.key-figures-container .text-container .text-right img {
  width: 3.8rem;
}

/* .welcome-text-images-container */
.welcome-text-images-container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  padding-top: 3rem;
}

.welcome-text-images-container .img img {
  width: 100%;
}

.welcome-text-images-container .text {
  padding: 0 1.3rem;
}

.welcome-text-images-container .text .title {
  font-size: 1.6rem;
  padding: 10px 0 20px 0;
}

.welcome-text-images-container .text .subtitle {
  text-transform: uppercase;
  font-size: 1.4rem;
}

.welcome-text-images-container .text p {
  padding-bottom: 0.7rem;
}

/* .slideshow-container */
.slideshow-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 30px;
}

.slideshow-container .slide-top-info {
  display: none;
}

.slideshow-container.gallery {
  padding-top: 0;
}

.slideshow-container .slides-container {
  position: relative;
}

.slideshow-container .slides-container img {
  width: 100%;
}

/* Next & previous buttons */
.slideshow-container .slides-container .prev,
.slideshow-container .slides-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.slideshow-container .slides-container .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* The dots/bullets/indicators */
.slideshow-container .pagination {
  position: relative;
  bottom: 30px;
  text-align: center;
}

.slideshow-container .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.slideshow-container .active,
.dot:hover {
  background-color: var(--main-bg-color);
}

/* Fading animation */
.slideshow-container .slides-container .fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .slideshow-container .slides-container .prev,
  .slideshow-container .slides-container .next {
    font-size: 11px;
  }
}

/* .room-container */
.room-container .room-info {
  text-align: center;
  padding: 0 1.3rem;
}

.room-container .room-info .title {
  font-size: 1.6rem;
  padding: 10px 0 20px 0;
}

.room-container .room-info .subtitle {
  text-transform: uppercase;
  font-size: 1.4rem;
}

.room-container .room-info .text {
  font-size: 0.8rem;
  text-align: left;
}

.room-container .facilities-container {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
}

.room-container .facilities-container .facilities {
  display: flex;
  flex-direction: column;
}

.room-container .facilities-container img {
  width: 100%;
}

.room-container .facilities-container .amenities {
  padding: 1.3rem 1.3rem 0 1.3rem;
}

.room-container .facilities-container .amenities .amenities-item {
  padding-bottom: 10px;
}

.room-container .facilities-container .amenities .amenities-item .title {
  font-size: 1rem;
  text-transform: uppercase;
}

/* .details-container */
.details-container .detail-image img {
  width: 100%;
  height: 100%;
}

.details-container .detail-item {
  display: flex;
  position: relative;
  align-items: center;
}

.details-container .main-text {
  font-size: 0.5rem;
  width: 47%;
}

.details-container .main-text p {
  display: inline;
}

.details-container .text-left {
  justify-content: left;
}

.details-container .text-right {
  justify-content: right;
}

.details-container .text-left .detail-text {
  padding-left: 20px;
}

.details-container .text-right .detail-text {
  padding-right: 10px;
}

.details-container .detail-item:not(:first-child) .detail-text {
  text-transform: uppercase;
}

.details-container .detail-text {
  font-size: 1.4rem;
  color: var(--main-bg-color);
  position: absolute;
}

.details-container .detail-1 .detail-text {
  color: #333;
}

.details-container .detail-text .subtitle {
  font-size: 1.3rem;
  text-transform: uppercase;
}

/* .nearby-container */
.nearby-container {
  text-align: center;
}

.nearby-container .title {
  font-size: 1.6rem;
  padding: 10px 0 20px 0;
}

.nearby-container .subtitle {
  text-transform: uppercase;
  font-size: 1.4rem;
}

.nearby-container .nearby-items {
  display: flex;
  flex-direction: column;
}

.nearby-container .nearby-item {
  display: grid;
  text-align: center;
  width: 100%;
  padding-bottom: 30px;
}

.nearby-container .nearby-item .text {
  margin: 0 10%;
  padding: 50px 0;
  background-color: var(--main-bg-color);
}

.nearby-container .nearby-item .img img {
  width: 80%;
  height: 100%;
}

.nearby-container .nearby-item .icon img {
  width: 80px;
}

.nearby-container .nearby-item .bottom-radius {
  border-radius: 0 0 160px 160px;
}

.nearby-container .nearby-item .top-radius {
  border-radius: 160px 160px 0 0;
}

.nearby-container .beach-name {
  font-size: 2.6rem;
  padding-bottom: 10px;
}

.nearby-container .beach-rank {
  font-size: 1.8rem;
  padding-bottom: 3rem;
}

.nearby-container .beach-map {
  font-size: 2.6rem;
  padding-bottom: 10px;
}

.nearby-container .beach-pin {
  width: 40px;
}

/* .info-container */
.info-container {
  display: flex;
  flex-direction: column;
}

.info-container .text {
  text-align: center;
  padding: 0 1.3rem 1.3rem 1.3rem;
}

.info-container .text .title {
  font-size: 1.6rem;
  padding: 10px 0 20px 0;
}

.info-container .text .subtitle {
  text-transform: uppercase;
  font-size: 1.4rem;
}

.info-container .main-text {
  text-align: left;
}

.info-container .photos-slideshow {
  display: flex;
  flex-direction: column;
}

.info-container .photos-slideshow .map-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.info-container .photos-slideshow .map-photo img {
  width: 100%;
  max-width: 400px;
}

/* .final-words-container*/
.final-words-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  padding-bottom: 60px;
}

.final-words-container .text {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.final-words-container .company-logo img {
  width: 100px;
}

/* .contact-container */
.contact-container {
  text-align: center;
}

.contact-container .map-container img {
  width: 100%;
}

.contact-container .contact-button {
  padding: 70px;
}

/* footer */
footer .top,
footer .bottom {
  text-align: center;
}

footer .top {
  padding: 20px 0;
  background-color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

footer .top .address {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  font-size: 0.9rem;
}

footer .top .title {
  font-size: 1.3rem;
}

footer .top a {
  color: #000;
}

footer .bottom {
  padding: 10px 0;
  background-color: #000;
  color: #fff;
  font-size: 0.7rem;
}

footer .bottom .links,
footer .bottom .copyrights {
  padding-bottom: 10px;
}

footer .bottom a {
  color: #fff;
}

footer .copyrights {
  text-transform: uppercase;
}

footer .hotel-operation-logo img {
  width: 40px;
}

/* MEDIA QUERIES */

/* iPads - Tablets */
@media (min-width: 481px) {
  .hidden-s {
    display: block;
  }

  .hidden-m {
    display: none;
  }

  .main-photo-container .book-button {
    position: unset;
    bottom: unset;
  }

  .main-photo-container .logo-button-container {
    align-items: center;
  }

  .details-container .detail-text {
    font-size: 1.7rem;
  }

  .nearby-container .nearby-item .bottom-radius {
    border-radius: 0 0 260px 260px;
  }

  .nearby-container .nearby-item .top-radius {
    border-radius: 260px 260px 0 0;
  }
}

@media (min-width: 691px) {
  .hidden-s1 {
    display: unset;
  }

  .highlight-extra,
  .nirome-text {
    font-size: 1.3rem;
  }

  header .top-bar {
    grid-template-columns: 45px 3fr 100px;
  }

  header .top-bar .moto {
    font-size: 1rem;
  }

  .key-figures-container {
    display: flex;
    justify-content: center;
  }

  .key-figures-container .text-container {
    height: 84px;
  }

  .key-figures-container .text-container > div {
    height: 70px;
    padding-top: 7px;
  }

  .nearby-container .nearby-items {
    flex-direction: row;
  }

  .nearby-container .beach-name,
  .nearby-container .beach-map {
    font-size: 1.6rem;
  }

  .nearby-container .beach-rank {
    font-size: 1.4rem;
    padding-bottom: 10px;
  }

  .room-container .facilities-container {
    flex-direction: row;
  }

  .room-container .facilities-container .facilities {
    flex-direction: row;
    align-items: center;
  }

  .room-container .facilities-container .facilities > div {
    width: 50%;
  }

  .room-container .facilities-container .amenities {
    font-size: 0.7rem;
    padding: 0 1.3rem 0 1.3rem;
  }

  .key-figures-container {
    padding: 1rem 0;
  }

  .welcome-text-images-container {
    padding-top: 1rem;
  }

  .info-container .photos-slideshow .map-photo img {
    max-width: 300px;
  }

  .info-container .photos-slideshow {
    flex-direction: row;
  }

  .info-container .photos-slideshow .slideshow-container {
    width: 80%;
  }
}

/* Small screens, laptops */
@media (min-width: 769px) {
  .hidden-m {
    display: block;
  }

  .divider {
    width: 80%;
  }

  header .top-bar {
    grid-template-columns: 75px 3fr 100px;
  }

  header .top-bar .flags img {
    width: 20px;
  }

  header .top-bar .contact .mail img {
    width: 30px;
  }

  header .top-bar .contact .pin img {
    width: 17px;
  }

  header .top-bar .contact .instagram img {
    width: 21px;
  }

  .key-figures-container .text-container {
    height: 93px;
  }

  .key-figures-container .text-container > div {
    height: 80px;
    padding-top: 7px;
  }

  .key-figures-container .text-container .vertical-line-container {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .key-figures-container .text-container .text-left img {
    width: 1.7rem;
  }

  .key-figures-container .text-container .text-right img {
    width: 4.8rem;
  }

  .details-container .detail-text {
    font-size: 2rem;
  }

  .room-container .room-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .info-container .text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .room-container .room-info .text,
  .info-container .text .main-text {
    width: 80%;
  }

  .room-container .facilities-container .amenities {
    font-size: 0.8rem;
  }

  .final-words-container .company-logo img {
    width: 200px;
  }
}

/* Desktops, large screens */
@media (min-width: 1025px) {
  .divider-container {
    height: 200px;
  }

  .divider {
    height: 25%;
  }

  h2 {
    font-size: 2rem;
  }

  header .top-bar .moto {
    font-size: 1.4rem;
  }

  .key-figures-container .text-container .title {
    font-size: 2rem;
  }

  .key-figures-container .text-container .subtitle {
    font-size: 1rem;
  }

  .key-figures-container .text-container .text-left img {
    width: 2rem;
  }

  .key-figures-container .text-container .text-right img {
    width: 5.6rem;
  }

  .key-figures-container .text-container {
    height: 127px;
  }

  .key-figures-container .text-container > div {
    height: 110px;
    padding-top: 7px;
  }

  .welcome-text-images-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .welcome-text-images-container .text {
    padding: 0 1rem;
  }

  .details-container .main-text {
    font-size: 0.7rem;
    padding-top: 1rem;
  }

  .welcome-text-images-container {
    row-gap: 0.5rem;
    column-gap: 0.5rem;
  }

  .details-container .detail-item:not(:first-child) .detail-text {
    font-size: 4rem;
  }

  .room-container .room-info .title {
    font-size: 2rem;
  }

  .room-container .facilities-container {
    display: flex;
    justify-content: center;
  }

  .room-container .facilities-container .facilities {
    width: 80%;
  }

  .slideshow-container .slide-top-info {
    display: block;
  }

  .slideshow-container .slide-top-info .icon-items,
  .slideshow-container .slide-top-info .text-items {
    display: flex;
    align-items: flex-start;
    text-align: center;
    justify-content: center;
  }

  .slideshow-container .slide-top-info .icon-items {
    padding-top: 20px;
  }

  .slideshow-container .slide-top-info .icon-items .icon,
  .slideshow-container .slide-top-info .text-items .text {
    width: 14%;
    max-width: 160px;
  }

  .slideshow-container .slide-top-info {
    position: absolute;
    top: 70px;
    z-index: 1;
    width: 90%;
    height: 150px;
    background: rgb(248, 209, 5);
    background: linear-gradient(
      90deg,
      rgba(248, 209, 5, 0.1) 0%,
      rgba(248, 209, 5, 1) 20%,
      rgba(248, 209, 5, 1) 80%,
      rgba(248, 209, 5, 0.1) 100%
    );
  }

  .welcome-text-images-container .text p {
    padding-bottom: 0.4rem;
    font-size: 0.8rem;
  }

  .info-container .text .title {
    font-size: 2rem;
  }

  .nearby-container .title {
    font-size: 2rem;
  }

  .nearby-container .nearby-item .text {
    padding: 50px 0;
  }

  .nearby-container .beach-name,
  .nearby-container .beach-map {
    font-size: 2.6rem;
  }

  .nearby-container .beach-rank {
    font-size: 1.8rem;
    padding-bottom: 3rem;
  }
}

/* Extra large screens, TV */
@media (min-width: 1201px) {
  h2 {
    font-size: 2.3rem;
  }

  .highlight-extra,
  .nirome-text {
    font-size: 1.6rem;
  }

  .welcome-text-images-container .text p {
    font-size: 0.9rem;
    padding-bottom: 0.8rem;
  }

  .room-container .facilities-container .amenities,
  .room-container .room-info .text {
    font-size: 0.9rem;
  }
}
