*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root {
    --primary-pink: #E90074;
    --light-primary-pink: #ffeaf3;
    --pink-hover : #000;
    --light-primary-blue: #eaebff;
    --primary-blue: #000;
    --blue-hover: #373b9e;
    --font-main:  'Bai Jamjuree', sans-serif;
    --font-sec: 'Open Sans', sans-serif;
    --white-font: #ffffff;
    --black-font: #000000;
    --white-hover: #ccc;
    --grey-back: #e5e5e5;
    font-size: 16px;
    --gradient: linear-gradient(180deg, var(--primary-pink), var(--primary-blue));
}



main {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto;
    grid-template-areas: 
      "header header"
      "bg-main bg-main"
      "music music"
      "features features"
      "work work"
      "per per"
      "cards cards"
      "about about"
      "marketing marketing"
      "port port"
      "contact contact"
      "footer footer"
      "aside aside"
    ;
    position: relative;
}

a {
    text-decoration: none;
}
header,
header > nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header {
    grid-area: header;
    width: 100%;
    height: 70px;
    position: fixed; /* Fixes the header at the top */
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.995); /* Optional semi-transparent background */
    z-index: 1000; /* Ensures the header is above other content */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
}
header > h2 {
    width: 25%;
    height: auto;
    padding: 0 40px;
    color: #ddd;
    font-size: 2rem;
    font-family: var(--font-main);
}
.logo-container {
    display: flex;
    align-items: center; /* Align logos vertically if needed */
}
header > nav {
    width: 75%;
    height: 100%;
}

/* General Navigation Styling (Desktop Default - Horizontal Menu) */
#main-nav,
#icon-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    
}

#main-nav {
    width: auto; /* Let main nav adjust naturally */
}

#main-nav > li {
    height: auto;
    display: inline-block;
    margin: 0 10px; /* Horizontal spacing */
    padding-left: -100px;
}

#main-nav > li > a {
    text-decoration: none;
    color: black;
    font-family: var(--font-main);
    font-size: 1rem;
    padding: 0 15px;
    position: relative;
    transition: color 0.4s;
}

/* Hover effect for desktop */
#main-nav > li > a:hover {
    color: var(--primary-pink);
}

#main-nav > li > a::before,
#main-nav > li > a::after {
    content: '';
    display: block;
    position: absolute;
    transition: 0.4s;
    height: 3px;
    width: 0;
}

#main-nav > li > a::before {
    top: -5px;
    left: 0;
    background-color: var(--primary-pink);
}

#main-nav > li > a::after {
    bottom: -5px;
    right: 0;
    background-color: var(--primary-blue);
}

#main-nav > li > a:hover::before,
#main-nav > li > a:hover::after {
    width: 100%;
}

/* Social icons for desktop */
.social-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 0; /* Keep it inline */
    margin-left: auto;
}

.social-icons a {
    text-decoration: none;
    font-size: 20px;
    margin: 20 10px;
    color: black;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-pink);
}


/* General Navigation Styling (Desktop Default) */
#main-nav,
#icon-nav,
#main-head > div > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#icon-nav {
    width: 35%;
}

#main-nav {
    width: 65%;
}

#main-nav > li,
#icon-nav > li,
#main-head > div > ul > li {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

#main-nav > li > a,
#icon-nav > li > a,
#main-head > div > ul > li > a {
    padding: 0 15px;
    margin: 0 5px;
    display: block;
    font-family: var(--font-main);
    font-size: 1rem;
    color: black;
    position: relative;
    transition: 0.4s;
}

#main-nav > li > a::before,
#main-nav > li > a::after {
    content: '';
    display: block;
    position: absolute;
    transition: 0.4s;
    height: 3px;
    width: 0;
}

#main-nav > li > a::before {
    top: -5px;
    left: 0;
    background-color: var(--primary-pink);
}

#main-nav > li > a::after {
    bottom: -5px;
    right: 0;
    background-color: var(--primary-blue);
}

#main-nav > li > a:hover::before,
#main-nav > li > a:hover::after {
    width: 100%;
}

#icon-nav > li > a {
    padding: 0;
    border-radius: 50%;
}

#icon-nav > li > a > span {
    display: block;
    border-radius: 50%;
    padding: 5px;
}

#icon-nav > li > a > span.fa-facebook {
    background-color: #3b5998;
    padding: 5px 8px;
}

#icon-nav > li > a > span.fa-twitter {
    background-color: #55acee;
}

#icon-nav > li > a > span.fa-instagram {
    background-color: #c536a4;
}




/* Mobile Drawer Menu */
.menu-toggle {
    display: none; /* Hide the checkbox */
}

/* Menu Button for Mobile (Hamburger Icon) */
.menu-button {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px; /* Move the menu button to the right */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    color: var(--primary-pink);
}

/* Drawer Menu Styling */
.drawer-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%; /* Off-screen to the right by default */
    width: 250px;
    height: 100%;
    background-color: white;
    color: black;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 999;
}

/* Show the drawer menu when the checkbox is checked */
.menu-toggle:checked + .menu-button + .drawer-menu {
    display: flex;
    right: 0; /* Slide the drawer in from the right */
    flex-direction: column;
}

/* Navigation Links in the Drawer */
.drawer-menu .nav-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.drawer-menu .nav-list li {
    margin: 30px 0;
}

.drawer-menu .nav-list a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.drawer-menu .nav-list a:hover {
    color: #ff4081;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    #main-nav {
        display: none; /* Hide main nav on small screens */
    }

    .menu-button {
        display: block; /* Show the menu button */
    }
}

@media screen and (min-width: 769px) {
    .menu-button,
    .drawer-menu {
        display: none; /* Disable drawer on desktop */
    }

    #main-nav {
        display: flex; /* Show main navigation links on desktop */
    }
}


#main-head {
    grid-area: bg-main;
    width: 100%;
    min-height: 70vh; /* flexible hero height — adjust as needed (70vh is a good default) */
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto;
    padding: 140px 80px;
}

  
  .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the container without distortion */
    z-index: -1; /* Sends the video behind the content */
    pointer-events: none; /* Prevents the video from capturing clicks or interactions */
  }
  
 
  #main-head > article:nth-of-type(1),
  #main-head > article:nth-of-type(2) {
    width: 100%;
    height: auto;
    padding: 130px 40px;
    color: var(--white-font);
    font-family: var(--font-main);
    margin-top: 40px;
    position: relative; /* Ensures content stays above the video */
    z-index: 1;
  }
  
  #main-head > article:nth-of-type(2) {
    padding-left: 70px;
  }
  
  #main-head > article:nth-of-type(1) > h3 {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 4px;
  }
  
  #main-head > article:nth-of-type(1) > h1 {
    font-size: 4.5rem;
    font-weight: 400;
    margin-top: 20px;
  }
  
  #main-head > article:nth-of-type(2) > p {
    line-height: 1.6;
    font-weight: 200;
    font-size: 1.4rem;
  }
  
  #main-head > article:nth-of-type(2) > h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 40px 0 60px 0;
  }
  
  #main-head > article:nth-of-type(2) > h3 > a {
    padding: 18px 36px;
    border-radius: 30px;
    color: var(--white-font);
    background-color: var(--primary-pink);
    font-family: var(--font-main);
    font-weight: 400;
    letter-spacing: 1px;
    transition: 0.4s;
  }
  
  #main-head > article:nth-of-type(2) > h3 > a:hover {
    background-color: var(--pink-hover);
  }
  
  #main-head > div {
    position: absolute;
    bottom: 80px;
    left: 100px;
    width: 250px;
    z-index: 1;
  }
  
  #main-head > div > ul {
    width: 100%;
  }
  
  #main-head > div > ul > li > a {
    font-size: 1.5rem;
    transition: 0.4s;
  }
  
  #main-head > div > ul > li > a:hover {
    color: var(--white-hover);
  }

/* === 🎵 MUSIC CAROUSEL 3D ENHANCED WITH GLOSS & DYNAMIC BACKGROUND === */

/* === 🎧 COMING SOON HEADER === */
#music-carousel .carousel-header {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
  animation: fadeInUp 1.2s ease-out both;
}

#music-carousel .carousel-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
               0 0 20px rgba(255, 0, 128, 0.6),
               0 0 35px rgba(255, 0, 128, 0.4);
  animation: glow 2.5s ease-in-out infinite alternate;
}

#music-carousel .carousel-header p {
  font-size: 16px;
  opacity: 0.85;
  margin-top: 8px;
  animation: fadeIn 2s ease-out both;
}

/* ✨ Glow effect for title */
@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6),
                 0 0 15px rgba(255, 0, 128, 0.3);
  }
  to {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
                 0 0 35px rgba(255, 0, 128, 0.7),
                 0 0 50px rgba(255, 0, 128, 0.5);
  }
}

/* 🌫️ Fade + slide up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌟 Simple fade for subtitle */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === 🎵 MUSIC CAROUSEL 3D ENHANCED WITH RESPONSIVENESS === */
#music-carousel {
    grid-area: music;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    margin: 80px 0 120px 0;
    background: hsl(343, 83%, 60%);
    color: #fff;
    overflow: visible;
    perspective: 1000px;
  }
  
  /* 🌌 Dynamic blurred background overlay (album art) */
  #music-carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--active-album-bg, url('default.jpg')) center/cover no-repeat;
    filter: blur(40px) brightness(0.6);
    opacity: 0.8;
    z-index: 0;
    transition: background 0.6s ease, opacity 0.4s ease;
  }
  
  /* Dark overlay */
  #music-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  /* Ensure inner content above overlay */
  #music-carousel > * {
    position: relative;
    z-index: 2;
  }
  
  /* === CAROUSEL === */
  #music-carousel .carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    overflow: visible;
    margin-top: 300px;
  }
  
  /* === ALBUM ITEM === */
  #music-carousel .album {
    position: absolute;
    width: 300px;
    opacity: 0.5;
    transform: scale(0.85);
    transition: transform 0.8s ease, opacity 0.6s ease;
    cursor: pointer;
  }
  
  /* === ALBUM IMAGE WRAPPER === */
  #music-carousel .album-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    filter: brightness(1.2) contrast(1.15);
  }
  
  #music-carousel .album-image img {
    width: 100%;
    border-radius: 14px;
    display: block;
    transition: all 0.4s ease;
  }
  
  /* Gloss overlay */
  #music-carousel .album-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(
      130deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.15) 45%,
      rgba(255, 255, 255, 0.05) 75%,
      rgba(255, 255, 255, 0) 100%
    );
    mix-blend-mode: screen;
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  
  /* === ACTIVE ALBUM === */
  #music-carousel .album.active {
    transform: scale(1.3) translateZ(100px);
    opacity: 1;
    z-index: 3;
  }
  
  #music-carousel .album.active .album-image {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 
      0 15px 35px rgba(255, 255, 255, 0.3),
      0 10px 25px rgba(0, 0, 0, 0.4);
  }
  
  /* === LEFT & RIGHT ALBUMS === */
  #music-carousel .album.left {
    transform: rotateY(25deg) translateX(-220px) scale(0.9);
    opacity: 0.8;
    z-index: 1;
  }
  #music-carousel .album.right {
    transform: rotateY(-25deg) translateX(220px) scale(0.9);
    opacity: 0.8;
    z-index: 1;
  }
  
  /* === PLAYER === */
  #music-carousel .player {
    margin-top: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  #music-carousel .player button {
    background: #1a1a1a;
    border: none;
    color: white;
    font-size: 22px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  #music-carousel .player button:hover {
    background: #ff007f;
  }
  
  /* === TEXT & TRACK INFO === */
  #music-carousel h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: bold;
  }
  #music-carousel p {
    color: #eee;
    font-size: 14px;
  }
  #music-carousel .track-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  #music-carousel .track-info img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }
  
  /* === WAVEFORM === */
  #music-carousel .waveform {
    margin-top: 40px;
  }
  #music-carousel .waveform span {
    display: inline-block;
    width: 6px;
    height: 20px;
    margin: 0 3px;
    background: #fff;
    animation: bounce 1.2s infinite ease-in-out;
  }
  @keyframes bounce {
    0%, 100% { height: 15px; opacity: 0.6; }
    50% { height: 35px; opacity: 1; }
  }
  
  /* === 📱 RESPONSIVE DESIGN === */
  
  /* Tablets (≤1024px) */
  @media (max-width: 1024px) {
    #music-carousel {
      padding: 40px 50px;
    }
    #music-carousel .album {
      width: 240px;
    }
    #music-carousel .album.active {
      transform: scale(1.2) translateZ(70px);
    }
    #music-carousel .album.left {
      transform: rotateY(20deg) translateX(-180px) scale(0.9);
    }
    #music-carousel .album.right {
      transform: rotateY(-20deg) translateX(180px) scale(0.9);
    }
    #music-carousel .player {
      margin-top: 220px;
    }
  }
  
 /* === 📱 MOBILE RESPONSIVENESS FIX === */
@media (max-width: 768px) {
    #music-carousel {
      padding: 40px 20px;
      margin: 40px 0 80px 0;
    }
  
    #music-carousel .carousel {
      margin-top: 180px;
    }
  
    #music-carousel .album {
      width: 180px;
      transition: transform 0.8s ease, opacity 0.6s ease;
    }
  
    #music-carousel .album.active {
      transform: scale(1.2) translateZ(60px);
      opacity: 1;
      z-index: 3;
    }
  
    #music-carousel .album.left {
      transform: rotateY(20deg) translateX(-120px) scale(0.9);
      opacity: 0.8;
    }
  
    #music-carousel .album.right {
      transform: rotateY(-20deg) translateX(120px) scale(0.9);
      opacity: 0.8;
    }
  
    #music-carousel .player {
      margin-top: 300px;
      flex-wrap: wrap;
      gap: 20px;
    }
  
    #music-carousel h3 {
      font-size: 16px;
    }
  
    #music-carousel p {
      font-size: 13px;
    }
  
    #music-carousel .track-info img {
      width: 35px;
      height: 35px;
    }
  }
  
  @media (max-width: 480px) {
    #music-carousel .album {
      width: 150px;
    }
  
    #music-carousel .album.active {
      transform: scale(1.15) translateZ(40px);
    }
  
    #music-carousel .album.left {
      transform: rotateY(15deg) translateX(-90px) scale(0.85);
    }
  
    #music-carousel .album.right {
      transform: rotateY(-15deg) translateX(90px) scale(0.85);
    }
  
    #music-carousel .player button {
      padding: 10px;
      font-size: 18px;
    }
  }
  
  
  
  
  
  
  
   
  
#features {
    grid-area: features;
    padding: 60px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: var(--font-main);
}

#features > article > h2 {
    font-size: 3.5rem;
    font-weight: 400;
    text-align: center;
}

#features > article > p {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    width: 70%;
    text-align: center;
    margin: 20px auto;
}

#features > section {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

#features > section > figure {
    width: 50%;
    height: 540px;
    margin-right: 30px;
}

#features > section > figure > img,
#our-work > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#features > section > section {
    width: 50%;
    height: auto;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    grid-column-gap: 10px;
    grid-row-gap: 12px; 
    padding-bottom: 10px;
}

#features > section > section > div {
    width: 280px;
    height: 270px;
    position: relative;
    overflow: hidden;
}

#features > section > section > div:nth-of-type(1) > div,
#features > section > section > div:nth-child(1) > article {
    background-color: var(--primary-pink);
    color: var(--white-font);
}

#features > section > section > div:nth-of-type(2) > div,
#features > section > section > div:nth-of-type(3) > div,
#features > section > section > div:nth-child(2) > article,
#features > section > section > div:nth-child(3) > article {
    background-color: #ddd;
    color: var(--primary-blue);
}

#features > section > section > div:nth-of-type(4) > div,
#features > section > section > div:nth-child(4) > article {
    background-color: var(--primary-blue);
    color: var(--white-font);
}

#features > section > section > div > div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
}

#features > section > section > div > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#features > section > section > div > div > span {
    display: block;
    font-size: 4rem;
    margin-bottom: 20px;
}
/* Make the first link white */
#features > section > section > div:nth-child(1) > div > a {
    color: #fff;
}

/* Make the second link black */
#features > section > section > div:nth-child(2) > div > a {
    color: #000;
}

/* Make the third link white */
#features > section > section > div:nth-child(3) > div > a {
    color: #000;
}

/* Make the fourth link black */
#features > section > section > div:nth-child(4) > div > a {
    color: #fff;
}

#our-work {
    grid-area: work;
    width: 100%;
    height: auto;
    padding: 60px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: var(--font-main);
    background-color: var(--grey-back);
}
#our-work > article,
#our-work > figure {
    width: 50%;
    height: auto;
    margin-bottom: 40px;
}
#our-work > article > h2,
#our-work > article > p,
#our-work > article > ul{
    text-align: center;
    color: var(--black-font);
}
#our-work > article > h2 {
    font-size: 3.5rem;
    font-weight: 400;
}
#our-work > article > ul{
    font-size: 1rem;
    font-weight: 100;
}
#our-work > article > ul > li{
    font-size: 1.4rem;
    font-weight: 300;
}
#our-work > article > p {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 300;
    margin: 20px 0;
}
#our-work > figure {
    animation-name: moving;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes moving {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}
#perfection {
    grid-area: per;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 100px;
    z-index: 1;
    position: relative;
}
#perfection > section {
    width: 400px;
    height: auto;
    position: relative;
    margin-top: 100px;
    margin-left: 5%;
    z-index: 1;
}
#perfection > section > article {
    width: 100%;
    height: auto;
    background-color: #f2f2f2;
    padding: 50px 40px;
    font-family: var(--font-main);
    z-index: 99;
}
#perfection > section::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    top: -120px;
    left: -120px;
    z-index: -2;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary-pink), var(--primary-blue));
    transition: 0.4s;
}
#perfection > section:hover::after {
    width: auto;
    height: auto;
    top: -20px;
    bottom: -20px;
    left: -20px;
    right: -20px;
    border-radius: 0;
    transition: 0.4s;
}
#perfection > section > article > h2 {
    font-size: 2.2rem;
    font-weight: 400;
}
#perfection > section > article > p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 30px 0 50px 0;
    font-weight: 300;
    font-family: var(--font-sec);
}
#perfection > section > article > h3 > a,
#marketing > section > article > h3 > a,
#portfolio > article > h3 > a {
    padding: 18px 36px;
    border-radius: 30px;
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    font-family: var(--font-main);
    font-weight: 400;
    letter-spacing: 1px;
    transition: 0.4s;
} 
#perfection > section > article > h3 > a:hover,
#marketing > section > article > h3 > a:hover,
#portfolio > article > h3 > a:hover {
    box-shadow: inset 0 2em 0 0 var(--primary-blue), inset 0 -2em 0 0 var(--primary-blue);
    color: var(--white-font);
}
#perfection > figure {
    width: 60%;
    height: auto;
    position: relative;
    z-index: -1;
    animation-name: moving;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
#perfection > figure > img {
    width: 100%;
    height: 100%;
}
#cards,
#about {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 80px 60px;
}
#cards {
    grid-area: cards;
    padding-bottom: 180px;
    background: linear-gradient(180deg, var(--primary-blue) ,var(--primary-pink));
}
#cards > section {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}
#cards > section > article {
    padding: 60px 30px;
    width: 92%;
    height: auto;
    background-color: white;
    box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    font-family: var(--font-main);
}
#cards > section > article:nth-child(odd) {
    margin-bottom: -100px;
    margin-top: 100px;
}
#cards > section > article > span {
    display: block;
    padding-top: 20px;
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    text-align: center;
    border-radius: 50%;
}
#cards > section > article:nth-child(odd) > span {
    background-color: var(--light-primary-pink);
    color: var(--primary-pink);
}
#cards > section > article:nth-child(even) > span {
    background-color: var(--light-primary-blue);
    color: var(--primary-blue);
}
#cards > section > article > h2,
#cards > section > article > p {
    font-weight: 300;
    text-align: center;
    line-height: 1.6;
}
#cards > section > article > h2 {
    margin: 30px 0;
    font-size: 1.4rem;
}
#cards > section > article:nth-child(odd) > h2 {
    color: var(--primary-pink);
}
#cards > section > article:nth-child(even) > h2 {
    color: var(--primary-blue);
}
#cards > section > article > p {
    font-size: 1.2rem;
    font-style: italic;
}
#about {
    grid-area: about;
    background-color: var(--grey-back);
}
#about > section {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 33.333% 33.333% 33.333%;
    grid-template-rows: auto;
    padding: 0 20px;
}
#about > section > div > figure {
    width: 100%;
    height: 400px;
}
#about > section > div:nth-child(1) > figure {
    margin-top: 220px;
}
#about > section > div:nth-child(2) {
    margin-top: 100px;
}
#about > section > div:nth-child(2) > figure {
    background: url(../image/ad.png);
    background-position: 50% 10%;
    background-size: cover;
    background-repeat: no-repeat;
}
#about > section > div:nth-child(2) > article {
    background-color: white;
    padding: 70px 40px;
    width: 100%;
    height: auto;
    font-family: var(--font-main);
}
#about > section > div:nth-child(2) > article > h2 {
    font-size: 2.5rem;
    font-weight: 400;
}
#about > section > div:nth-child(2) > article > p {
    margin: 20px 0;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 200;
}
#about > section > div > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#about > section > div:nth-child(3) > article {
    padding: 40px 30px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-pink));
    font-family: var(--font-main);
    width: 100%;
    height: auto;
    color: var(--white-font);
}
#about > section > div:nth-child(3) > article > h2 {
    font-size: 4rem;
}
#about > section > div:nth-child(3) > article > p {
    line-height: 1.4;
    font-size: 2.5rem;
}
#marketing {
    grid-area: marketing;
    width: 100%;
    height: auto;
    padding: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--grey-back);
    position: relative;
}
#marketing > section {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 40px 60px;
    z-index: 99;
    transition: 0.4s;
}
#marketing > section > article {
    width: 45%;
    height: auto;
    font-family: var(--font-main);
    padding: 20px 40px;
    transition: 0.4s;
}
#marketing > section > article > h2 {
    font-size: 2.5rem;
    font-weight: 400;
} 
#marketing > section > article > p {
    font-size: 1.4rem;
    font-weight: 300;
    font-family: var(--font-sec);
    line-height: 1.4;
    margin: 30px 0;
    margin-bottom: 60px;
}
#marketing > section > figure {
    width: 45%;
    height: auto;
}
#marketing > section > figure > img {
    width: 100%;
    height: 100%;
}
#marketing > div {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
#marketing > div::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 400px;
    background-color: var(--primary-pink);
    bottom: 115px;
    left: 115px; 
    z-index: 11;
    transition: 0.4s;
}
#marketing > div::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 400px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-pink));
    top: 110px;
    right: 110px;
    z-index: 12;
    transition: 0.4s;
}
#marketing > section:hover ~ div::after, 
#marketing > section:hover ~ div::before {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}
#marketing > section:hover {
    background-color: rgba(255, 255, 255, 0.596);
}
#portfolio {
    grid-area: port;
    width: 100%;
    height: auto;
    padding: 80px 140px;
    display: flex;
    flex-direction: column;
    position: relative;
}
#portfolio > section {
    display: grid;
    grid-template-columns: 33.333% 33.333% 33.333%;
    grid-template-rows: 50% 50%;
    width: 95%;
    height: 700px;
    margin-top: 100px;
}
#portfolio > section > figure {
    width: 95%;
    height: 95%;
}
#portfolio > section > figure > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#portfolio > article {
    width: 45%;
    height: auto;
    padding: 40px;
    align-self: flex-end;
    margin-top: -100px;
    margin-right: -30px;
    background-color: white;
    font-family: var(--font-main);
}
#portfolio > article > h2 {
    font-size: 3.5rem;
    font-weight: 400;
}
#portfolio > article > p {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 300;
    margin: 20px 0;
    margin-bottom: 50px;
}
#portfolio > div {
    position: absolute;
    width: 45%;
    left: 22.5%;
    top: 80px;
    z-index: -1;
    height: 80%;
    background: linear-gradient(0deg, var(--primary-pink), var(--primary-blue));
}
#contact {
    grid-area: contact;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background-color: var(--grey-back);
    position: relative;
}
#contact > section {
    width: 70%;
    height: auto;
    background-color: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}
#contact > section > article {
    padding: 60px 40px;
    width: 50%;
    height: auto;
    font-family: var(--font-main);
}
#contact > section > article > h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}
#contact > section > article > h3 {
    margin: 20px 0;
    font-size: 1.5rem;
    font-weight: 300;
}
#contact > section > article > h3 > span {
    display: inline-block;
    padding: 0 10px;
    color: var(--primary-blue);
}
#contact > section > article > ul {
    list-style: none;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
#contact > section > article > ul > li > a {
    text-decoration: none;
    color: var(--primary-blue);
    padding: 0 10px;
    font-size: 2rem;
    transition: 0.4s;
}
#contact > section > article > ul > li > a:hover {
    color: var(--blue-hover);
}
#contact > section > form {
    padding: 60px 40px;
    padding-left: 0;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: var(--font-main);
}
#contact > section > form > input,
#contact > section > form > textarea {
    width: 100%;
    margin: 5px 0;
    padding: 0 10px;
    border: none;
    outline: none;
    background-color: #f0f0f0;
    font-family: var(--font-main);
    transition: 0.4s;
}
#contact > section > form > input:focus:not(input[type='submit']),
#contact > section > form > textarea:focus {
    border: 1px solid var(--primary-pink);
}
#contact > section > form > input {
    height: 45px;
}
#contact > section > form > textarea {
    height: 135px;
    padding-top: 10px;
}
#contact > section > form > input[type='submit'] {
    color: var(--white-font);
    background-color: var(--primary-blue);
}
#contact > section > form > input[type='submit']:hover {
    background-color: var(--blue-hover);
}
#contact::before {
    content: '';
    position: absolute;
    top: 150px;
    /* transform: translateY(-100px); */
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    background: linear-gradient(0deg, var(--primary-blue), var(--primary-pink));
}
footer,
aside {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-self: center;
}
footer {
    grid-area: footer;
    padding: 80px 100px;
    background-color: #444;
}
footer > article {
    width: 60%;
    height: auto;
    color: var(--white-font);
    font-family: var(--font-main);
}
footer > article > h2 {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
footer > article > p {
    font-family: var(--font-sec);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.4;
}
aside {
    grid-area: aside;
    padding: 40px 100px;
    background-color: #222;
}
aside > h3 {
    color: var(--white-font);
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 400;
}
aside > h3 > span {
    color: var(--primary-pink);
    text-decoration: underline;


}



/* Contact Section */
#contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../image/guitar_background.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.contact-content {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent black background */
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add shadow to form */
    animation: fadeIn 1s ease-in-out; /* Fade-in animation for the form */
}

.contact-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 14px;
    text-align: left;
    margin-bottom: 5px;
    color: #ccc;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
}

.contact-form input {
    height: 40px;
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #E90074;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #E90074;
}

.container {
    display: flex;               /* Use flexbox for layout */
    justify-content: space-between; /* Space between contact details and map */
    align-items: flex-start;    /* Align items to the top */
    flex-wrap: nowrap;          /* Prevent wrapping on larger screens */
}

.contact-details {
    flex: 1;                    /* Allow contact details to take available space */
    margin-right: 60px;         /* Space between the contact details and the map */
    margin-left: 80px;
    padding-top: 80px;
}

.map {
    flex: 1;                    /* Allow map to take available space */
    padding-bottom: 80px;
    padding-top: 80px;
}

.contact-details h2 {
    font-size: 60px;            /* Header size */
    margin-bottom: 30px;        /* Spacing below header */
}

.contact-details p {
    font-size: 18px;            /* Paragraph size */
    margin-bottom: 25px;        /* Spacing below paragraphs */
}

.map iframe {
    width: 95%;                 /* Full width of parent container */
    height: 450px;              /* Reduced height for the map */
    border: 0;                  /* Remove border */
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../image/guitar_background.jpg);/* Replace with your background image */
    background-size: cover;
    background-position: center;
    padding: 50px 20px;
    color: white;
    text-align: center;
    position: relative;
    padding-bottom: 80px;
    padding-top: 80px;
}

.testimonial-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    
}

.testimonial-item {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
}

.testimonial-item i {
    color: #E90074;
    font-size: 24px;
    margin: 0 2px;
}

.testimonial-item p {
    font-size: 18px;
    margin: 20px 0;
    color: white;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial-author h4 {
    font-size: 16px;
    color: #fff;
}
/* General Footer Styles */
footer {
    background-color: #000;
    color: white;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 100px;
    padding-bottom: 80px;
    padding-top: 80px;
    flex-wrap: wrap; /* Ensure sections wrap on small screens */
}

.footer-section {
    flex: 1;
    margin: 0 20px;
    min-width: 200px; /* Ensure a minimum width */
}

.musician-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-left: -70px;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-left: 100px;
}

.booking-form h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-left: 100px;
}

.musician-info p {
    margin-bottom: 20px;
    margin-left: -70px;
}

.social-icons {
    display: flex;
    margin-top: 10px;
    justify-content: flex-start;
    padding-left: 0;
    margin-left: -70px; /* Negative margin to push left */
    margin-right: 40px;
}

.social-icons a {
    text-decoration: none;
    color: #E90074;
    margin-right: 30px;
    font-size: 15px;
    transition: color 0.3s;
}

.social-icons11 a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    margin-top: 10px;
    justify-content: flex-start;
    padding-left: 0;
    margin-left: -70px; /* Negative margin to push left */
    margin-right: 40px;
}

.social-icons1 a {
    text-decoration: none;
    color: #E90074;
    margin-right: 30px;
    font-size: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fff;
}

/* Contact Information */
.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
    margin-left: 100px;
}



/* Booking Form */
.booking-form {
    padding-left: 20px;
}

.booking-form form {
    display: flex;
    flex-direction: column;
    margin-left: 100px; /* Move the form to the right */
}

.booking-form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.booking-form .button {
    padding: 10px 20px;
    background-color: #E90074;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Ensure no underline on the link */
    display: inline-block; /* Ensures the anchor behaves like a block-level element */
    text-align: center; /* Center text */
    transition: background-color 0.3s ease;
}

.booking-form .button:hover {
    background-color: #d89b1f;
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 300px;
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
    margin-left: -1200px;
}


.video-section {
    text-align: center;
    padding: 100px;
}

.video-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.video-title {
    font-size: 24px;
    margin-top: 30px;
    color: #333;
}

.video-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .video-section {
        padding: 50px;
    }

    .video-title {
        font-size: 20px;
        margin-top: 20px;
    }

    .video-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 100px;
    }

    .video-title {
        font-size: 18px;
        margin-top: 15px;
    }

    .video-description {
        font-size: 12px;
        margin-bottom: 20px;
    }
}

.showcase-images {
    display: flex;
    justify-content: space-around;
    gap: 20px; /* Add gap between images */
    margin-bottom: 50px; /* Add space between images and footer */
    flex-wrap: wrap; /* Enable wrapping for smaller screens */
    margin-top: 120px;
  }
  
  .showcase-images img {
    width: 450px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth animation */
  }
  
  .showcase-images img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  }
  
  .showcase-images1 {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    gap: 20px; /* Add gap between images */
    margin-bottom: 50px; /* Add space between images and footer */
    flex-wrap: wrap; /* Enable wrapping for smaller screens */
  }
  
  .showcase-images1 img {
    width: 450px;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth animation */
  }
  
  .showcase-images1 img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .showcase-images img, 
    .showcase-images1 img {
      width: 350px; /* Reduce image width for medium screens */
      height: 400px; /* Adjust height proportionally */
    }
  }
  
  @media (max-width: 768px) {
    .showcase-images img, 
    .showcase-images1 img {
      width: 300px; /* Further reduce image width for smaller screens */
      height: 350px; /* Adjust height proportionally */
    }
  }
  
  @media (max-width: 480px) {
    .showcase-images,
    .showcase-images1 {
      flex-direction: column; /* Stack images vertically on mobile */
      align-items: center; /* Center images */
    }
  
    .showcase-images img,
    .showcase-images1 img {
      width: 90%; /* Make images responsive to screen width */
      height: auto; /* Maintain aspect ratio */
      margin-bottom: 20px; /* Add spacing between stacked images */
    }
  }
  



/* Responsive Styles for Devices with Width <= 768px */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack sections vertically */
        padding: 0 10px; /* Reduce padding */
    }

    .footer-section {
        margin: 10px 0; /* Space between stacked sections */
    }

    .musician-info h3 {
        text-align: center;
        margin-left: -150px; /* Reset negative margin */
    }

    .musician-info p {
        text-align: center;
        margin-left: -125px; /* Reset negative margin */
    }

    .contact-info p {
        
        margin-left: -30px; /* Reset margin */
    }

    .contact-info h3 {
        text-align: center;
        margin-left: -110px; /* Reset margin */
    }

    .booking-form h3 {
        text-align: center; /* Center the form heading */
        margin-left: -100px;
    }

    .booking-form .button {
        margin-left: -180px; /* Adjust the value as needed */
        
    }
    
    

    .social-icons {
        justify-content: center; /* Center social icons */
        margin-left: 0; /* Reset negative margin */
        margin-right: 90px;
        
    }

    .footer-bottom {
        padding-top: 10px; /* Adjust padding */
        margin-top: 500px; /* Adjust space above */
        margin-left: -295px;
    }

    .footer-bottom p {
        padding-top: 10px;
        margin-top: 10px;
        margin-left: -10px; /* Reset negative margin */
    }
}

.container {
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Center-align content for smaller screens */
}

.contact-details {
    margin: 0 20px;         /* Adjust margins for smaller screens */
    padding-top: 40px;
    text-align: center;     /* Center-align text for a better appearance */
}

.map {
    padding-top: 20px;
    padding-bottom: 40px;
    width: 100%;            /* Full width for map on smaller screens */
}

.map iframe {
    width: 100%;            /* Ensure map iframe spans full width */
    height: 300px;          /* Adjust height for smaller screens */
}

.contact-details h2 {
    font-size: 40px;        /* Reduce font size for better fit */
}

.contact-details p {
    font-size: 16px;        /* Adjust paragraph size for readability */
}



/* Responsive Styles for Devices with Width <= 480px */
@media (max-width: 480px) {
    .footer-section {
        min-width: auto; /* Remove minimum width for very small screens */
    }

    .footer-bottom p {
        font-size: 12px; /* Smaller font size for mobile */
    }

    .footer-container {
        padding: 10px 20px;
    }

    .musician-info h3 {
        text-align: center;
        margin-left: -250px; /* Reset negative margin */
    }

    .musician-info p {
        text-align: center;
        margin-left: -240px; /* Reset negative margin */
    }

    .contact-info p {
        
        margin-left: -3px; /* Reset margin */
        color: #fff;
    }

    .contact-info h3 {
        text-align: center;
        margin-left: -90px; /* Reset margin */
    }

    .booking-form h3 {
        text-align: center; /* Center the form heading */
        margin-left: -60px;
    }

    .booking-form .button{
        margin-left: -130px;

    }

    .social-icons {
        justify-content: center; /* Center social icons */
        margin-left: 0; /* Reset negative margin */
        margin-right: 150px;
        
    }

    

    .footer-bottom p {
        padding-top: 10px;
        margin-top: 10px;
        margin-left: -90px; /* Reset negative margin */
    }
}



html, body {
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    font-family: Arial, sans-serif;
}






/* Responsive Styles for Devices with Width <= 1100px */
@media only screen and (max-width: 1100px) {
    main {
        grid-template-columns: 100%;
        grid-template-areas: 
          "header"
          "bg-main"
          "music"
          "features"
          "work"
          "per"
          "cards"
          "about"
          "marketing"
          "port"
          "contact"
          "footer"
          "aside";
        overflow: hidden;
    }
    

    header > nav {
        display: none;
    }

    #main-head {
        grid-template-columns: 100%;
        height: auto;
        padding: 140px 40px;
    }

    #main-head > article:nth-of-type(1),
    #main-head > article:nth-of-type(2) {
        padding: 40px 0;
    }

    #main-head > article:nth-of-type(1) > h1 {
        font-size: 3.5rem;
    }

    #features {
        padding: 60px 0;
    }

    #features > section {
        flex-direction: column;
    }

    #features > section > figure {
        margin: 40px;
        width: 100%;
    }

    #features > section > section {
        grid-template-columns: 280px;
        grid-template-rows: auto;
        width: auto;
        padding: 0 40px;
        grid-column-gap: 0;
        grid-row-gap: 20px;
        padding-bottom: 0;
    }

    #our-work {
        padding: 60px 40px;
    }

    #our-work > article,
    #our-work > figure {
        width: 100%;
    }

    #perfection {
        padding: 60px 40px;
        flex-direction: column;
    }

    #perfection > section {
        margin: 100px 0;
    }

    #perfection > figure {
        width: 100%;
        animation: unset;
    }

    #cards,
    #about {
        padding: 60px 40px;
    }

    #cards > section {
        grid-template-columns: 100%;
    }

    #cards > section > article:nth-child(odd) {
        margin: unset;
    }

    #cards > section > article {
        width: 100%;
        margin: 40px 0;
    }

    #about > section {
        grid-template-columns: 100%;
    }

    #about > section > div:nth-child(1) > figure {
        margin-top: unset;
    }

    #about > section > div:nth-child(2) {
        margin-top: unset;
    }

    #about > section > div {
        margin: 30px 0;
    }

    #marketing {
        padding: 60px 40px;
    }

    #marketing > section {
        flex-direction: column;
    }

    #marketing > section > article {
        width: 100%;
        padding: 20px 0;
    }

    #marketing > section > figure {
        width: 100%;
    }
   
    #marketing > div::after {
        bottom: 0;
    }

    #marketing > div::before {
        top: 0;
    }

    #marketing > section > article > h2 {
        font-size: 2rem;
    }

    #portfolio {
        padding: 60px 40px;
    }

    #portfolio > section {
        width: 100%;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        height: auto;
    }

    #portfolio > section > figure {
        width: 100%;
    }

    #portfolio > article {
        margin: unset;
        width: 100%;
    }

    #portfolio > div {
        width: 90%;
        left: 5%;
    }

    #portfolio > article > h2 {
        font-size: 2.5rem;
    }
}


