/***********************************/
/*** GENERAL SECTION ***/
/***********************************/

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%; /* we want the font to be 10px, but the default browser size is 16px, so we do a % of the size */
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* this doesn't work on the current version of safari */
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  background-color: #000;
  /* only works if there is nothing absolutely positioned to the body */
  overflow-x: hidden;
  box-sizing: border-box;
}

header {
  height: 90vh;
  background-image: url(img/COASTR_header_img.jpg);
  background-size: cover; /* will always try to fit element inside box */
  background-position: center;
  border-bottom: 4px solid #fff;
  /* position: relative; */
}

h2 {
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.logo {
  position: relative;
  height: 90vh;
  width: 100vw;
}

.grid {
  display: grid;
  row-gap: 5rem;
  column-gap: 12rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.logo--big {
  display: block;
  scale: 0.6;
  height: 30vh;
  position: absolute;
  top: 20%;
  left: 45%;
  transition: all 0.3s ease-in;
}

.logo--small {
  height: 3rem;
  margin-top: 5rem;
  margin-left: 50rem;
  z-index: 1005;
}

/* center content on browser viewport */
.container {
  max-width: 160rem;
  margin: 0 auto;
  padding: 0 10rem;
}

/***********************************/
/*** NAVIGATION ***/
/***********************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: end;
  gap: 3.5rem;
  position: absolute;
  top: 5%;
  left: 3%;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #000;
  font-weight: 500;
  font-size: 2.5rem;
  transition: all 0.3s;
  /* display: inline-block; */
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #43e7ff;
}

.main-nav-link-white:link,
.main-nav-link-white:visited {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #fff;
  font-weight: 500;
  font-size: 2.5rem;
  transition: all 0.3s;
  /* display: inline-block; */
}

.main-nav-link-white:hover,
.main-nav-link-white:active {
  color: #43e7ff;
}

/* MOBILE NAV */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/***********************************/
/*** MUSIC ***/
/***********************************/

.music {
  padding-top: 10rem;
}
.music-text {
  text-align: left;
}

.heading-music {
  color: #fff;
  text-align: left;
  font-size: 6rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 5rem;
}

.music-description {
  text-align: left;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.6;
  margin-bottom: 4.7rem;
}

.btn-music:link,
.btn-music:visited {
  color: #000;
  background-color: #fff;
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-music:hover,
.btn-music:active {
  color: #fff;
  background-color: #43e7ff;
}

.music-spotify {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8rem;
}

/***********************************/
/*** ABOUT ***/
/***********************************/

.about {
  border-top: 4px solid #fff;
  height: 50vh;
  background-color: #000;
  /* background-image: linear-gradient(
      to right,
      hsla(184, 91%, 36%, 0.704),
      rgba(40, 119, 180, 0.594)
    ),
    url(img/sunset.jpg);
  background-size: cover; will always try to fit element inside box 
  background-position: bottom; */
  position: relative;
}

.about-text {
  /* position: relative; */
  color: #fff;
  z-index: 1003;
}

.heading-about {
  font-size: 6rem;
  text-align: center;
  letter-spacing: 5px;
  margin-bottom: 2rem;
  width: 100%;
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-description {
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.4;
  width: 100%;
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(
    -50%,
    -20%
  ); /* allows absolutely positioned text to stay placed correctly */
}

/***********************************/
/*** FOLLOW ***/
/***********************************/

.follow {
  border-top: 4px solid #fff;
}

.grid--follow {
  display: grid;
  column-gap: 10rem;
  grid-template-columns: 1fr 1fr;
}

.img-col {
  height: 80vh;
  background-image: url(img/COASTR_follow_img.jpg);
  background-size: cover; /* will always try to fit element inside box */
  background-position: center;
}

.follow-text-col {
  padding-top: 12rem;
}

.heading-follow {
  color: #fff;
  text-align: left;
  font-size: 6rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 5rem;
  justify-content: left;
  align-items: left;
}

.follow-description {
  color: #fff;
  text-align: left;
  font-size: 2.6rem;
  line-height: 1.4;
  letter-spacing: 2px;
  margin-bottom: 5rem;
  justify-content: left;
  align-items: left;
}

.social-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.follow-link:link,
.follow-link:visited,
.spotify-icon:link,
.spotify-icon:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.3s;
}

.follow-link:hover,
.follow-link:active,
.spotify-icon:hover,
.spotify-icon:active {
  color: #43e7ff;
}

.social-icon {
  height: 4rem;
  width: 4rem;
}

.social-icon-white {
  height: 4rem;
  width: 4rem;
  color: #fff;
}

/* .credit-gabi {
  color: #fff;
  grid-column: 2 / -1;
  justify-self: end;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  margin-right: 1rem;
  z-index: 1005;
} */

/***********************************/
/*** FREE DOWNLOADS ***/
/***********************************/

.heading-downloads {
  color: #fff;
  text-align: center;
  font-size: 6rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-top: 15rem;
  margin-bottom: 6rem;
}

.downloads-list {
  color: #fff;
  list-style: none;
}

.downloads-list-table {
  list-style: none;
  text-align: center;
}

.downloads-links:link,
.downloads-links:visited {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.5;
  transition: all 0.3s;
}

.downloads-links:hover,
.downloads-links:active {
  color: #43e7ff;
}

/***********************************/
/*** EMAIL POPUP ***/
/***********************************/
.email-popup {
  background-color: #000;
  border: 8px solid #43e7ff;
  width: 420px;
  padding: 25px 30px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 4px;
  text-align: left;
}

.button-close {
  display: block;
  margin: 0 0 20px auto;
  font-size: 3rem;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #43e7ff;
  color: #fff;
}

.button-close:hover,
.button-close:active {
  color: #000;
  background-color: #fff;
}

.email-popup-text {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 3rem;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

.email-input {
  background-color: #000;
  color: #fff;
  width: 220px;
  padding: 10px 5px 10px 5px;
  border: 2.5px solid #43e7ff;
  margin-bottom: 3.5rem;
  margin-right: 2.5rem;
}

.email-input::placeholder {
  color: #fff;
  font-family: "Rubik", sans-serif;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
}

.submit-btn {
  color: #000;
  background-color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover,
.submit-btn:active {
  color: #fff;
  background-color: #43e7ff;
}

.confirmation {
  background-color: #000;
  border: 8px solid #43e7ff;
  width: 420px;
  padding: 25px 30px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 4px;
  text-align: left;
  display: none;
}

.confirmation-text {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 3rem;
  letter-spacing: 1.5px;
  line-height: 1.4;
}
