/**
* Template Name: Maxim
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/maxim-free-onepage-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@import url('https://fonts.googleapis.com/css2?family=The+Girl+Next+Door&display=swap');

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Space Mono";
  color: #1a1a18;
  background-color: #1a1a18;
}

h1 {
  font-size: 6vw; 
  font-family: "Space Mono";
  color: #51b096;
}

h2 {
  font-family: "Avenir";
  font-size: 8vw; 
  text-align: right; /* Align text to the right */
  margin-right: 5vw; /* Set right margin */
  color: #b742c6;
}

h3 {
  font-family: "Avenir";
  font-size: 4vw; 
  text-align: center; /* Align text to the right */
  color: #1a1a18;
  font-weight: bold;
}

h4 {
  font-family: "Space Mono";
  font-size: 2vw; 
  text-align: center; /* Align text to the right */
  color: #1a1a18;
}

h5 {
  font-size: 6vw; 
  font-family: "Space Mono";
  color: #1a1a18;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  background: #1a1a18;
}

#header .logo h1 {
  font-size: 30px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #51b096;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}



/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li+li {
  margin-left: 30px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: #51b096;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 3px;
  left: 0;
  background-color: #0d0800;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,


.navbar a:hover,
.navbar li:hover>a {
  color: #440848;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#title.hero {
  width: 100vw;
  height: 100vh; 
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: start;
  padding-left: 35%; 
  padding-bottom: 20%; 
  margin-bottom: 10vw;
  margin-top: 4vw;
  overflow: hidden;
}

#heroVideo {
  position: absolute;
  top: 1vw;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Change to 'cover' to maintain aspect ratio and crop the video as needed */
  object-position: left top; /* Add this property to align the video to the top-left corner */
  z-index: -1;
}

.hero {
    width: 100%;
    height: 90vh;
    background-size: contain;
    position: relative;
    margin-bottom: 10vw;
    padding: 0;
    overflow: hidden;
}

#title.hero .btn-get-started {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-top: 0;
  margin-bottom: 6vw; 
  margin-right: 8vw; 
  font-family: "Space Mono";
  text-transform: lowercase;
  font-weight: 500;
  font-size: 6vw; 
  letter-spacing: 0.1vw;
  padding: 1vw 3vw;
  transition: 0.5s;
  border: none;
  color: #51b096;
  background-color: transparent;
  text-align: left;
}

#title.hero .btn-get-started:hover {
  border-color: #440848;
  background: transparent; 
  color: #440848; 
}

.hero .btn-get-started {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-top: 1vh;
  margin-bottom: 3vw;  
  margin-right: 10vw;  
  font-family: "Space Mono";
  text-transform: lowercase;
  font-weight: 500;
  font-size: 3vw;     
  letter-spacing: 0.1vw;
  padding: 1vw 1vw;    
  width: auto;
  transition: all 0.5s;
  border: none;
  color: #0d0800;
  background-color: #51b096;
  text-align: left;
  border-radius: 1vw;  
}

.hero .btn-get-started:hover {
  background: #b742c6; 
}

#portfolio.hero .btn-get-started {
  position: absolute;
  bottom: 0.5vw;  /* Adjust as needed for spacing from the bottom */
  left: 50%;    /* Position 50% from the left */
  transform: translateX(-50%); 
  text-align: center; 
}

#contact .container > div {
  display: flex;
  justify-content: center; /* Align buttons in the center */
  gap: 2vw; /* Space between buttons */
  flex-wrap: wrap; /* Ensure responsiveness on smaller screens */
}

#contact .btn-get-started {
  position: static; /* Override absolute positioning */
  margin: 1vw; /* Uniform margin */
  font-size: 2vw; /* Adjust font size if needed */
  /* Other styling properties can remain the same */
}

.hero .hero-image {
  position: absolute;
  left: 10%;
  top: 55%;
  transform: translateY(-50%);
  max-width: 38%; /* or any other value depending on how large you want the image to be */
  height: auto; /* maintain aspect ratio */
  z-index: 2; /* ensure it's above the background but below other content; adjust as needed */
}

/*--------------------------------------------------------------
# Homepage Game
--------------------------------------------------------------*/
.path {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stop-icon {
  margin: 20px 0;
  transition: transform 0.3s ease;
}

.stop-icon.active {
  transform: scale(1.2);
}

.popup {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.path-container {
  overflow: hidden;  
  position: relative;  
  width: 100%;
  height: 15vw;  
}



.skills-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  justify-content: center; /* Center the skill sets */
  gap: 0.5vw; /* Spacing between skill sets */
  margin-bottom: 3vw;
}

.skill-set {
  flex: 1;  /* Equal width for each skill set */
  padding: 1vw;
  margin: 0.5vw;
  background-color: #b742c6;
  border-radius: 1vw;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

* {
  box-sizing: border-box;
}

.begin {
  background-color: transparent;
  padding: 100px 0px 400px 0px;
}

.begin .icon-box {
  margin-top: 44px;
}

.begin .icon-box i {
  font-size: 48px;
  float: left;
  color: #ba2a47;
}

.begin .icon-box h4 {
  font-size: 22px;
  font-weight: 500;
  margin-left: 60px;
  color: #21413c;
}

.begin .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.flex-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* allows items to wrap onto the next line */
  margin-top: 10vw;
  margin-bottom: 5vw;
}

.project-link {
  flex: 1 1 calc(33.33% - 10px);
  margin: 5px;
  position: relative;
  overflow: hidden;
}

.project-image {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-title {
  margin-top: 1vw;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8); 
  color: #51b096; 
  font-family: "Space Mono";
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2vw;
  letter-spacing: 1px;
  text-align: center;
  padding: 3vw 2vw;
  transform: translateY(0);
  transition: opacity 0.3s ease; 
}

.project-description {
  margin-top: 1vw;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8); 
  color: #51b096; 
  font-family: "Space Mono";
  font-weight: 500;
  font-size: 2vw;
  letter-spacing: 1px;
  text-align: center;
  padding: 3vw 2vw;
  transform: translateY(100%);
  transition: opacity 0.3s ease; 
}

.project-link:hover .project-title {
  transform: translateY(100%); 
}

.project-link:hover .project-description {
  transform: translateY(0); 
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust the minmax values to control the minimum and maximum width of each div */
  grid-auto-rows: minmax(200px, auto); /* Adjust the minmax value to control the minimum and maximum height of each div */
  gap: 10px; /* Spacing between divs */
  justify-content: center; /* Horizontally center divs */
  align-content: center; /* Vertically center divs */
  max-width: 90vw;
  margin: 0 auto; /* Center the grid container horizontally */
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #51b097;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 10vw;
  border-color: #51b097ad;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 0.1vw;
  color: #ba2a47b2;
  font-size: 4vw !important;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 1vw 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #ba2a47b2;
}

.social-links {
  white-space: nowrap; /* Prevent line breaks */
}

.social-links a {
  font-size: 7vw;
  display: inline-block; /* Ensure elements stay inline */
  justify-content: center;
  align-items: center;
  background: #0d0800;
  color: #51b096;
  /* line-height: 1; */
  /* padding: 1vw 0; */
  margin-right: 1vw;
  border-radius: 50%;
  text-align: center;
  width: 8vw;
  height: 8vw;
  transition: 0.3s;
}

.social-links a:hover {
  background: #c0760661;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

/* Add this at the end of your CSS file */

@media (max-width: 768px) {
  /* Adjustments for screens up to 768px wide */
  
  /* Remove the navbar */
  .navbar {
    display: none;
  }

  /* Increase font size for buttons */
  .btn-get-started {
    font-size: 6vw !important;
    padding: 1vw 2vw; /* Increase padding for buttons */
  }

  /* Adjust hero section */
  #title.hero {
    padding-left: 0;
    padding-bottom: 5%; /* Decrease the padding at the bottom */
    justify-content: flex-start; /* Center content horizontally */
    align-items: flex-start; /* Center content vertically */
  }

  #title.hero .btn-get-started {
    font-size: 15vw !important;
    margin-right: 0;
    margin-bottom: 3vw;
  }

  /* Adjust the "software engineer" text */
  .hero-image {
    max-width: 80%; /* Adjust the width of the image */
    margin-right: 1vw;
  }
  
  /* Adjust the position of the text */
  .hero-text {
    position: absolute;
    top: 10%;
    right: 5%; /* Add a small right margin */
    transform: none;
    text-align: right;
    width: 45%; /* Adjust the width to accommodate the margin */
  }
  }

  /* Increase the font size of the text */
  .hero-text h2 {
    font-size: 5vw;
  }
}

