@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;

  } 

.navbar {
    background-color: #D32F7E;
    overflow: auto;
    align-items: center;
    padding-left: 80px;
    padding-top: 20px;
  }
.pageHeading {
  flex-direction:column;
  align-items: left;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: bold;
  font-size: 64px;
  padding-left: 80px;
}

.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:  #D32F7E;
    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: white;
    color: #D32F7E;
}
  
  /* menu items pop up when hovering on "projects" */
.dropdown:hover .dropdown-item {
  display: block;
}

.page-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 80%;
  margin: auto;
}

.title-contact h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  color: black;
  justify-content: center;
  align-items: center;
  padding-left: 80px;
  margin: 0;
}

/* i forced a bit the position of the text bubble */
.contact-bubble {
  position: relative;
  background-image: url('../images/contact-bubble.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%; 
  max-width: 400px;
  height: auto;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 40px;
}

.contact-bubble p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  color: white;
  text-align: left;
  z-index: 2;
  position: relative;
  padding: 10px;
  max-width: 80%;
}


.form form {
  display: grid;
  gap: 10px;
  background: white;
  padding: 20px;
  border-radius: 25px;
  max-width: 500px;
  margin: auto;
}


.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid black;
  border-radius: 25px;
  font-family: 'Work Sans', sans-serif;
}

.firstName label .lastName label {
  margin-bottom: 20px;
}

textarea {
  height: 120px;
}

/* gave the submit button also a bit more of a 3D feeling */

input[type="submit"] {
  background-color: #D32F7E;
  color: rgb(255, 255, 255);
  border: 1px solid #FA87BE;
  box-shadow: inset 0 0 10px #FA87BE;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  width: 20%;
  border-radius: 25px;
  margin-left: auto; 
  display: block;
}

input[type="submit"]: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;
}