
html {
  height: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
 
}

html, body {
  overflow: auto; /* Ensure scrolling is enabled */
  height: 100%; /* Full height for both */
  overflow-y:scroll;
  
}
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #A95C68;;
  -webkit-box-shadow: 0 0 1px rgba(213, 10, 101, 0.5);
}



/* Message Button */
.cardContact {
  position: fixed;
  bottom: 16em;
  left: 0;
  text-decoration: none;
  color: black;
  border-radius: 0% 0% 20% 20%;
  font-weight: bold;
  background: #A95C68;
  padding: 0.5em;
  transform: rotate(-90deg);
  text-align: center;
  font-size: 18px;
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  z-index: 8;
}


/* Blue Title*/

:root {
  --blue: #A95C68;
  --light-shadow: #f8bac3;
  --dark-shadow: #383336;
}

.wrapper {
  background: radial-gradient(black, black);
  display: grid;
  grid-template-areas: 'overlap';
  place-content: center;
  text-transform: uppercase;
  height: auto;
  overflow: auto;
}

.wrapper > div {
  -webkit-background-clip: text;
  background-clip: text;  
  color: #333438;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp( 1rem, 3vw, 13rem);
  grid-area: overlap;
  letter-spacing: 2px;
  -webkit-text-stroke: 4px transparent;
}

.bg, .fg {
  z-index: 4; /* Ensure these elements are behind the content */
  padding: 20px; /* Adjust padding as needed */
  margin: 20px;
  position: relative; 
}

div.bg {
  background-image: repeating-linear-gradient( 105deg, 
    var(--blue) 0% , 
    var(--dark-shadow) 5%,
    var(--blue) 12%);
  color: transparent;
  filter: drop-shadow(5px 15px 15px black);
  transform: scaleY(1.05);
  transform-origin: top;
}
div.fg{
  background-image: repeating-linear-gradient( 5deg,  
    var(--blue) 0% , 
    var(--light-shadow) 23%, 
    var(--blue) 31%);
  color: #1e2127;
  transform: scale(1);
}

.page {
  background-color: black;
}

/* Home page */

body {
  margin-top: 0px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  color: white;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color:#0e0d0d;
  
}


/* ---------- NAVIGATION MENU ------------*/


.mainMenu {
  
  margin-top: 0;
  padding-top: 0;
  background-color: #222222;
  position: sticky;
  top: 0px;
  z-index: 1000;

}


nav {
  position: sticky;
  top: 0px;
  height: 60px;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin: 0 auto 20px;
  border: 1 px solid rgba(255, 255, 255, 0.15);
  
}

nav .name {
  width: 20%;
  margin-top: 5px;
  margin: 15px 0;
  float: left;
  text-justify: center;
  text-align:center;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height:1.0;

}

nav .logo {
  margin-top: 5px;
  float: right;
  margin-right: 15px;
  
}


nav > ul {
  list-style-type: none;
  margin: 0;
  background-color: black;
}

nav > ul > li {
  display: inline-block;
  margin: 0 30px;
  padding: 20px;
  padding-left: 20px;
  text-transform: uppercase;

}

nav > ul > li a {
  display: black;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

nav > ul > li a:hover{
  border-bottom: 6px solid #A95C68;
  color: #A95C68;
  letter-spacing: 3px;
}

nav > ul > li a:focus{
  border-bottom: 6px solid #A95C68;
  color: #A95C68;
  letter-spacing: 3px;
}

.social-menu {

  writing-mode: vertical-rl;
  float: right;
  padding: 0px;
  position: sticky;
  height: 100%;
  
}

.social-menu > ul > li a:hover 
{
  
  border-left: 6px solid #A95C68;
  background-color: black;
  letter-spacing: 3px;
}

/* -----Left Side of Homepage ------*/

.outerContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  margin: 2px;
  
}


.parentContainer {
    flex-basis: 33%; 
    height: 75vmin;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    transform: skew(5deg);
    margin-inline-start: 10%; 
    padding: 10px;
}

.bgContainer {
  background-color: #111111;
  margin-top: 0;
}

.bxContainer {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  

}

.borderContainer h1, p {
  text-align: center;
  
}

h1{
  color: #484848;
  font-size: 50px;
  font-weight: bold;
  font-family: monospace;
  letter-spacing: 7px;
  cursor: pointer
}
h1 span{
  transition: .5s linear
}
h1:hover span:nth-child(1){
  margin-right: 5px
}
h1:hover span:nth-child(1):after{
  content: "'";
}
h1:hover span:nth-child(2){
  margin-left: 30px
}
h1:hover span{
  color: #fff;
  text-shadow: 0 0 10px #A95C68,
               0 0 20px #A95C68, 
               0 0 40px #A95C68;
}


/* -------Right Side of Homepage---------- */

.container {
  flex-basis: 45%; 
  height: 75vmin;
  max-width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 10vmin;
 overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  transform: skew(5deg);
}


.container .navPic {
  transition: all 0.5s ease-in-out;
  
  position: relative;
  height: 100%;
}

.container .navPic img {
  object-fit: cover;
  opacity: 0.2;
}

.container .navPic:hover img {
  filter: grayscale(0);
}


.container .navPic .navTitle {
  color: black;
  background: #A95C68;
  padding: 0.1em;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  min-width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 2em;
  font-weight: bold;
  border-radius: 0% 0% 20% 20%;
  white-space: nowrap;
}

.container .navPic:hover {
  flex-grow: 10;
}
.container .navPic:hover img {
  filter: grayscale(0);
}

.container .navPic:hover .navTitle {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
}

.container .navPic img {

  object-fit: fill;
  transition: all 0.1s ease-in-out;
  filter: grayscale(100%);
}
.container .navPic:not(:nth-child(5)) {
  margin-right: 1em;
}


/*  ---------ABOUT PAGE----------  */

section {
  background-color: rgba(0, 0, 0, 0.5);
  clear: both;
}

.wrapper .bg:hover, .wrapper .fg:hover {
  letter-spacing: 3px;
  filter: drop-shadow(5px 5px 5px #A95C68);
}



#about {
  clear: both;

  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;
  
}

#about p {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: x-large;
  color: white;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
}

#about ul {
  margin-top: 2rem;
  list-style-type: none;
  display:inline-flex;
  width: 100%;
  justify-content: space-around;
}

/* SKILLS SCROLL BAR */

.scrollContainer {
  clear: both;
  
  height: 100%;
  width: 100%;
  overflow: hidden; 
  display: flex;
  justify-content: center;
  white-space: nowrap;
  
}

.list {
  align-items: top;
  -webkit-animation: loop 7s infinite linear;
  animation: loop 7s infinite linear;
}

.item-txt{
 
  font-family: Kumbh Sans;
  font-size: 30px;
  line-height: 30px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A1A;
  display: inline-block;
}

.item-d{
  display: inline;
}

.item-dot{
  max-width: 10px;
  max-height: 30px;
  margin: 0 50px;
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
  transform: translateY(30px);
}

.dot-r{background-color: #F35C4A;}
.dot-b{background-color: #1188FF;}
.dot-g{background-color: #60F2D0;}
.dot-y{background-color: #FFDB6B;}
.dot-t{background-color: #BFE05E;}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}




/* Portfolio Page */

#portfolio {
  clear: both;

  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;
}


#portfolio .wrapper {
  clear: both;
  
}


.tabs {
  width: 95%;
  max-width: 600px;
}

.tabs tab-header {
  height: 60px;
  display: flex;
  align-items: center;
}

.tabs tab-header > div {
  width: calc(100% / 4);
  text-align: center;
  
}


/* Blog Page */


#blog {
  clear: both;

  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;
 
}

#blog p {
  padding: 50px;
}


.link-button {
  margin-top: 10px;
  margin-bottom: 500px;
  z-index: 2;
}

.link-button a {
  background-color: black;
  padding: 15px;
  text-decoration: none;
  color: white;
  border: 1px solid white;
}

.link-button a:hover {
  margin-top: -10px;
  background-color: #A95C68;;
  border: 1px solid white;
  color:  white;
}

/* Contact Page */

#contact {
  clear: both;

  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;

  

}


form {
  z-index: 2;
  align-self: center;
  border: 3px solid  rgb(22, 25, 50);
  margin-top: 50px;
  margin-bottom: 250px;
  padding: 50px;
  box-shadow:
  inset #A95C68 0 0 0 2px, 
  inset #d42c83 0 0 0 2px, 
  inset #b06772 0 0 0 2px, 
  inset #bf7681 0 0 0 2px, 
  inset #cc8690 0 0 0 2px, 
  inset #ec9faa 0 0 0 3px, 
  inset #cfb6ba 0 0 0 3px, 
  inset #f4ebed 0 0 0 3px;
  
  
  
  
}


input {
  accent-color: #A95C68;
}


fieldset {
  padding: 20px;
  margin-bottom: 20px;
  border: 3px double #A95C68;

}

label, input {
  padding: 10px;
  margin: 10px;

}

.form-input:focus {
  background-color: rgb(226, 245, 255);
  color: black;
  margin-top: 20px;
  box-shadow: 2px 2px 2px 2px #A95C68;
}

.form-input:valid {
  background-color: rgb(226, 245, 255);
  color: black;
}

#message {
  justify-content: center;
  vertical-align: middle;
}

button {
  padding: 10px 20px;
  border: 2px solid #A95C68;
  color: black;
  font-size: 18px;
  font-weight: 600;

}

button:hover {
  background-color: #A95C68;
  color: white;
  border-color: white;
  box-shadow: 0px 0px 1px 1px white;
}

button:focus {
  box-shadow: 2px 2px 2px 2px #A95C68;

}



/* FOOTER */

footer {
  clear:both;
  background-color: black;
  text-align: center;
  width: 100%;
  
  margin-bottom: 0;
  position: relative;
  padding: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

footer a {
  text-decoration: none;
  color: white;
}




/* HAMBURGER MENU */
/* Hamburger menu button */
.hamburger-menu {
  display: none; /* Initially hide the hamburger menu */
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999; /* Ensure it's above other elements */
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/*MOBILE*/
/* Show the hamburger menu button only on smaller screens */
@media (max-width: 600px) {
  .hamburger-menu {
      display: block;
  }

  

  /* Hide the navigation menu by default on smaller screens */
  nav.mainMenu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #222222;
      padding-top: 60px; /* Adjust this value to keep the menu below the button */
      text-align: center;
      z-index: 998; /* Ensure it's below the hamburger button */
  }

  /* Show the navigation menu when the hamburger menu button is clicked */
  nav.mainMenu.show {
      display: block;
  }

  /* Style the links in the navigation menu */
  nav.mainMenu ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
  }

  nav.mainMenu ul li {
      display: block;
      margin-bottom: 20px;
  }

  nav.mainMenu ul li a {
      display: block;
      color: white;
      text-decoration: none;
      font-size: 18px;
  }

  /* Close button for the navigation menu */
  .close-menu {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 24px;
      color: white;
      cursor: pointer;
  }

  .container, .navPic, .navPic:hover, .navTitle, .social-menu, .cardContact, .name {
    display: none;
  }
  
}


