@font-face {
    font-family: 'SpaceGrotesk-VariableFont_wght', sans-serif;
    src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
  }
  
@font-face {
      font-family: 'WorkSans', sans-serif;
      src: url('../fonts/WorkSans-VariableFont_wght.ttf') format('ttf');
      font-weight: normal;
      font-style: normal;
  }

body{
    padding: 0px;
    font-weight: 400;
    font-family: "Work Sans", sans-serif;;
    font-size: 18px;
    width: 100%;
    height: 100%;
    margin: 0;
    /* was curious and googled if it was hard to change the cursor but ended up beign so simple so wanted to try it out for fun */
    cursor: url('../images/cursor.svg'), auto;
  } 

/* I eneded up adding the nav bar on top with a black background i tried so many ways to overlap everything on top of the hero */
.navbar {
  background-color: black;
  overflow: auto;
  align-items: center;
  padding-left: 80px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  display: flex;
  min-height: 5%;
  min-width: 10%;
}

nav a {
  float: left;
  text-align: center;
  padding: 12px;
  color: white;
  text-decoration: none;
  font-size: 17px;
}

.dropdown {
  float: left;
  overflow: hidden;
}

i {
  color: white;
  position: relative;
}

/* Dropdown hovering button */
.dropdown .dropdown-button {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  /* used a tutorial which explained the inherit function which allows what chosen to take the same value from the parent instead having to code it again */ 
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* hide the items inside the drop down item in the navbar */
.dropdown-item {
  display: none;
  position: absolute;
  background-color:  #000000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* pages inside the dropdown button */
.dropdown-item a {
  float: none;
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-item a:hover {
  background-color: rgb(255, 255, 255);
  color: #000000;
}

/* menu items pop up when hovering on "projects" */
.dropdown:hover .dropdown-item {
  display: block;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  font-family: 'Work Sans', sans-serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-title {
  position: absolute;
  top: 5%;
  font-size: 64px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 100;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100vh;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: filter 0.3s ease-in-out;
  /* gave it a blur to the images*/
  filter: blur(10px);
  position: relative;
}

.hero-section.left {
  background-image: url('../images/bg-left-2.jpg'); 
}

.hero-section.right {
  background-image: url('../images/bg-right-2.jpg');
}

/* take out the blur on hover */
.hero-section:hover {
  filter: blur(0);
}

.hero-h2 {
  position: absolute;
  /* I forced it to center */
  top: 40%;
  font-size: 58px;
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
  line-height: 1.2;
}

.hero-section:hover .hero-h2 {
  opacity: 1;
}

.hero-button {
  position: absolute;
  /* forced the position of the button too */
  top: 80%;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  font-family: 'Work Sans', sans-serif;
  border-radius: 25px;
  transition: background 0.3s;
}

/* wanted to give the buttons not only a color but more a button feeling like 3D (as i did on figma) */
.black {
  background-color: #000000;
  color: white;
  border: 1px solid rgb(92, 92, 92);
  box-shadow: inset 0 0 10px rgb(92,92,92);
}

.pink {
  background-color: #D32F7E;
  color: rgb(255, 255, 255);
  border: 1px solid #FA87BE;
  box-shadow: inset 0 0 10px #FA87BE;
}

/* make the button a lil lighter on hover */
.black:hover {
  background-color: rgb(34, 32, 32);
  color: white;
}

.pink:hover {
  background-color: #d75594;
  color: rgb(255, 255, 255);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #D32F7E;
  padding: 10px 80px;
  color: white;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: inline-block;
  width: 24px;
  height: 24px;
}

.social-icons img {
  width: 100%;
  height: auto;
  display: block;
}