/* Loader styles */
#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #121E27; /* Background color of the loader */
  z-index: 9999; /* Ensure it covers all content */
  display: flex;
  justify-content: center;
  align-items: center;
}
#loader .loader-spinner {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #D62027; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.4s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#cover {
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #121E27;
}
#cover nav {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  margin: 0 auto;
}
#cover nav .logo {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-family: Qsand_B;
}
#cover nav .logo a {
  text-decoration: none;
  font-size: 24px;
  color: #D62027;
  transition: color 0.5s ease-in-out;
}
#cover nav .logo a:hover {
  color: #f1f1f1;
}
#cover nav .openMenu {
  font-size: 2rem;
  display: none;
  color: #fdfdfc;
  cursor: pointer;
}
#cover nav .links {
  margin-right: 20px;
  display: flex;
}
#cover nav .links .closeMenu {
  font-size: 2rem;
  color: #fdfdfc;
  display: none;
  cursor: pointer;
}
#cover nav .links a {
  position: relative;
  margin: 25px;
  font-size: 18px;
  text-decoration: none;
  font-family: Qsand_R;
  color: #fdfdfc;
}
#cover nav .links a:after {
  content: "";
  position: absolute;
  background-color: #D62027;
  height: 3px;
  width: 0;
  left: 0;
  bottom: -10px;
  transition: 0.3s;
}
#cover nav .links a:hover:after {
  width: 100%;
}
#cover .container {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  align-content: center;
  min-height: 85vh;
}
#cover .container .info {
  padding: clamp(1rem, 7vw, 200px);
  font-size: 48px;
  color: #fdfdfc;
  font-family: Qsand_M;
  padding-left: 75px;
}
#cover .container .info h2 {
  font-size: 95px;
  letter-spacing: 6px;
  word-spacing: 10px;
}
#cover .container .info .typing_title {
  display: inline-block;
  letter-spacing: 3px;
  border-right: 5px solid;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 2s steps(12, end), cursor 0.5s step-end infinite alternate;
}
#cover .container .info .typing_title span {
  color: #D62027;
}
@keyframes cursor {
  50% {
    border-color: transparent;
  }
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 15ch;
  }
}
#cover .container .info .socials {
  display: flex;
  justify-content: space-between;
  width: 15%;
}
#cover .container .info .socials i {
  font-size: 32px;
  color: #fdfdfc;
  transition: color 0.5s ease-in-out;
}
#cover .container .info .socials i:hover {
  color: #D62027;
}
#cover .container .info .socials a {
  text-decoration: none;
}
#cover .container .image_bg {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  border-radius: 50%;
  height: 450px;
  margin-top: 50px;
  width: 425px;
  overflow: hidden;
}
#cover .container .image_bg img {
  width: 100%;
  height: 100%;
  transform: scale(1.5); /* Zoom in by scaling the image */
  object-fit: cover; /* Ensure the image covers the container */
}
@keyframes colorChange {
  0% {
    color: #D62027;
  }
  100% {
    color: #f1f1f1;
  }
}
@keyframes scaleIcon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
#cover .scroll_button {
  display: grid;
  place-items: center;
  margin-top: -75px;
}
#cover .scroll_button i {
  color: #f1f1f1;
  font-size: 24px;
  cursor: pointer;
  animation: scale(1.1);
  animation: colorChange 3s infinite, scaleIcon 3s infinite;
}

@media only screen and (max-width: 900px) {
  #cover .container {
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    min-height: 90vh;
  }
  #cover .container .info .socials i {
    margin-right: 20px;
  }
  #cover .container .image_bg {
    display: none;
  }
}
@media only screen and (max-width: 500px) {
  #cover .container {
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    min-height: 90vh;
  }
  #cover .container .info {
    font-size: 24px;
    padding: 10px;
  }
  #cover .container .info .socials i {
    margin-right: 20px;
  }
  #cover .container .info .typing_title {
    font-size: 21px;
  }
}
@media only screen and (max-width: 768px) {
  nav .links {
    display: none;
    position: absolute;
    top: -100vh;
    left: 0;
    right: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 1s ease;
    background-color: #121E27;
    text-align: center;
    z-index: 1000;
  }
  nav .links.active {
    display: flex;
    top: 0;
  }
  nav .links a:hover {
    text-decoration: underline;
  }
  #cover nav .links .closeMenu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  #cover nav .openMenu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
}
#content {
  height: auto;
  text-align: center;
  background-color: #f1f1f1;
  font-family: Qsand_M;
}
#content .header {
  font-family: Qsand_B;
}
#content .header h1 {
  display: inline-block; /* Change display to inline-block */
  margin-top: 50px;
  background: linear-gradient(to bottom, transparent 60%, #D62027 80%);
}
#content .header .filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#content .header .filter-container button {
  width: 125px;
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px 5px;
}
#content .header .filter-container button:focus {
  background-color: #E74C3C;
}
#content .project_container {
  max-width: 1300px;
  display: flex;
  justify-content: start;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: auto;
}
#content .project_container .portfolio_content {
  position: relative;
  max-width: 400px;
  height: 525px;
  margin: 15px;
  background-color: #FDFDFC;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 8px;
  font-family: Qsand_R;
  overflow: hidden;
}
#content .project_container .portfolio_content .coming_soon_overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  position: absolute;
  border-radius: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#content .project_container .portfolio_content .coming_soon_overlay h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
#content .project_container .portfolio_content .coming_soon_overlay p {
  font-size: 16px;
}
#content .project_container .portfolio_content img {
  width: 100%;
  min-height: 250px;
  border-radius: 20px 20px 0 0;
}
#content .project_container .portfolio_content .html_img {
  height: 150px;
}
#content .project_container .portfolio_content .text {
  padding: 20px;
  font-size: 14px;
  line-height: 20px;
}
#content .project_container .portfolio_content .text h3 {
  text-align: start;
  font-size: 18px;
}
#content .project_container .portfolio_content .text .project_desc {
  align-items: center;
  text-align: start;
}
#content .project_container .portfolio_content .text .project_desc p {
  margin-top: 10px;
}
#content .project_container .portfolio_content .text .project_desc button {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 5px;
  background-color: #d3d3d3;
  font-weight: bold;
  font-size: 11px;
  border-radius: 10px;
  border: none;
}
#content .project_container .portfolio_content .text .project_desc button:hover {
  transform: scale(1.1);
  transition: 1s ease;
}
#content .project_container .portfolio_content .text span {
  padding-top: 5px;
  font-size: 10px;
  font-weight: bold;
}
#content .project_container .portfolio_content .text .btnGroup .projectBtn {
  min-width: 100px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 5px;
  margin: 10px;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  background-color: #D62027;
}
#content .project_container .portfolio_content .text .btnGroup .projectBtn:hover {
  color: #fff;
}
#content .project_container .portfolio_content .text .btnGroup .projectBtn:hover:after {
  width: 100%;
}
#content .project_container .portfolio_content .text .btnGroup .projectBtn:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #E74C3C;
}

@media only screen and (max-width: 820px) {
  #content {
    height: auto;
  }
  #content .project_container {
    display: block;
    padding: 0 10px;
  }
  #content .project_container .portfolio_content {
    margin: 20px auto;
  }
  #content .project_container .portfolio_content .text {
    font-size: 12px;
  }
  #content .project_container .portfolio_content .text h3 {
    font-size: 14px;
  }
  #content .project_container .btnGroup button {
    font-size: 10px;
  }
}
@media only screen and (max-width: 580px) {
  #content .header .filter-container button {
    width: 80px;
    font-size: 11px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-overflow-style: none;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

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

@font-face {
  font-family: Qsand_M;
  src: url(../css/fonts/Quicksand-Medium.ttf);
}
@font-face {
  font-family: Qsand_B;
  src: url(../css/fonts/Quicksand-Bold.ttf);
}
@font-face {
  font-family: Qsand_R;
  src: url(../css/fonts/Quicksand-Regular.ttf);
}
@font-face {
  font-family: Qsand_M;
  src: url(../css/fonts/Quicksand-Light.ttf);
}
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  height: 80%;
  font-family: Qsand_R;
  background-color: #f1f1f1;
}
#about .aboutContent {
  color: #121E27;
  max-width: 650px;
}
#about .aboutContent h1 {
  font-family: Qsand_B;
  width: max-content;
  background: linear-gradient(to bottom, transparent 60%, #D62027 80%);
}
#about .aboutContent p {
  max-width: 600px;
  line-height: 35px;
  overflow: auto;
}
#about .aboutContent a i {
  font-size: 24px;
  padding-left: 15px;
  color: #0077b5;
}
#about .aboutContent a i:hover {
  transform: scale(1.1);
  transition: 1s ease;
}
#about img {
  max-height: 450px;
  max-width: 600px;
  border-radius: 20px;
}

@media screen and (max-width: 1000px) {
  #about {
    display: block;
    height: auto;
  }
  #about img {
    display: none;
  }
  #about .aboutContent {
    margin: auto;
    padding: 15px;
  }
}
@media screen and (max-width: 500px) {
  #about {
    display: block;
    height: auto;
  }
  #about img {
    display: none;
  }
  #about .aboutContent {
    width: 370px;
    font-size: 14px;
    padding: 5px 15px;
  }
}
#contact {
  padding: 50px 0;
  background-color: #f1f1f1;
  font-family: Qsand_R;
  text-align: center;
}
#contact .header {
  font-family: Qsand_B;
  color: #121E27;
  padding-bottom: 50px;
}
#contact .header h1 {
  display: inline-block; /* Change display to inline-block */
  margin-top: 50px;
  background: linear-gradient(to bottom, transparent 60%, #D62027 80%);
}
#contact .contact_container {
  display: grid;
  margin: auto;
  grid-template-columns: 0.6fr 1fr;
  max-width: 1300px;
}
#contact .contact_container .contact_text {
  margin: 20px;
  text-align: left;
  max-width: 75%;
}
#contact .contact_container .contact_text h2 {
  font-family: Qsand_B;
}
#contact .contact_container .contact_text .socials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
#contact .contact_container .contact_text .socials i {
  font-size: 48px;
  color: #121E27;
  transition: color 0.5s ease-in-out;
}
#contact .contact_container .contact_text .socials i:hover {
  color: #D62027;
}
#contact .contact_container #contact_form .input-wrapper, #contact .contact_container #contact_form .input-wrapper-two, #contact .contact_container #contact_form .messageDiv {
  display: flex;
  margin: 20px;
  max-width: 90%;
}
#contact .contact_container #contact_form .input-wrapper .emailInput, #contact .contact_container #contact_form .input-wrapper .nameInput, #contact .contact_container #contact_form .input-wrapper-two .emailInput, #contact .contact_container #contact_form .input-wrapper-two .nameInput, #contact .contact_container #contact_form .messageDiv .emailInput, #contact .contact_container #contact_form .messageDiv .nameInput {
  width: 50%;
  border-radius: 8px;
  margin-right: 20px;
  padding: 10px;
  outline: none;
}
#contact .contact_container #contact_form .input-wrapper .subjectInput, #contact .contact_container #contact_form .input-wrapper .messageBox, #contact .contact_container #contact_form .input-wrapper-two .subjectInput, #contact .contact_container #contact_form .input-wrapper-two .messageBox, #contact .contact_container #contact_form .messageDiv .subjectInput, #contact .contact_container #contact_form .messageDiv .messageBox {
  margin-right: 20px;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
  outline: none;
}
#contact .contact_container #contact_form .messageBox {
  height: 150px;
}
#contact .contact_container #contact_form .contactBtn {
  display: flex;
  margin: 20px;
}
#contact .contact_container #contact_form .contactBtn .submitContact {
  height: 40px;
  width: 150px;
  border-radius: 4px;
  color: black;
  cursor: pointer;
  background-color: #D62027;
}
#contact .contact_container #contact_form .contactBtn .submitContact:hover {
  box-shadow: 0px 7px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 400px) {
  .contact_text {
    display: none;
  }
  /* Set input tags to maximum width */
  input {
    min-width: 100%;
    box-sizing: border-box; /* Ensures padding and borders are included in the width */
  }
  .input-wrapper-two input,
  .messageDiv input {
    min-width: 210%;
  }
  /* Ensure proper spacing and layout for form elements on small screens */
  .input-wrapper, .input-wrapper-two, .messageDiv, .contactBtn {
    margin-bottom: 15px;
  }
}
#footer {
  height: 100%;
  background-color: #121E27;
  display: grid;
  grid-template-rows: 2fr 1fr;
  grid-template-columns: repeat(auto-fit, minmax(1fr 1fr)); /* Adjust 100px to your desired link width */
  align-content: space-evenly;
  place-items: center;
  color: #f1f1f1;
}
#footer .footer_links a {
  text-decoration: none;
  margin: 20px;
  color: #f1f1f1;
  transition: color 0.5s ease-in-out;
}
#footer a:hover {
  color: #D62027;
}
@media only screen and (max-width: 440px) {
  #footer #footer {
    font-size: 10px;
    padding: 0;
  }
}

#skills {
  height: 100%;
  background-color: #f1f1f1;
  font-family: Qsand_R;
  text-align: center;
  color: #121E27;
}
#skills h1 {
  display: inline-block; /* Change display to inline-block */
  margin-top: 50px;
  background: linear-gradient(to bottom, transparent 60%, #D62027 80%);
}
#skills h1, #skills p {
  font-family: Qsand_B;
}
#skills .flex-container {
  max-width: 1300px;
  min-height: 550px;
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto;
  padding-top: 100px;
  border-radius: 10%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: 1s ease-in-out;
}
#skills .flex-container .icon-wrapper {
  text-align: center;
  width: 25%;
  padding: 0.5rem;
}
#skills .flex-container .icon-wrapper .icon {
  font-size: 56px;
  color: #121E27;
  transition: 1s ease-in-out;
}
#skills .flex-container .icon-wrapper .icon-label {
  color: #121E27;
  font-size: 10px;
  font-weight: bold;
}
#skills div:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 950px) {
  #skills {
    height: auto;
  }
}

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