
:root{
  --header-h: 56px;
  --sidebar-w: 250px;
  --page-gutter: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    background: none;           
    overflow: auto; 
  }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("images/black_leather_texture.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: repeat-y;
  pointer-events: none;
}

header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  padding: 0 20px;
  display: flex; 
  align-items: center;
  background: #1b0024;
  z-index: 1000;
}

header::after{
  content:"";
  position:absolute;
  left: var(--sidebar-w);
  right: 0;
  bottom: 0;
  height: 2px;
  background: coral;
  pointer-events: none;
}

.sidebar{
  position: fixed;
  top: 0; left: 0;
  margin-top: var(--header-h);
  height: calc(100% - var(--header-h));
  width: var(--sidebar-w);
  overflow-y: auto;
  border-right: 2px solid coral;
  z-index: 900;
  background: #1b0024;
  background-image: linear-gradient(#1b0024, #400286, #049dc4);
  background-repeat: no-repeat;
  background-size: 800px 800px;
  background-position: top left;
}

.aboutpage,
.webdesignpage,
.printdesignpage,
.miscpage,
.desktopcontent{
  margin: 0;
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  padding-top: var(--header-h);
  padding-inline: 24px;
  box-sizing: border-box;
}



/* Cards */

.grid-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 400px;                 
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.8)
  );
  border-radius: 10px;
  padding: 16px;
  box-sizing: border-box;
}
.about-grid-item {
  background-image: linear-gradient(
    to bottom,
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.8));
  border-radius: 10px;
  padding: 33px;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  align-items: flex-start; 
}

.about-grid-item img{
  flex: 0 0 auto;           
  width: clamp(220px, 32%, 360px);
  max-width: none;          
  height: auto;            
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 4px 0 black;
}

.about-grid-item > strong{ display:block; margin: 0 0 8px; }
.about-grid-item p{ margin: 0 0 12px; }

.about-text{
  flex: 1 1 auto;
  min-width: 0;             
  display: flex;
  flex-direction: column;
}

.about-text .scroll{ 
  margin-top: auto; 
}
.about-text .scroll a{
  margin-left: 0;  
}


.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;   
  flex: 1 1 auto;           
  justify-content: space-between;
  text-align: left;
  width: 100%;
}

.card-content p {
  margin: 12px 0 12px;
}


.grid-item-quote {
  display: block;
  padding: 2%;
  border-radius: 10px;
  position: relative;
  top: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.8)
  );
}

  .grid-item-quote h2 {
    font-size: 2em;
    text-align: center;
    font-family: "Rock Salt", cursive;
    line-height: 1.25;
    color: coral;
    text-shadow: #000000 2px 2px 2px;
  }

.grid-item-quote p {
      font-family: "Quicksand", sans-serif;
      font-size: 1em;
      text-align: center;
      line-height: 1;

}

  .profile_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Rock Salt", cursive;
    font-size: 22px;
}
  .left_area h3 {
      color: #ffffff;
      margin: 0;
      text-transform: uppercase;
      font-size: 22px;
      font-weight: 900;
  }
  .left_area span {
      color: coral;
  }

  .right_area {
    position: absolute;
    right: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
  }

  .linkedin {
    height: 30px;
    display: inline-flex;
    width: 50px;
  }


 .contact_btn {
      padding: 5px;
      background: coral;
      text-decoration: none;
      border-radius: 20px;
      font-size: 15px;
      font-weight: 600;
      color: #ffffff;
      display: inline;
  }

  .contact_btn:hover .email {
    display: inline;

}
  .email {
      display: none;
  }



 
  .sidebar .profile_info .profile_image {
      width: 180px;
      height: 180px;
      border-radius: 100px;
      margin-bottom: 10px;
      border: 2px solid coral;
  }
 
  .sidebar .profile_info h4 {
      color: coral;
      margin-top: 0;
      margin-bottom: 20px;
      font-family: "Rock Salt", cursive;
  }
  .sidebar a {
      color: #ffffff;
      display: block;
      width: 100%;
      line-height: 44px;
      text-decoration: none;
      padding-left: 40px;
      box-sizing: border-box;
      transition: 0.5s;
      transition-property: all;
  }
  .sidebar a:hover {
      background: coral;
  }
  .sidebar i {
      padding-right: 10px;
  }
  label #sidebar_btn {
      z-index: 1;
      color: #ffffff;
      position: fixed;
      cursor: pointer;
      left: 300px;
      font-size: 20px;
      margin: 5px 0;
      transition: 0.5s;
      transition-property: all;
  }
  label #sidebar_btn:hover {
      color: coral;
  }

.mobile_nav {
    display: none;
}


.content {
    display: none;
}
.desktopcontent {
    margin-top: 60px;
    margin-left: 250px;
}
.homeimage {
    max-width: 100%;
    height: auto;
    position: relative;
    left: 0px;
    top: 25px;
    transition: 2s;
    animation: logo 5s 1;
}

@keyframes logo {
  from { transform: translateY(-800px); opacity: 0; }
  to   { transform: translateY(0);       opacity: 1; }
}
@keyframes text {
  from { transform: translateY(2000px); opacity: 0; }
  to   { transform: translateY(0);      opacity: 1; }
}
@keyframes about {
  from { transform: translateY(75vh); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes logosm {
  from { transform: translateY(-400px); opacity: 0; }
  to   { transform: translateY(0);      opacity: 1; }
}



.hometext {
    max-width: 80%;
    height: auto;
    top: -20px;
    transition: 2s;
    animation: text 5s 1;
    padding: 25px;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.8));
    background-attachment: scroll;
    border-radius: 10px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    font-size: 18px;
}


.aboutpage h1,
.webdesignpage h1,
.printdesignpage h1,
.miscpage h1 {
    font-family: "Rock Salt", cursive;
    color: #049dc4;
    text-align: center;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px #000000;
    line-height: 2em;
}
.aboutcontent {
    height: 75vh;
    position: relative;
    transition: 2s;
    animation: about 3s 1;
    font-family: "Quicksand", sans-serif;
    font-size: 1.25em;
    color: black;
    display: grid;
}


.aboutimages p {
    text-align: left;
    color: black;
    font-family: "Quicksand", sans-serif;
    font-size: 1.5em;
}

.about-grid-item.image-right{ 
  flex-direction: row-reverse; 
}

.about-grid-item img {
  border: coral 2px solid;

}


#a1, #a2, #a3, #a4, #a5, #a6 {
    margin-top: 80px;
    position: relative;
    transition: 2s;
    animation: about 3s 1;
}


.spacer {
    height: 120px;
}


.aboutcontent a:link {
    color: coral;
    text-decoration: none;
    /* margin-left: 25px; */
    font-weight: bold;
}
.aboutcontent a:visited {
    color: coral;
    text-decoration: none;
    /* margin-left: 25px; */
    font-weight: bold;
}
.aboutcontent a:hover {
    color:  white;
    text-decoration: none;
    font-weight: bold;
    /* margin-left: 25px; */
}
.aboutcontent a:active {
    color: coral;
    text-decoration: none;
    /* margin-left: 25px; */
    font-weight: bold;
}


/* Web Design Portfolio Page */

.card-link {
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.card-link:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0,0,0,0.5);
}
.card-link::after {
  content: "View Projects";
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.2em;
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 2px solid coral;
  border-radius: 6px;
}

.card-link:hover::after {
  opacity: 1;
}


.webdesignimages p {
    text-align: left;
    color: black;
    max-width: 90%;
      font-family: "Quicksand", sans-serif;
}

/* Resume Page */
.resumecontent {
    margin-top: 50px;
    margin-left: 250px;
}
.resumeimage {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.webdesignimages,
.printdesignimages,
.misclogoimg,
.miscvideofile
 {
  flex: 0 0 auto;
  margin-bottom: 12px;
}


/* Print Design Portfolio */

.printdesignimages {
    width: 100%;
}
.printdesignimages img {
    display: block;
    max-width: 100%;
    box-shadow: 0 4px 4px 0 black;
    cursor: pointer;
    border-radius: 4px;
}

.printdesignimages p {
    text-align: left;
    color: black;
    max-width: 90%;
      font-family: "Quicksand", sans-serif;
}


.misclogos {
    padding: 0.5em;
    width: 98%;
}
.miscvideo {
    padding: 0.5em;
    width: 98%;
    margin: auto;
}
.misclogoimg {
    width: 100%;
}
.misclogoimg img {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.miscvideofile {
    width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    filter: drop-shadow(3px 3px 3px #000000);
}
.miscvideofile video {
    margin: auto;

}
.card-content h2 {
    font-family: 'Quicksand', sans-serif;
    color: #400286;
    text-align: center;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px coral;
    margin: 12px 0 12px;
}




.webdesigncontent,
.printdesigncontent,
.misccontent {
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 40px;                     
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.misccontent .card-content {
  justify-content: flex-start !important; 
  text-align: left;
}



@media (max-width: 1000px) {

    
  body { background: none; }  
  body::before {
    position: fixed;
    background-position: center top;
    background-size: cover;
    background-image: url("images/black_leather_texture.jpg");

  }

  header::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: coral;
  pointer-events: none;
}  


  .sidebar { display:none; 
  }

  .aboutpage,
  .webdesignpage,
  .printdesignpage,
  .miscpage,
  .desktopcontent{
    margin-left: 0;
    margin-top: -75px;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    height: auto;
    }

    #sidebar_btn {
        display: none;
    }
   
    #check:checked ~ .content {
        margin-left: 0;
    }
    .mobile_nav {
        display: block;
        width: calc(100% - 0%);
    }
    .nav_bar {
        background: #1b0024;
        width: (100% - 0px);
        margin-top: var(--header-h);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        
    }
    .nav_bar .mobile_profile_image {
        width: 50px;
        height: 50px;
        border-radius: 50px;
    }
    .nav_bar .nav_btn {
        color: #ffffff;
        font-size: 22px;
        cursor: pointer;
        transition: 0.5s;
        transition-property: all;
    }
    .nav_bar .nav_btn:hover {
        color: coral;
    }
    .mobile_nav_items {
        background-image: linear-gradient(#1b0024, #400286, #049dc4);
        display: none;
    }
    .mobile_nav_items a {
        color: #ffffff;
        display: block;
        text-align: center;
        letter-spacing: 1px;
        line-height: 50px;
        text-decoration: none;
        box-sizing: border-box;
        transition: 0.5s;
        transition-property: all;
    }
    .mobile_nav_items a:hover {
        background: coral;
    }
    .mobile_nav_items i {
        padding-right: 10px;
    }
    .active {
        display: block;
    }
    .transparentbox {
        position: relative;
        padding: 10px;
        background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.8));
        background-attachment: scroll;
        border-radius: 10px;
    }
   
    .desktopcontent {
        display: none;
    }
    /* Home Page */
    .content {
        margin: auto;
        display: block;
    
    }
    .homeimage {
        position: relative;
        left: 0px;
        top: 35px;
        max-width: 100%;
        height: auto;
        transition: 2s;
        animation: logosm 3s 1;
    }
    @keyframes logosm {
        from {top: -400px; opacity: 0%;}
        to {top: 35px; opacity: 100%;}
      }
    @keyframes cardssm {
        from {opacity: 0%;}
        to {opacity: 100%;}
      }

      .hometext {
        max-width: 80%;
        height: auto;
        top: 50px;
        transition: 2s;
        animation: text 5s 1;
        padding: 20px;
        background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.8));
        background-attachment: scroll;
        border-radius: 10px;
        margin-right: auto;
        margin-left: auto;
        position: relative;
        font-size: 18px;
    }

    .content .mybox {
        background: #ffffff;
        padding: 15px;
        margin: auto;
        font-size: 14px;
        opacity: 1;
        width: 90%;
        border-radius: 10px;
        line-height: 20px;
        position: relative;
        top: -120px;
        z-index: 1;
        display: block;
        transition: 2s;
        animation: cardssm 2s 1;
        border: 2px #049dc4 solid;
    }
    .content .button {
        z-index: 2;
        margin: auto;
        text-align: center;
        background-color: #049dc4;
    }
    
   .about-grid-item,
    .about-grid-item.image-right {
      display: flex;                
      flex-direction: column;
      align-items: stretch;
    }

    .about-grid-item > *{
      width: 100%;
      max-width: 100%;
    }
    .about-grid-item p { 
      min-width: 0;   
    }

    
    .about-grid-item img{ 
      float: none !important;
      width: min(80%, 420px);
      height: auto;
      margin: 0 auto 12px;
      align-self: center;
    }

    .about-grid-item p:last-of-type { 
      margin-top: auto;        
      align-self: flex-start; 
    }
    .about-grid-item p:last-of-type a { 
      margin-left: 0;        
    }

    .aboutcontent {
        margin-top: 0px;
        margin-left: 5px;
    }
   .about-text{
      display: flex;
      flex-direction: column;
      min-width: 0;                
      text-align: left;
      width: 100%;
    }

.aboutphotoright,
.aboutphotoleft { float: none !important; }


    .about-text .scroll{ 
      margin-top: auto; 
    }
    .about-text .scroll a{ 
      margin-left: 0 !important; 
    }
    
    #a1, #a2, #a3, #a4, #a5, #a6 {
        margin-top: 80px;
        position: relative;
        transition: 2s;
        animation: aboutsm 3s 1;
    }
    
    .spacer {
        height: 120px;
    }
    
    @keyframes aboutsm {
        from {top: 0px; opacity: 0%;}
        to {top: 150px; opacity: 100%;}
      }
    /* Web Design Portfolio Page */
    /* .webdesignpage {
        margin-top: 25px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        padding: 5px;
        border-radius: 10px;
    } */
    .quotename {
      font-family: "Quicksand", sans-serif;
      font-size: 2em;
    }
   
    .webdesignimages img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 98%;
    }
    .webdesignimages p {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 98%;
    }
    /* Resume Page */
    .resumecontent {
        background-color: #ffffff;
        margin-top: 0;
        margin-left: 0;
    }
    .resumeimage {
        width: 100%;
        height: auto;
    }
    
    .grid-item2 {
        display: block;
        padding: 5%;
        border-radius: 10px;
        position: relative;
        top: -70px;
    }
    .grid-item3 {
        display: block;
        padding: 5%;
        border-radius: 10px;
        background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.8));
        position: relative;
        top: -70px;
    }
   
    
    /* .printdesignpage {
        margin-top: 25px;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        padding: 5px;
        border-radius: 10px;
    } */
    
     .printdesignimages img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 98%;
    }
    .printdesignimages p {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 98%;
    }
    .card-content {
        padding: 10px;
    }
    .card-content p a {
      position: absolute;
      bottom: 10px;
      left: 30%

    }
    .webdesigncontent,
  .printdesigncontent,
  .misccontent{
    grid-template-columns: 1fr;   
  }

  .contact_btn:hover .email {
    display: none;

}

}








