@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: rgb(31, 28, 28);
  color: white;
  display: flex;
  justify-content: center;
  font-family: "Montserrat";
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 16px;
}

html {
  scroll-behavior: smooth;
}

.content {
  width: 75%;
  opacity: 0;
  transition: opacity 1s ease-in;
}

.content.fade-in {
  opacity: 1;
}

section {
  min-height: 50%;
  width: 100%;
  margin-bottom: 25px;
}

#backToTopBtn {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  bottom: 50px;
  right: 50px;
  padding: 24px 25px;
  font-size: 16px;
  color: #fff;
  background-color: rgb(179, 30, 30);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, color 0.2s ease-in-out;
}

#backToTopBtn.show {
  visibility: visible;
  opacity: 1;
}

#backToTopBtn:hover {
  background-color: #fff;
  color: rgb(179, 30, 30);
}

.hover {
  position: relative; /* Ensures proper positioning for overlays */
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
  display: inline-block;
  overflow: hidden; /* Prevents the gradient from going outside the image bounds */
}

.hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1; /* Sits above the image but behind text if any */
  transition: opacity 0.2s ease-in-out;
  pointer-events: none; /* Ensures the gradient doesn’t block hover events */
}

.hover img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.2s ease-in-out;
}

.hover:hover {
  transform: scale(1.05);
}

.hover:hover::before {
  opacity: 0; /* Removes the gradient effect when hovering */
}

.hover:hover img {
  filter: brightness(1.2); /* Lightens the image */
}

.red {
  color: rgb(179, 30, 30);
}

@font-face {
  font-family: "Montserrat";
  src: url(../css/fonts/Montserrat-Medium.ttf);
}
@font-face {
  font-family: "Montserrat Bold";
  src: url(../css/fonts/Montserrat-Bold.ttf);
}
@font-face {
  font-family: "Montserrat Thin";
  src: url(../css/fonts/Montserrat-Thin.ttf);
}
@media (max-width: 768px) {
  .content {
    width: 90%;
  }
  #backToTopBtn {
    font-size: 14px;
    padding: 20px 21px;
  }
}
nav {
  height: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

nav a:hover {
  color: rgb(179, 30, 30);
  transform: scale(1.1);
}

nav .navLinks {
  display: flex;
  justify-content: space-between;
  width: 50%;
}

nav .contactBtn {
  background-color: rgb(179, 30, 30);
  padding: 8px;
  margin-top: -8px;
  border-radius: 25px;
}

nav .contactBtn:hover {
  background-color: white;
}

@media (max-width: 1200px) {
  nav .navLinks {
    width: 65%;
  }
}
@media (max-width: 768px) {
  nav .navLinks {
    width: 80%;
  }
  nav a {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  nav a {
    font-size: 14px;
  }
}
.hero {
  display: flex;
  align-items: center;
  height: 55%;
  font-family: "Montserrat Bold";
}

.hero .heroText {
  font-size: 35px;
}

.heroText h2 {
  font-family: "Montserrat Thin";
  font-size: 30px;
}

@media (max-width: 768px) {
  .hero .heroText {
    font-size: 30px;
  }
  .heroText h2 {
    font-size: 25px;
  }
}
@media (max-width: 480px) {
  .hero .heroText {
    font-size: 25px;
  }
  .heroText h2 {
    font-size: 20px;
  }
}
.projects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  min-height: 1300px;
  font-family: "Montserrat";
}

#projHeader {
  font-size: 35px;
  text-align: center;
  text-decoration: underline;
  margin-top: 25px;
  margin-bottom: 50px;
}

.header {
  font-size: 35px;
  text-decoration: underline;
  margin-top: 25px;
  margin-bottom: 60px;
}

.projects .projectCard {
  align-items: center;
  height: 550px;
  width: 40%;
}

.projects .projText {
  width: 100%;
}

.cardHeader {
  font-size: 30px;
}

.cardInfo {
  font-size: 20px;
}

.projects .projText i {
  color: rgb(179, 30, 30);
  font-size: 27px;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.projects .projText i:hover {
  color: white;
  transform: scale(1.1);
}

.projects .projImg {
  background-color: rgb(179, 30, 30);
  width: 100%;
  height: 245px;
  background-position: center;
  background-size: cover;
  border: 5px solid rgb(179, 30, 30);
  margin-bottom: 25px;
}

.projects h1 {
  font-family: "Montserrat Bold";
}

.projects .skillList {
  display: flex;
  width: 250px;
  justify-content: space-between;
  color: rgb(130, 130, 130);
}

.iconList {
  display: flex;
  justify-content: space-between;
  width: 125px;
}

#keurig {
  background-image: linear-gradient(rgba(78, 78, 78, 0.313), rgba(78, 78, 78, 0.313)), url(../assets/images/keurig.png);
}

#nuvema {
  background-image: linear-gradient(rgba(78, 78, 78, 0.313), rgba(78, 78, 78, 0.313)), url(../assets/images/nuvema.png);
}

#marla {
  background-image: linear-gradient(rgba(78, 78, 78, 0.313), rgba(78, 78, 78, 0.313)), url(../assets/images/marla.png);
}

#jungle {
  background-image: linear-gradient(rgba(78, 78, 78, 0.313), rgba(78, 78, 78, 0.313)), url(../assets/images/jungle.png);
}

@media (max-width: 768px) {
  .header {
    font-size: 30px;
  }
  .projects {
    height: 1700px;
  }
  .projects .projectCard {
    align-items: center;
    height: auto;
    margin-bottom: 75px;
  }
  .cardHeader {
    font-size: 25px;
    margin-bottom: 10px;
  }
  .cardInfo {
    font-size: 18px;
  }
  .projects .projImg {
    width: 90%;
    height: 300px;
    border-width: 3px;
  }
  .skillList {
    font-size: 14px;
    height: 20px;
  }
  .projects .projText i {
    font-size: 25px;
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  .projects {
    height: 2500px;
  }
  .projects .projectCard {
    flex-direction: column;
  }
}
/* Base layout */
.about {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: "Montserrat";
}

.about .aboutContain {
  display: flex;
  align-items: center;
  width: 90%;
  height: 350px;
  margin-bottom: 75px;
}

.about .aboutText {
  width: 65%;
  margin-left: 5%;
}

.about .aboutText i {
  color: rgb(179, 30, 30);
  font-size: 27px;
  margin-right: 20px;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.about .aboutText i:hover {
  color: white;
  transform: scale(1.1);
}

.about .aboutText .accountLinks {
  display: flex;
  justify-content: flex-start;
}

.about .aboutImg {
  height: 100%;
  width: 400px;
  background-position: center;
  background-size: cover;
  border: 5px solid rgb(179, 30, 30);
  background-image: url(../assets/images/jeremy.jpg);
  transition: transform 0.2s ease-in-out;
}

.about .aboutImg:hover {
  transform: scale(1.05);
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .about .aboutContain {
    flex-direction: column;
    height: auto;
    align-items: center;
  }
  .about .aboutText {
    width: 90%;
    margin: 30px 0;
    margin-left: 0;
    text-align: center;
  }
  .about .aboutImg {
    width: 90%;
    height: auto;
    aspect-ratio: 4/3;
  }
  .about .aboutText .accountLinks {
    margin-top: 15px;
    justify-content: center;
  }
}
.contact {
  min-height: 900px;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: "Montserrat";
}

.formContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact .formContainer form {
  width: 70%;
}

.formContainer form label {
  color: rgb(108, 108, 108);
  font-size: 20px;
  font-family: "Montserrat Bold";
}

.formContainer form input {
  display: block;
  width: 100%;
  height: 50px;
  font-size: 20px;
  padding-left: 10px;
  color: white;
  font-family: "Montserrat";
  margin-bottom: 15px;
  margin-top: 10px;
  border: 3px solid rgb(108, 108, 108);
  transition: border 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0);
}

.formContainer form p {
  margin-bottom: 35px;
  color: red;
}

.formContainer form textarea {
  width: 100%;
  height: 200px;
  font-family: "Montserrat";
  font-size: 20px;
  padding: 10px;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  resize: vertical;
  border: 3px solid rgb(108, 108, 108);
  transition: border 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0);
}

.formContainer form .submitCenter {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

.formContainer form .submit {
  background-color: rgb(179, 30, 30);
  border: none;
  height: 40px;
  font-family: "Montserrat Bold";
  border-radius: 50px;
  color: white;
  width: 50%;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.formContainer form input:hover {
  border: 3px solid rgb(179, 30, 30);
  cursor: pointer;
}

.formContainer form textarea:hover {
  border: 3px solid rgb(179, 30, 30);
  cursor: pointer;
}

.formContainer form .submit:hover {
  background-color: white;
  color: rgb(179, 30, 30);
  border-color: rgb(179, 30, 30);
  transform: scale(1.1);
  cursor: pointer;
}

.formContainer form input:focus {
  background-color: white;
  color: black;
  border: 3px solid rgb(179, 30, 30);
}

.formContainer form textarea:focus {
  color: black;
  background-color: white;
  border: 3px solid rgb(179, 30, 30);
}

/*# sourceMappingURL=styles.css.map */
