body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

#home #video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

#home #video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 110vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.my-fullscreen {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.my-aboutscreen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.my-midscreen {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.my-contactscreen {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* .my-background-main {
  background: url("../images/website1.jpg") no-repeat center center fixed;
  background-size: cover;
} */

.my-background-about {
  background-color: #000000;
}

.my-background-myresume {
  background: url("../images/website1.jpg") no-repeat center;
  background-size: cover;
}

/* .my-background-contact {
  background: url("../images/backdrop.jpg") no-repeat center bottom;
  background-size: cover;
} */

.my-navbar {
  background-color: #000d14; /* A blue shade */
  opacity: 0.8;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.my-navbar-left,
.my-navbar-right {
  display: flex;
  gap: 20px;
}

.my-nav-box {
  background-color: #3556da; /* Blue */
  border-radius: 8px;
  padding: 4px;
}

.my-button,
.my-social-icon {
  background-color: #3556da; /* Blue */
  border: none;
  color: white;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 8px;
}

.my-button:hover,
.my-social-icon:hover {
  background-color: #5778fe; /* Dark red on hover */
  color: white;
}

.my-social-icon i {
  font-size: 28px;
}

.my-navbar-right {
  margin-right: 30px;
}

.my-content {
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px;
}

.my-opaque-box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  max-width: 600px;
  margin: auto;
}

#contact {
  background-color: #000000; /* Blue */
  opacity: 0.9;
  color: #ffffff; /* White */
  padding: 50px;
  text-align: center;
}

#about {
  background-color: #000000; /* Blue */
  opacity: 0.9;
  color: #000000;
  padding: 50px;
  text-align: center;
}

.my-about-container {
  display: flex;
  flex-direction: row; /* Side-by-side layout */
  align-items: flex-start; /* Align items at the top */
  gap: 20px;
  flex-wrap: wrap; /* Enables wrapping if the window is too narrow */
  justify-content: center; /* Horizontally center the items if they wrap */
  width: 100%; /* Ensure container takes up full width */
  box-sizing: border-box;
}
.my-about-grid {
  display: flex;
  flex-direction: row; /* Adjusted from column to row for side-by-side layout */
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Enables wrapping if the window is too narrow */
  justify-content: center; /* Horizontally center the items if they wrap */
}

.my-about-intro {
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
  padding: 40px; /* Space inside the box */
  border-radius: 10px; /* Rounded corners */
  max-width: 600px; /* Maximum width of the box */
  margin-bottom: 200px;
  text-align: center;
}

.my-about-box {
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer !important;
  max-width: 350px;
  height: 700px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
  margin-left: 16px;
  margin-right: 16px;
}

.my-about-box:hover {
  cursor: pointer !important;
  transform: scale(1.05); /* Slightly enlarge the box on hover */
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
}
.my-about-box img {
  max-width: 300px;
  height: 220px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/* cool transitions */
.my-content h1,
.my-content p,
h3,
h4,
#about h2,
#about p,
#technologies h2,
#contact h2,
#contact p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.my-resume-link {
  display: inline-block;
  background-color: #3556da; /* Blue */
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.my-resume-link:hover {
  background-color: #3f65ff; /* Dark red on hover */
  color: white;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  opacity: 0.8;
  background-color: #000000; /* Adjust color as needed */
  color: white;
  text-align: center;
  padding: 5px; /* Adjust padding as needed */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  margin: 0;
  padding-left: 10px; /* Adjust padding as needed */
}

footer .my-social-icons {
  display: flex;
  gap: 10px; /* Adjust gap between icons as needed */
  padding-right: 10px; /* Adjust padding as needed */
}

footer .my-social-icon {
  padding: 8px; /* Adjust padding as needed */
  font-size: 20px; /* Adjust icon size as needed */
}

.my-contact-header {
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  padding: 10px; /* Padding inside the box */
  border-radius: 10px; /* Rounded corners */
  margin-bottom: 20px; /* Space below the header */
}

.my-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  padding: 20px; /* Space inside the box */
  border-radius: 10px; /* Rounded corners */
  max-width: 400px; /* Maximum width of the box */
  margin: auto; /* Centering the box */
}

.my-labels,
.my-details {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.my-labels p,
.my-details p {
  margin: 0;
  padding: 5px;
  font-size: 16px;
}

.my-labels p {
  font-weight: bold;
  color: #000000;
}

.my-details p {
  color: #000000;
}

.my-labels {
  margin-right: 300px; /* Adjust as needed */
  margin-left: 300px;
}

h1 {
  color: #000000; /* Change this to your desired shade */
  font-family: "Oswald", sans-serif; /* Arial font, sans-serif as fallback */
  font-size: 12px;
}

h2 {
  color: rgb(255, 255, 255); /* Dark grey color */
  font-family: "Oswald", sans-serif; /* Arial font, sans-serif as fallback */
  font-size: 48px;
  font-weight: bold;
  text-align: center;
}
h3 {
  color: rgb(0, 0, 0);
  font-family: "Oswald", sans-serif;
  font-size: 36px; 
  font-weight: bold;
  text-align: center;
}
h4 {
  color: rgb(0, 0, 0);
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

h3 {
  color: black;
  font-family: "Oswald", sans-serif;
}

h4{
  color: White;
  font-family: "Oswald", sans-serif;
}

/* Custom Navbar */
.navbar-custom {
  background-color: rgba(0, 13, 20, 0.8); /* Translucent dark blue */
}

/* Navbar links */
.navbar-custom .navbar-nav .nav-link {
  color: white; /* White text for navbar links */
  padding: 10px 20px; /* Adjust padding for spacing */
}

/* Navbar links on hover */
.navbar-custom .navbar-nav .nav-link:hover {
  color: #3556da; /* Blue color on hover */
}
/* Custom Button */
.btn-custom {
  opacity:0.68;
  background-color: #000000; /* Blue */
  border: none;
  color: white;
  padding: 10px 20px; /* Adjust padding for spacing */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px; /* Adjust margin for spacing */
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 8px;
}

/* Custom Button on hover */
.btn-custom:hover {
  background-color: #d4f0ff; /* black on hover */
  color: black;
}

#contact p {
  color:black
}

/* script */
/* Initially hide the secondary description */
.secondary-description {
  display: none;
  margin-top: 10px;
  color: #333;
}

/* Show the secondary description when the box is active */
.my-about-box.active .secondary-description {
  display: block;
}


@media only screen and (max-width: 768px) {
  .my-navbar-left,
  .my-navbar-right {
    flex-direction: column;
    gap: 10px;
  }
  .my-about-container {
    flex-direction: column;
  }
  .my-labels {
    margin-right: 0;
    margin-left: 0;
  }
  .my-background-main {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
}
