/* =========================
   FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

/* =========================
   GLOBAL RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  color: #260d0c;
  overflow-x: hidden;
  font-family: "Red Hat Display", sans-serif;
}

body {
  background: #260d0c url(photos/kelsey-he-TaZgnL-7C0o-unsplash.jpg) center / cover no-repeat;
  height: 100vh;
}

/* =========================
   LAYOUT
========================= */
.main-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70%;
  margin: 3rem;
  padding: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #fff;
  font-size: 1.4rem;
  line-height: 2;
  flex: 0 0 auto;
  box-shadow:
    rgba(0, 0, 0, 0.4) 0 2px 4px,
    rgba(0, 0, 0, 0.3) 0 7px 13px -3px,
    rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
}

/* =========================
   NAVIGATION
========================= */
.nav-container {
  position: sticky;
  top: 0;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-around;

  width: 100%;
  color: rgb(228, 212, 212);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgb(109, 95, 95);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container #name {
  font-family: "Alex Brush", cursive;
  font-size: 2.5rem;
  color: inherit;
  text-decoration: none;
}

nav {
  width: 70%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  padding: 0.8rem;
}

nav a {
  display: flex;
  justify-content: center;
  gap: 1rem;

  padding: 0.4rem 0;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;

  border: 1px solid transparent;
}

nav a:hover {
  color: rgb(212, 166, 189);
  background: rgba(0, 0, 0, 0.2);
  font-weight: bold;
  border-radius: 12px;
  border-color: rgba(228, 212, 212, 0.2);
}

/* =========================
   TYPOGRAPHY / LOGO
========================= */
.logo-container {
  text-align: center;
}

.logo-container h1 {
  font-family: "Alex Brush", cursive;
  font-size: 7rem;
  font-weight: 400;
  margin: 0;
  height: 10.2rem;
}

.logo-container img {
  width: 100%;
}

.logo-container p {
  margin: 0 0 3rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
}

#logo-text {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-size: 4rem;
}

/* =========================
   CONTENT BLOCKS
========================= */
.info {
  width: 40rem;
  max-width: 100%;
  margin-top: -2rem;
  padding: 2rem;
}

.info p,
.yhteystiedot p,
.contact-info p,
.location p {
  margin: 0 0 1rem 0;
}

.contact-info {
  padding-bottom: 2rem;
}

.info-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 90%;
  margin-top: 2rem;
}

.main-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  padding: 2rem;
}

.side-box {
  display: flex;
  justify-content: space-between;
}

.map {
  max-width: 90%;
}

/* =========================
   IMAGES
========================= */
img.photo {
  max-width: 80%;
  max-height: 26rem;
  margin-bottom: 4rem;
  border-radius: 12px;
  box-shadow:
    rgba(0, 0, 0, 0.4) 0 2px 4px,
    rgba(0, 0, 0, 0.3) 0 7px 13px -3px,
    rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
}

/* =========================
   SOCIAL / LINKS
========================= */
.some {
  display: flex;
  justify-content: space-around;
  width: 70%;
  margin-top: 1rem;
}

.some a {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0.8rem;
  margin-right: 1rem;

  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;

  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px;
}

.some a img {
  height: 1.5em;
  padding-right: 1rem;
}

.some-box {
  margin: 2rem 0;
}

a:hover {
  color: hotpink;
  transform: scale(1.05);
}

/* =========================
   OPENING HOURS
========================= */
#opening-hours {
  display: flex;
  flex-direction: column;
  width: 13rem;
  margin-bottom: 2rem;
  padding: 0.5rem 2rem 1rem;

  font-size: 1.2rem;

  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 2px 4px;
}

#opening-hours h3 {
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
}

#opening-hours div {
  display: flex;
  justify-content: space-between;
}

#opening-hours div p {
  margin: 0;
}

/* =========================
   FOOTER
========================= */
footer {
  flex-shrink: 0;

  padding: 1.5rem;
  text-align: center;

  color: rgb(228, 212, 212);
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgb(109, 95, 95);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================
   SELECTION
========================= */
::selection {
  color: #fff;
  background-color: rgb(163, 110, 117);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    padding: 0.5rem;
  }

  .nav-container #name {
    visibility: collapse;
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding: 0.5rem;
  }

  nav a {
    padding: 0;
    font-size: 1rem;
  }

  .content {
    width: 94%;
    margin: 1rem;
  }

  .logo-container h1 {
    font-size: 5rem;
    height: 8rem;
  }

  .logo-container p {
    margin: 0;
  }

  .map {
    display: none;
  }

  img.photo {
    width: 14rem;
    margin-bottom: 0;
  }

  .side-box {
    flex-direction: column;
    align-items: center;
  }

  #logo-text {
    margin: 0;
  }

  .location {
    max-width: 17rem;
    height: 6rem;
  }

  .location a {
    font-size: 1.2rem;
    color: hotpink;
    text-decoration: none;
  }
}

@media (min-width: 600px) {
  #map-link {
    display: none;
  }
}