@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --background: #072833;       /* gunmetal */
  --background-rgb: 7,40,51;   /* gunmetal */
  --text: #FFF9E1;             /* cornsilk */
  --text-rgb: 255,249,225;     /* cornsilk */
  --heading: #FF951D;          /* princeton orange */
  --selected: #DB462A;         /* chili red */
  --normal: #A64538;           /* chestnut */
  --dark: #573736;             /* rose ebony */
  --shine: #FFE93D;            /* aureolin */
  --info: #B7CF9C;             /* celadon */
}

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

.html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
  /* +++ added below +++ */
  background-color: var(--background);
  color: var(--text);
}

/* ///////////..utility classes../////////// */

.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 0.5em 1.5em;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: 300; /* light (was small) */
}

.btn-primary {
  color: var(--text);
  background: var(--normal);
}

.btn-primary:hover {
  background: var(--selected);
  transition: background 0.3s ease-in-out;
}

/* ............/navbar/............ *

/* desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  position: fixed;
  z-index: 12;
  width: 100%;
  height: 50px;
  background: var(--dark);
  color: var(--heading);
  opacity: 0.85;
  box-shadow: 0px 5px 10px 0px #000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500; /* medium */
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  color: var(--heading);
  transition: color 0.3s ease-in-out;
  /* +++ added below +++ */
  /* background: var(--selected); */
}

.icon-items {
  order: 2;
  display: flex;
}

.icon-items li {
  list-style: none;
  margin-left: 1.2rem;     /* 1.5 */
  margin-bottom: 0rem;     /* 0.5 */
  font-size: 1.7rem;       /* 1.5 */
}

.icon-items a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500; /* medium */
  transition: color 0.3s ease-in-out;
}

.icon-items a:hover {
  color: var(--heading);
  transition: color 0.3s ease-in-out;
  /* +++ added below +++ */
  /* background: var(--selected); */
}

.logo {
  order: 1;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  font-weight: 900; /* black */
  text-transform: uppercase;
  /* +++ Text colour animation with a subtle rotating gradient +++ */
  background-image: linear-gradient(
    -225deg,
    var(--shine) 0%,
    var(--heading) 50%,
    var(--shine) 100%
  );
  background-size: 200% auto;
  /* background-clip: text; */ /* border-box; */
  /* text-fill-color: transparent; */
  color: transparent;
  -webkit-background-clip: text;  /* still needed */
  animation: textclip 4s linear infinite;
  display: inline-block;
}
@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

/* ............//// Showcase styling ////......... */

.showcase-area {
  height: 50vh;
  background-image: var(--banner-showcase);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.showcase-container {
  color: var(--heading);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  font-size: 1.8rem; /* 1.6rem; */
}

.showcase-container p {
  text-align: center;
  /* +++ shadow with gradual blurred halo to make the text more visible on picture background +++ */
  text-shadow: 3px 3px 3px #000, 0px 0px 3px var(--normal), 0px 0px 6px var(--dark), 0px 0px 95px #000;
}

.main-title {
  text-transform: uppercase;
  text-align: center;
  margin-top: 1.5em;
  /* +++ shadow with gradual blurred halo to make the text more visible on picture background +++ */
  text-shadow: 5px 5px 5px #000, 0px 0px 5px var(--normal), 0px 0px 10px var(--dark), 0px 0px 15px #000;
}

/* ......//about us//...... */

#about {
  padding: 50px 0;
  background: var(--dark);
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
}

#about h2 {
  font-size: 1.8rem; /* 2.3 */
  color: var(--text);
}

#about p {
  font-size: 1.2rem;
  color: var(--text);
}

#about .small {
  font-size: 1.2rem;
  color: var(--heading);
  font-weight: 600; /* semibold */
}

.about-img {
  flex: 1 1 400px;
  padding: 30px;
  transform: translateX(150%);
  animation: about-img-animation 1s ease-in-out forwards;
}

@keyframes about-img-animation {
  100% {
    transform: translate(0);
  }
}

.about-text {
  flex: 1 1 400px;
  padding: 30px;
  margin: auto;
  transform: translate(-150%);
  animation: about-text-animation 1s ease-in-out forwards;
}

@keyframes about-text-animation {
  100% {
    transform: translate(0);
  }
}

.about-img img {
  display: block;
  height: 400px;
  max-width: 100%;
  margin: auto;
  object-fit: cover;
  object-position: right;
}

/* ..........////photo category///........... */

#photo {
  padding: 5rem 0 10rem 0;
  background: var(--dark);
}

#photo h2 {
  text-align: center;
  font-size: 3.0rem; /* 2.5 */
  font-weight: 600; /* regular 400 - semibold */
  margin-bottom: 40px;
  /* text-transform: uppercase; */
  color: var(--heading);

}

.photo-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  /* margin-bottom: 40px; */
}

.photo-container img {
  display: block;
  width: 100%;
  margin: auto;
  max-height: 300px;
  max-width: 380px;
  object-fit: cover;
  object-position: center;
}

.img-container {
  margin: 0 1rem;
  position: relative;
}

.img-content {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  text-align: center;
  transition: all 0.3s ease-in-out 0.1s;
}

.img-content h3 {
  color: var(--text); 
  font-size: 2.0rem; /* 2.2 */
}

.img-content a {
  font-size: 1.2rem;
}

.img-container::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.871);
  opacity: 0;
  z-index: 1;

  transform: scaleY(0);
  transform-origin: 100% 100%;
  transition: all 0.3s ease-in-out;
}

.img-container:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.img-container:hover .img-content {
  opacity: 1;
  top: 40%;
}

/* .........../media category/............ */

#media {
  padding: 50px 0;
  background: var(--dark);
}

.media-heading {
  text-align: center;
  font-size: 3.0rem; /* 3.4 */
  font-weight: 600; /* semibold (was 400 regular) */
  color: var(--heading);
}

.media-container {
  display: flex;

  flex-direction: column;
  justify-content: flex-start;
  align-item: flex-start;

  /* flex-wrap: wrap; */
  padding: 50px 0px 30px 0px;
}

.media-container img {
  display: block;
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.50);
}

.media-item {
  display: flex;

  flex-direction: row;
  justify-content: flex-start;
  align-item: flex-start;
  /* flex-wrap: wrap; */
  
  /* flex: 1 1 600px; */
  /* justify-content: space-evenly; */
  margin-bottom: 3rem;
}

.media-description {
  margin: auto 1.5rem;
}

.font-title {
  font-size: 1.8rem;
  font-weight: 700; /* bold (was regular 400) */
  color: var(--heading);
}

.media-description p {
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 400; /* regular */
}

.media-description .media-info {
  color: var(--info);
  font-weight: 500; /* medium */
}

.round-img img {
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.50);
}

/* ........./vinyl /........... */

.album-img img {
  position: relative;
  z-index: 2;
  display: block;
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: left;
  border-radius: 3px;
}
/* -- border for vinyl cover -- */
.album-img span.gloss {
  position: relative;
  z-index: 3; 
  display: block;
  width: 250px;
  height: 250px;
  top: 0px;
  left: 0px; 
  margin-right: 50px;
}

.album-img span.gloss:before{
  position:absolute;
  z-index: 4;
  display:block;
  width:100%;
  height:100%;
  top:0;
  left:0;
  content: "";
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  /* The inset shadow give a slighly used look to the cover */
  box-shadow:
    inset 0px 0px 16px 1px rgba(255, 255, 255, 0.25),
    inset 0px 0px 8px 1px rgba(255, 255, 255, 0.50),
    0px 0px 3px 0px rgba(0, 0, 0, 0.50);
  background:
    linear-gradient(
      -55deg,
      rgba(255,255,255,0) 0%,
      rgba(225,225,225,0.15) 25%,
      rgba(244,244,244,0.30) 50%,
      rgba(225,225,225,0.15) 75%,
      rgba(246,246,246,0) 100%
    );
}
/* -- the vinyl itself -- */
.album-img span.vinyl {
  position: relative;
  top: -248px;
  left: 50px;
  display: block;
  z-index: 1;
  width: 246px;
  height: 246px;
  border-radius: 123px;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
  overflow: hidden;
  border: solid 1px black;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 10%,
      rgba(255,255,255,0.25) 50%,
      rgba(255,255,255,0) 90%,
      rgba(255,255,255,0) 100%
    ),
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 1%,
      rgba(0,0,0,1) 2.1%,
      rgba(0,0,0,1) 9%,
      rgba(28,28,28,1) 10%,
      rgba(28,28,28,1) 100%
    );
}

/* ......../ footer with animated waves /.......... */

.footer {
  position: relative;
  width: 100%;
  background:  var(--background);
  color:  var(--text);
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color:  var(--text);
  margin: 0 10px;
  display: inline-block;
  transition: color 0.3s ease-in-out;
}

.social-icon__link:hover {
  color:  var(--heading);
  transition: color 0.3s ease-in-out;
  /* transform: scale(1.2, 1.2); */
}

.menu__link {
  font-size: 1.2rem;
  color:  var(--text);
  margin: 0 10px;
  display: inline-block;
  transition: color 0.3s ease-in-out;
  text-decoration: none;
  font-weight: 100;
}

.menu__link:hover {
  color:  var(--heading);
  transition: color 0.3s ease-in-out;
}

.footer p {
  text-align: center;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 100;
}

.footer p a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500; /* medium */
  transition: color 0.3s ease-in-out;
}

.footer p a:hover {
  color: var(--heading);
  transition: color 0.3s ease-in-out;
  font-weight: 500; /* medium */
}

.footer h2 {
  text-align: center;
  font-size: 1.8rem;
  padding: 2.6rem;
  font-weight: 100;
}

.wave {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("images/wave.png");
  background-size: 1200px 80px;
}

.wave#wave1 {
  z-index: 4;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 2;
  opacity: 0.4;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 3;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 1;
  opacity: 0.6;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1200px;
  }
  100% {
    background-position-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1200px;
  }
  100% {
    background-position-x: 0px;
  }
}

/* ......../ media query /.......... */

@media (max-width: 850px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    order: 2;
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 9px;
    left: 1px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 34px;
    position: absolute;
    top: 16px;
    left: 1px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

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

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

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

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

  .navbar .menu-items {
    padding-top: 100px;
    background: var(--dark);
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -45px;
    padding-left: 35px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #000;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500; /* medium */
  }

  .navbar .icon-items {
    position: absolute;
    top: 12px;
    right: 2px;
    font-size: 2rem;
  }

  .logo {
    order: 1;
    position: absolute;
    top: 2px;
    left: 55px;
    font-size: 2.2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .icon-items {
  }

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

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

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

  /* ......./ photo /......... */

  .photo-container {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .photo-type {
    box-shadow: 5px 5px 10px 0 #000;
  }

  .img-container {
    margin: 0;
  }
}

@media (max-width: 500px) {
  
  html {
    font-size: 85%;
  }
    
  .media-container img {
    margin: auto;
  }

  .media-item {
    flex-direction: column;
    text-align: center;
  }

  .album-img {
    align-self: center;
  }

  .logo {
    order: 1;
    position: absolute;
    top: 3px;
    left: 55px;
    font-size: 2.5rem;
  }

  .navbar .icon-items {
    position: absolute;
    top: 12px;
    right: 2px;
    font-size: 3rem;
  }
  
  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-weight: 500; /* medium */
  }

}

@media (min-width: 851px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }

  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}
