/*==================== VARIABLES CSS ====================*/
:root {
  --primary-green: #177e80;
  --secondary-gold: #f4c843;
  --black: #000;
  --white: #fff;

  /*========== Font and typography ==========*/
  --body-font: "Rubik", sans-serif;
}

/*==================== BASE ====================*/
html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: #3cb0b2;
  color: var(--secondary-gold);
  display: flex;
  font-family: "Rubik";
  font-family: var(--body-font);
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  transition: background-color 5000s ease-in-out 0s;
}

input,
button {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  background: none;
  color: var(--secondary-gold);
}

article {
  color: var(--black);
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container {
  height: 100vh;
}

/*==================== LEFT CONTAINER ====================*/
#left__container {
  width: 62vw;
  background-image: url("assets/homepage_profile.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 20%;
  opacity: 0;
}

/*==================== ABOUT ME ====================*/
#aboutme__section {
  display: none;
  height: 95%;
  opacity: 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#aboutme__section h1 {
  font-size: 2em;
  opacity: 0;
}

#aboutme__container {
  opacity: 0;
  text-align: justify;
}

#aboutme__container h2 {
  font-size: 1.3em;
  font-weight: 400;
  color: var(--secondary-gold);
}

#aboutme__container img {
  width: 24px;
}

#album_release__container {
  width: 100%;
}

#album_release__container h2 {
  font-size: 1.3em;
  font-weight: 400;
}

.album__section {
  display: block;
  display: flex;
  justify-content: start;
}

.album__section h3 {
  font-weight: 400;
}

.album__section img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 5px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.25);
  margin-right: 20px;
}

.photographer_desktop {
  display: block;
  position: absolute;
  color: white;
  bottom: 10px;
  right: 0;
  text-align: right;
  font-size: 0.7rem;
  padding-right: 10px;
}

.photographer_desktop .home {
  display: block;
}

.photographer_desktop .aboutme {
  display: none;
}

.photographer_mobile {
  display: none;
}

/*==================== RIGHT CONTAINER====================*/
.right__container {
  height: auto;
  width: 35vw;
  padding: 20px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.album_cover__container {
  display: none;
  opacity: 0;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.album_cover {
  display: block;
  max-width: 14rem;
  box-shadow: none;
  border-radius: 5px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.25);
}

.iframe__container {
  position: relative;
  overflow: hidden;
  width: 80%;
  padding-top: 40%;
  filter: drop-shadow(4px 4px 11.7px rgba(0, 0, 0, 0.25));
  border-radius: 5px;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/*==================== NAV ====================*/
.desktop__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile__nav {
  display: none;
}

.desktop__nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 12rem;
}

.desktop__nav ul li {
  font-size: 0.9em;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border ease-in-out 0.2s;
}

.desktop__nav ul li:hover {
  border-bottom: 2px solid var(--secondary-gold);
}

.desktop__nav ul .active_link {
  border-bottom: 2px solid var(--secondary-gold);
}

.social_media__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 25%;
}

.social_media__container a {
  display: block;
  transition: all ease-in-out 0.2s;
}

.social_media__container a:hover {
  display: block;
  transform: scale(1.2);
}

.social_media_icons {
  width: 24px;
}

/*==================== SUBSCRIBE  ====================*/
#form__section {
  width: 100%;
  height: auto;
  display: none;
  opacity: 0;
  text-align: center;
  color: var(--secondary-gold);
}

input,
button {
  padding: 10px;
  font-size: 1em;
}

input {
  display: block;
  border-bottom: 2px solid var(--secondary-gold);
  color: black;
  width: 200px;
  padding-left: 0;
  text-align: left;
  margin: 20px;
}

input::placeholder {
  color: var(--secondary-gold);
}

button {
  border: 2px solid var(--secondary-gold);
  cursor: pointer;
  transition: all ease-in-out 0.2s;
  font-weight: 600;
  margin: 20px;
}

button:hover {
  background-color: var(--secondary-gold);
  color: var(--primary-green);
}

.input__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*==================== FOOTER ====================*/
footer {
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  opacity: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

footer p {
  margin: 0;
}

footer p:first-child {
  color: white;
}

/*==================== MEDIA QUERIES ====================*/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  body {
    flex-direction: column;
    /* height: 100vh; */
    /* height: calc(var(--vh, 1vh) * 100); */
  }

  #left__container {
    position: relative;
    width: 100vw;
    height: 55vh;
  }

  .right__container {
    height: auto;
    padding: 0px;
    width: 100vw;
    position: static;
    display: block;
  }

  .desktop__nav ul {
    display: none;
  }

  .desktop__nav-second-page {
    display: none;
  }

  .mobile__nav {
    display: block;
    position: absolute;
    z-index: 4;
    height: 10vh;
    width: 100vw;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    margin: 0;
    margin-top: -15px;
  }

  .mobile__nav .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    right: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .mobile__nav .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile__nav .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: var(--secondary-gold);
  }

  .mobile__nav .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .mobile__nav .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .mobile__nav .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .mobile__nav ul {
    padding-top: 120px;
    background: rgba(23, 126, 128, 0.8);
    backdrop-filter: blur(10px);
    height: 100vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
  }

  .mobile__nav ul li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
  }

  .mobile__nav input[type="checkbox"]:checked ~ ul {
    transform: translateX(0);
  }

  .mobile__nav input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }

  .mobile__nav input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .mobile__nav input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }

  .album_cover__container {
    margin-bottom: 10px;
    display: flex;
  }

  .iframe__container {
    width: 100%;
    margin: 2rem 0;
  }

  #aboutme__section {
    padding: 1.5em;
  }

  .album_cover {
    max-width: 10rem;
    display: block;
  }

  .social_media__container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 50%;
    margin: 20px auto;
  }

  .social_media__container a {
    display: block;
  }

  .social_media_icons {
    width: 24px;
  }

  footer {
    font-size: 0.8em;
    text-align: center;
    bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .photographer_desktop {
    display: none;
  }

  .photographer_mobile {
    display: block;
    color: white;
    font-size: 0.65rem;
  }
}

/* For window screens that have scaled the viewport to 150%*/
@media only screen and (min-width: 1280px) and (max-width: 1599px) {
  body {
    overflow: hidden;
  }

  #left__container {
    width: 55vw;
    background-position-y: 45%;
  }

  .right__container {
    width: 45vw;
  }

  .album_cover {
    max-width: 13rem;
  }
}
