@import url("https://fonts.googleapis.com/icon?family=Material+Icons&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=Mohave:ital,wght@0,300..700;1,300..700&family=Moirai+One&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color: #ff5555;
}

.material-icons, .cta-container .cta-button::after {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
}

.moirai-one-regular, .header_site__cession {
  font-family: "Moirai One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.mochiy-pop-one-regular, .modal-project-name, .project-name, .header_site__subtitle, aside {
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.mohave, .project-subname {
  font-family: "Mohave", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300 700;
  font-style: normal;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #090909;
  color: #fff;
  line-height: 1.6;
  display: grid;
  min-height: 100dvh;
}

aside {
  grid-area: 1/1/-1/-1;
  display: grid;
  align-items: center;
  justify-self: center;
  align-self: center;
  font-size: clamp(2rem, 6vh, 4.5rem);
  text-align: center;
  width: clamp(2rem, 9vmin, 7rem);
  height: 100dvh;
  overflow: hidden;
  line-height: 1;
  z-index: 40;
  pointer-events: none;
}

.container {
  grid-area: 1/1/-1/-1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 40rem) {
  .container {
    grid-template-columns: 1fr;
  }
}

@keyframes tilted {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 0.8;
  }
}
@keyframes tilted2 {
  from {
    opacity: 0.8;
    --color: #F63;
  }
  to {
    opacity: 1;
    --color: var(--color);
  }
}
@keyframes rot {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(5deg);
  }
}
.main_site {
  position: relative;
}
.main_site::before {
  position: absolute;
  content: "direct select or ...";
  color: white;
  color: var(--color);
  animation: tilted 0.4s infinite alternate;
  font-size: 0.7rem;
  opacity: 0.7;
  inset: 0.3rem 2.5rem 0 auto;
  z-index: 30;
}

.cta-container {
  grid-area: 1/1/-1/-1;
  z-index: 1;
  align-self: start;
  justify-self: end;
  margin-block-end: 2rem;
}
.cta-container .cta-button {
  display: inline-flex;
  margin: 2rem;
  border: 1px solid #FFF;
  padding: 0.4rem 1.1rem;
  text-transform: lowercase;
  align-items: center;
}
.cta-container .cta-button::after {
  content: "\e86a";
  color: var(--color);
  margin-inline: 0.4rem -0.3rem;
}

/* Header styles */
.header_site {
  text-align: left;
  padding-inline: clamp(2rem, 4vw, 5rem) 0;
  background: url("bg.jpg") center;
  background-size: cover;
  align-content: center;
}
.header_site * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.header_site h1,
.header_site h2 {
  font-weight: normal;
  margin: 0;
}
.header_site__cession {
  color: var(--color);
  font-size: clamp(2rem, 8vw, 8rem);
  margin-bottom: 0.5rem;
}
.header_site__subtitle {
  font-size: clamp(1.5rem, 7vw, 3.8rem);
  color: rgba(255, 255, 255, 0.8666666667);
  display: inline-grid;
  line-height: 0.9;
  margin-block: -1.8rem 0 !important;
}
/*  Main_site  */
.main_site .projects-grid {
  padding-block: 8rem 14rem;
  padding-inline: 4rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-height: 100dvh;
  overflow: auto;
}
.main_site .projects-grid::after {
  content: "";
  position: fixed;
  inset: 0;
  inset-inline-start: 50vw;
  pointer-events: none;
  background: linear-gradient(rgba(9, 9, 9, 0) 90%, #090909);
}
.main_site .projects-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  inset-inline-start: 50vw;
  pointer-events: none;
  background: linear-gradient(#090909, rgba(9, 9, 9, 0) 10%);
  z-index: 10;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 15rem;
  gap: 5rem 1rem;
  padding: 2rem;
}
@media screen and (min-width: 40rem) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.project-card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}
.project-card:nth-child(even) {
  margin-top: 15dvh;
  margin-bottom: -15dvh;
}

.project-card:hover {
  transform: translateY(-18px) scale(1.2);
  z-index: 100;
  box-shadow: 0 0 10px #090909;
}

.project-image-container {
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  align-content: center;
  align-items: center;
  justify-items: center;
}

.project-image {
  grid-area: 1/1/-1/-1;
  width: 27vmin;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.project-subimage {
  grid-area: 1/1/-1/-1;
  display: grid;
  font-size: 10rem;
  line-height: 1;
  color: var(--color);
  align-content: center;
  justify-content: center;
  font-family: "Moirai One", system-ui;
  font-weight: 900 !important;
}

.project-link {
  cursor: pointer;
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: transparent;
  z-index: 10;
  width: 80%;
  padding: 6rem;
  margin-top: -15rem;
  justify-self: center;
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  align-content: center;
  justify-content: center;
  transition: all 0.5s;
  font-family: "Moirai One", system-ui;
}
.project-link:hover {
  font-size: 4rem;
  padding: 3rem;
  line-height: 0.7;
  text-decoration: none;
  color: white;
  background: rgba(9, 9, 9, 0.4666666667);
}
.project-info {
  margin-block: -3rem 4rem;
  text-align: center;
  position: relative;
}

.project-name {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
  margin: 0;
}

.project-subname {
  color: var(--color);
  font-size: 1.4rem;
  font-weight: 100;
  margin: 0;
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: white;
  border-radius: 4px;
  width: 90%;
  max-width: clamp(260px, 50vw, 600px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-content {
  padding: 2rem;
  text-align: center;
}
.modal-content h1, .modal-content h2, .modal-content p {
  margin: 0;
}

.modal-project-image {
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 5px solid #ecf0f1;
  animation: rot 0.5s ease-in-out infinite alternate;
}

.modal-subimage {
  margin-bottom: -20dvh;
  margin-top: 3rem;
}

.modal-project-name {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0rem;
  color: #0E0E0E;
}

.modal-project-link {
  display: block;
  text-align: center;
  color: var(--color);
  text-decoration: none;
  font-weight: 100;
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-family: "Moirai One", system-ui;
  background: var(--color);
  animation: tilted2 0.4s infinite alternate;
  color: white;
  display: inline-grid;
  border-radius: 9rem !important;
  padding: 0rem 3rem 1rem;
}

.modal-project-link:hover {
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 2rem;
}

.modal-button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button:first-child {
  background-color: #ecf0f1;
  color: #2c3e50;
}

.modal-button:first-child:hover {
  background-color: #bdc3c7;
}

.remove-button {
  color: #333;
}

.remove-button:hover {
  background-color: #bdc3c7;
}

/* End message */
.end-message {
  text-align: center;
  padding: 3rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.end-message h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.reset-button {
  background-color: #242424;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 200;
}

.reset-button:hover {
  background-color: #2980b9;
}

/* Utility classes */
.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .modal-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .modal-button {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  .projects-grid {
    border: 6px solid #0F0;
  }
  h1 {
    font-size: 2rem;
  }
}
/* CTA Button */
.cta-container {
  text-align: center;
  z-index: 30;
  position: relative;
}
.cta-container strong {
  color: var(--color);
}

.cta-button {
  background-color: #090909;
  color: white;
  border: 2px solid var(--color);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-grid;
}

.cta-button:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}/*# sourceMappingURL=style.css.map */