body, h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
}

body {
  position: absolute;
  background: black;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

header {
  position: sticky;
  top: 0;
  height: 10vh;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 10px;
}

p {
  padding: 10px;
}

.head-logo {
  display: block;
  width: auto;
  height: 100%;
}

main {
  position: fixed;
  width: 100%;
  height: 100%;
}

.vertical-scroll {
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: y mandatory;
}

.vertical-scroll::-webkit-scrollbar {
  display: none;
}

/* .background {
  background-image: url("img/mnts.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
} */

/*section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-wrap: wrap;
}*/

.section1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
  background-image: url("img/mntsL.jpg");
    background-repeat: no-repeat;
    background-size: cover; /* Set background size to 3 times the width of the viewport */
    background-position: center center; /* Start with the first section of the image */
    background-attachment: fixed;
}

.section2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease;
  flex-wrap: wrap;
      background-image: url("img/mntsC.jpg");
      background-repeat: no-repeat;
      background-size: cover; /* Set background size to 3 times the width of the viewport */
      background-position: center center; /* Start with the first section of the image */
      background-attachment: fixed;
}

/* Styles for the container <a> tag */
.image-link {
  position: relative; /* Needed for positioning the text box */
}

.home-geek {
  display: flex;
}

.home-beats {
  display: flex;
}

/* Styles for the text box */
.text-box-geek {
  position: inherit;
      display: flex;
      align-items: center;
      left: -20%;
  padding: 5px;
  background-color: rgb(0 0 0 / 0%);
  color: white;
  font-size: 20px;
  border-radius: 4px;
  opacity: 0; /* Initially, make it invisible */
  pointer-events: none; /* Ensure the text box doesn't interfere with the image click */
  transition: opacity 0.9s ease; /* Add a smooth transition */
  font-family: 'Font Awesome 6 Pro';
}

.text-box-beats {
  position: inherit;
      display: flex;
      align-items: center;
      top: 33%;
      right: -20%;
  padding: 5px;
  background-color: rgb(0 0 0 / 0%);
  color: white;
  font-size: 20px;
  border-radius: 4px;
  opacity: 0; /* Initially, make it invisible */
  pointer-events: none; /* Ensure the text box doesn't interfere with the image click */
  transition: opacity 0.9s ease; /* Add a smooth transition */
  font-family: 'Font Awesome 6 Pro';
}

/* Show the text box when hovering over the image link */
.image-link:hover .text-box-geek {
  opacity: 1;
}

.image-link:hover .text-box-beats {
  opacity: 1;
}


.section3 {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
  background-image: url("img/mntsL.jpg");
    background-repeat: no-repeat;
    background-size: cover; /* Set background size to 3 times the width of the viewport */
    background-position: center center; /* Start with the first section of the image */
    background-attachment: fixed;
    min-height: 100vh;
}

#slide1 {
  /*background-color: #a02929;*/
  transform: translateX(-100%);
}

#slide2 {
  /*background-color: #396039;*/
  transform: translateX(0);
}

#slide3 {
  /*background-color: #ccccff;*/
  transform: translateX(100%);
}

.a-foot {
  /* Styling for the anchor tag */
  display: inline-block;
  padding: 10px;
  outline: none;
  opacity: 0.8;
  /* Add any other desired styles */
}

.a-home-geek {
  display: flex;
    padding-left: 10px;
    padding-right: 10px;
    outline: none;
    opacity: 0.8;
    flex-direction: row-reverse;
    text-decoration: none;
}

.a-home-beats {
  display: flex;
    padding-left: 10px;
    padding-right: 10px;
    outline: none;
    opacity: 0.8;
    flex-direction: row;
    text-decoration: none;
  }

a img {
  /* Styling for the image within the anchor tag */
  display: flex;
    width: 20vh;
  /*width: 100px;
  height: 100px;*/
  transition: opacity 0.3s ease;
  outline: none;
  /* border-radius: 50%; */
  /* Add any other desired styles */
}

a:hover {
  border-color: transparent;
  opacity: 1.0;
  transition: opacity 0.3s ease; /* Add a smooth transition */

}

.title-home {
  display: block;
  width: 60vw;
  min-width: 300px;
  padding: 5px;
}

.inside {
  width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buttons-contain {
  display: block;
    padding-left: 5vh;
    padding-right: 5vh;
}

.buttons-home {
  display: flex;
    /* width: 85px; */
    padding-top: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

/* Define the initial state of the image */
.slide-effect-L {
  transition: transform 0.3s; /* Add a smooth transition to the transform property */
}

/* Apply the transformation on hover */
.slide-effect-L:hover {
  transform: translateX(-50px); /* Slide the image 20px to the right on hover */
}

.flip-horizontal {
  transform: scaleX(-1); /* Flip the image horizontally */
}

/* Define the initial state of the image */
.slide-effect-R {
  transition: transform 0.3s; /* Add a smooth transition to the transform property */
}

/* Apply the transformation on hover */
.slide-effect-R:hover {
  transform: translateX(-50px); /* Slide the image 20px to the right on hover */
}

.next-icon {
  color: black;
}

#slide1 .sticky-element,
#slide3 .sticky-element {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: white;
}

#slide1 .sticky-element {
  /* Styles for index 0 sticky element */
}

#slide3 .sticky-element {
  /* Styles for index 2 sticky element */
}


.sticky-nav {
  position: sticky;
  top: 0;
  background-color: transparent;
  display: flex;
  /* height: 5vh; */
  width: 100%;
  justify-items: center;
  flex-direction: row;
  justify-content: space-around;
}

.sticky-nav img {
  height: auto;
}

.sticky-nav a {
  display: inline-flex;
  opacity: 0.6;
  text-decoration: none;
  color: #fff;
  border: 2px solid #000;
  border-radius: 5px;
  width: 100%;
  background: repeating-linear-gradient(0deg, #00000080, transparent 100px);
  /* width: 106px; */
  height: 4vh;
  justify-content: center;
  align-items: center;
}

.sticky-nav a:hover {
  opacity: 10;
  color: white;
}

.sticky-nav i {
  font-size: 4vh;
}

.sticky-nav p {
  margin: 0;
}

.page {
  display: block;
  padding: 10px;
  margin: 10px;
  flex: 1;
  overflow-y: auto;
  background: rgb(129 170 207 / 50%);
}

.page > div {
  flex: 1;
}

.info {
  display: block;
  width: 100%;
  height: 100%;
  position: flex;
}

.about {
  padding: 10px;
  margin: 0px;
  display: block;
}

.aboutb {
  padding: 10px;
  margin: 0px;
  display: flex;
  flex-direction: column;
}

hr {
  display: block;
  color: white;
  width: 100%;
}

h2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

h4 {
  display: block;
  padding: 0;
  margin: 0;
}

.my-name {
  display: flex;
  flex-wrap: wrap;
}

.skills {
  display: flex;
  flex-direction: column;
}


.profile-pic {
    padding: 5px;
    /* display: block; */
    object-fit: scale-down;
    flex: 1;
}

.contact-list {
  display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    padding-left: 5px;
    padding-right: 5px;
    align-items: flex-start;
}

.p-name {

}

.submy-name {
  flex: 1;
  order: 2;
  padding: 5px;
}

.me {
  width: 100%;
  height: auto;
}

/* Media query for smaller devices */
@media (max-width: 768px) {
  .my-name {
    flex-direction: column;
  }
  .submy-name {
    order: 1;
  }
}

.services {
  display: block;
  padding: 5px;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  list-style: none;
  padding: 0;
}

.sublist.before {
  display: none; /* Initially hide the sublist */
}

.sublist.active {
  padding: 0;
  margin: 5px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-size: 14px;
  justify-content: center;
}

.serv-list {
  display: inline-flex;
  flex-direction: column;
}

.serv {
  display: flex;
  padding: 5px;
  justify-content: center;
}

.serv-title {
  display: flex;
  align-items: center;
}

.resume-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.res-sub-list {
  list-style: disc;
}

.rep {
  display: block;
  padding: 10px;
  margin: 0;
}

/* Adjust button padding and border */
.toggle-button {
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Arrow icon styles */
.toggle-button::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid black;
  border-right: 2px solid black;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-left: 10px; /* Add spacing between text and arrow */
}

/* Rotate arrow icon when sublist is active */
.sublist.active + .serv-title .toggle-button::after {
  transform: rotate(135deg);
}

.form-cont {
  display: block;
    padding: 5px;
    flex: 1;
    object-fit: cover;
}

.form {
  display: flex;
  flex-direction: column;
  background-color: rgb(0 0 0 / 26%);
}


/* .sticky-logo {
  position: sticky;
  top: 0;
  padding: 10px;
  display: flex;
  justify-items: center;
  justify-content: flex-end;
  background: #a02929;
  /* border: bisque; */
  /* border-radius: 10px; */
  /*width: auto;
  height: 50px;
}*/

.with-footer footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
  }

.socials {
  display: grid;
    justify-content: start;
    padding-left: 10px;
}

.a-socials {
  color: whitesmoke;
    font-size: x-large;
    display: inline-block;
    padding: 10px;
    outline: none;
    opacity: 0.8;
}

*,*:before,*:after {
    box-sizing: inherit
}

.bar {
  width: 50%;
      overflow: hidden;
      display: flex;
      flex-direction: column;
}

.theme {
    color: #fff !important;
    background-color: #000000 !important;
}

.border-services {
  border: 1px solid #ccc!important;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
}

/*.bar-button:hover {
    color: #000!important;
    background-color: #ccc!important;
}*/

.bar .bar-button {
    white-space: normal;
}

.bar .bar-item {
    padding: 8px 16px;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0;
}

.padding-16 {
    padding-top: 16px!important;
    padding-bottom: 16px!important;
}

.dark-grey,.hover-dark-grey:hover,.dark-gray,.hover-dark-gray:hover {
    color: #fff!important;
    background-color: #616161!important
}

.container:after,.container:before,.bar:before,.bar:after {
    content: "";
    display: table;
    clear: both;
}

.btn, .bar-button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

button, input, select, textarea, optgroup {
    font: inherit;
    margin: 0;
}

.serv-about {
  display: block;
  width: 50%;
}

.serv-about-txt {
  display: flex;
  height: 100%;
  padding-left: 20px;
}

/* Add these media queries at the end of your CSS */
@media (max-width: 768px) {
  /* Adjustments for smaller devices */
  .page {
    margin: 0; /* Remove margin on smaller screens */
    padding: 5px; /* Add padding for better spacing */
  }

  .section1,
  .section2,
  .section3 {
    background-size: cover; /* Adjust background size for better appearance */
    background-position: center; /* Center the background image */
    background-attachment: scroll; /* Change background attachment for scrolling */
  }

  /* Adjust font size and padding for better readability */
  h2,
  h4,
  p {
    font-size: 16px;
    padding: 5px;
  }
}

/* Additional styling for even smaller screens if needed */
@media (max-width: 480px) {
  /* Further adjustments for very small screens */
}
