:root {
  --background: #080808;
  --primary: #f74eb5;
  --tablet: 768px;
}

* {
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

svg {
  display: block;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  background-color: var(--background);
  color: white;
  font-size: 1rem;
}

/* HERO */

.hero {
  position: relative;
}

.hero-image {
  display: block;
  position: relative;
  width: 100%;
  max-width: var(--tablet);
  margin: 0 auto;
  z-index: 1;
}

.nav-bar {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.4);
}

.logo img {
  display: block;
  height: 3rem;
}

.nav-bar a {
  display: block;
  color: white;
  text-decoration: none;
}

.book-now {
  display: block;
  background-color: transparent;
  color: white;
  padding: 0.5rem;
  border: 2px solid white;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s ease-in-out background-color, 0.2s ease-in-out color;
}

.book-now:hover {
  background-color: white;
  color: #080808;
}

h1 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 300;
}

h1 span {
  font-weight: 500;
  font-size: 2rem;
  position: relative;
}

h1 span::after {
  position: absolute;
  display: block;
  content: '';
  height: 2px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  right: 0;
}

@media screen and (min-width: 1024px) {
  .nav-bar {
    position: static;
    margin-bottom: 3rem;
    background-color: transparent;
  }
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: 0 auto;
}

.about .bio {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  padding-bottom: 7rem;
  position: relative;
}

.bio .image {
  width: 65%;
  background-color: #484848;
  overflow: hidden;
}

.bio .image img {
  width: 100%;
}

.bio .info {
  position: absolute;
  background-color: #161616;
  padding: 1rem;
  bottom: 0;
  left: 15%;
  right: 1rem;
  z-index: 2;
}

.bio:nth-child(1) {
  padding-bottom: 10rem;
}

.bio h4 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
}

.bio .instagram {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.bio .instagram img {
  height: 0.85rem;
  margin-right: 0.25rem;
}

.bio .info q {
  margin: 0;
  font-size: 1rem;
}

@media screen and (min-width: 768px) {
  .about {
    flex-direction: row;
    justify-content: center;
  }
}

/* BOOK */
.book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.book .book-now {
  max-width: 400px;
  width: 100%;
  text-align: center;
}

/* CONTACT */
.contact {
  margin-top: -1rem;
  background-color: var(--primary);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact h2 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 2rem;
  color: white;
}

.contact .contact-info {
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info .text {
  display: flex;
  align-items: flex-start;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-info .text img {
  height: 1.5rem;
  margin-right: 1rem;
}

.contact-info .text a {
  color: white;
  text-decoration: none;
}


@media screen and (min-width: 768px) {
  .contact {
    padding-bottom: 3rem;
  }
  
  .contact .contact-info {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1024px) {
  .contact {
    margin-top: -2rem;
  }
}
