@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --roboto: "Roboto", system-ui;
  --orange: #ed8800;
  --gray: #808080;
}

body {
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.add-project {
  display: block;

  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #ffffff;
  font-size: 30px;
  -webkit-transition: all ease-out 1s;
  transition: all ease-out 1s;
}

.add-project:hover {
  background: rgba(237, 134, 0, 0.7);
}

.back-image {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 0px;
  left: 0px;
  z-index: 1;
  -webkit-transition: all ease-out 3s;
  transition: all ease-out 3s;
}

.project-box:hover .back-image {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.two-row {
  height: calc(100% - 0.25rem);
  position: relative;
  overflow: hidden;
}

.image-grow {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: all ease-out 3s;
  transition: all ease-out 3s;
}

.image-grow:hover {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.project-intro {
  position: relative;
  z-index: 10;
  height: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  width: 100%;
  background: rgb(0, 0, 0);
  background: rgb(0, 0, 0);
  background: -webkit-gradient(linear,
      left bottom, left top,
      from(rgba(0, 0, 0, 0.9)),
      color-stop(50%, rgba(0, 0, 0, 0.2)),
      to(rgba(0, 0, 0, 0)));
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0) 100%);
}

.project-intro-detail {
  position: relative;
  z-index: 10;
  height: 30%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  width: 100%;
}

.bg-dark-gray {
  background-color: #1b1c1d;
}

.txt-gray {
  color: #808080 !important;
}

.txt-orange {
  color: var(--orange) !important;
}

.txt-general {
  color: #ffffff;
  font-family: var(--roboto);
  font-weight: 400;
  font-size: 16px;
  white-space: pre-line;
}

.txt-general-sm {
  color: #ffffff;
  font-family: var(--roboto);
  font-weight: 400;
  font-size: 15px;
  line-height: 16px;
  white-space: pre-line;
}

.tittle {
  color: #ffffff;
  font-family: var(--roboto);
  font-weight: 400;
  font-size: 26px;
  line-height: 26px;
}

.photo-credit {
  position: absolute;
  bottom: 10px;
  right: 3px;
  z-index: 5;
  color: #ffffff;
  font-size: 11px;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  text-shadow: 1px 1px 2px rgba(27, 28, 29, 0.7);
  display: block;
  background-color: #0000008c;
  padding: 10px 2px 10px 2px;
}

.photo-credit a {
  text-decoration: none;
  color: #ffffff;
}

.photo-credit a:hover {
  color: var(--orange);
}

.project-link {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--roboto);
  font-weight: 400;
  font-size: 13px;
}

.resp-img {
  width: 100%;
  height: auto;
}

.scale-img {
  width: 100%;
  height: auto;
  -webkit-transition: all ease-out 3s;
  transition: all ease-out 3s;
}

.scale-img:hover {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.parralax {}

/* Underline From Left */
.hvr-underline-from-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}

.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #ed8800;
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-underline-from-left:hover:before,
.hvr-underline-from-left:focus:before,
.hvr-underline-from-left:active:before {
  right: 0;
}

footer {
  position: relative;
  background-color: #ffffff;

}

header {
  position: relative;
}

footer::before {
  content: "";
  width: 100%;
  position: absolute;
  background: black;
  height: 40%;
  top: 0px;
  left: 0px;
  z-index: 10;
}

.social-box {
  border-left: 1px solid var(--orange);
  padding-left: 10px;
}

.social-box a {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
  color: #ffffff;
  font-size: 21px;
}

.main-menu {
  width: 100%;
  top: 0px;
  left: 0px;
  background: -webkit-gradient(linear,
      left top, left bottom,
      from(rgba(0, 0, 0, 0.5)),
      color-stop(85%, rgba(0, 0, 0, 0)));
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 85%);
  position: absolute;
  z-index: 100;
}

.footer-logo {
  max-width: 220px;
  width: 70%;
}

.footer-content {
  padding-top: 5%;
  padding-bottom: 15%;
  position: relative;
  z-index: 100;
}

.menu-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.menu-header a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  color: #ffffff;
  font-family: var(--roboto);
  text-decoration: none;
  -webkit-transition: all ease-out 0.5s;
  transition: all ease-out 0.5s;
  margin-left: 60px;
  padding-bottom: 3px;
  font-size: 15px;
}

.menu-header a:hover {
  color: var(--gray);
}

.squared {
  padding-top: 80%;
}

.rectangle {
  padding-top: 140%;
  height: 100%;
}

.video-login {
  height: 100vh;
  background-color: #0000004f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.login-logo {
  max-width: 300px;
  -webkit-transition: all ease-out 0.7s;
  transition: all ease-out 0.7s;
}

.login-logo:hover {
  cursor: pointer;
  max-width: 300px;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.5));
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.5));
}

.edit-control {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  z-index: 50;
}

.btn-edit {
  border: none;
  background-color: var(--orange);
  color: #000000;
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 19px;
  border-radius: 4px;
  margin-bottom: 10px;
  -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  -webkit-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
}

.btn-yellow {
  background-color: #fff900;
}

.btn-edit:hover {
  -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
  background-color: #864f06;
  color: #ffffff;
}

.logout-button {
  display: inline-block;
  background-color: var(--orange);
  color: #000000;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  text-decoration: none;
  font-weight: 600;
  -webkit-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
  cursor: pointer;
}

.logout-button:hover {
  background-color: #955604;
  color: #ffffff;
}
.studio-button{
   background-color: #4e4d4d;
   color: #ffffff;
}

.studio-button:hover{
  background-color: var(--gray);
}

.header-project {
  position: relative;
  padding-top: 50%;
}

.header-pic {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  top: 0px;
  left: 0px;
  z-index: 3;
}

.btn-module {
  display: inline-block;
  width: 92px;
  height: 92px;
  background-color: var(--orange);
  border-radius: 10px;
  -webkit-transition: all ease-out 0.3s;
  transition: all ease-out 0.3s;
  margin: 10px;
  vertical-align: middle;
  font-size: 30px;
  color: #000000;
  text-decoration: none;
}

.btn-module:hover {
  background-color: #93570a;
}

.btn-module-content {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.select-module {
  -webkit-transition: all ease-out 0.7s;
  transition: all ease-out 0.7s;
  position: relative;
}

.select-module:hover {
  background-color: var(--orange) !important;
}

.select-module:hover .btn-delete-module {
  opacity: 1;
}

.btn-module-box {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 15;
}

.btn-delete-module {
  opacity: 0;
  margin-left: 10px;
}

.btn-upload {
  position: absolute;
  bottom: 60px;
  right: 25px;
  z-index: 15;
}

.btn-credits {
  position: absolute;
  bottom: 10px;
  right: 25px;
  z-index: 15;
}

.lang-button {
  position: absolute;
  top: 0px;
  right: 35px;
  z-index: 30;
  display: block;
  font-family: var(--roboto);
  text-decoration: none;
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #000000;
  padding-left: 15px;
  padding-right: 15px;
  z-index: 200;
}

.img-header {
  width: 100%;
}

.project-pic {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;


}

.project-column {
  padding-right: .25rem !important;
  padding-left: .25rem !important;

}

.bg-black {
  background-color: #000000;
}

.content-porfolio {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.content-porfolio:hover .back-image {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.resp-menu {
  position: fixed;
  top: 0px;
  left: 0px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;

  background-color: rgb(0, 0, 0);
  z-index: 100;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  height: 0px;
  overflow: hidden;
}

.open {
  height: 100%;
}

.resp-menu a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--roboto);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
}


.resp-button {
  position: fixed;
  right: 50px;
  top: 40px;
  background-color: #000000;
  display: block;
  z-index: 100;
  color: #ffffff;
  border: 1px solid #3d3d3d;
  width: 55px;
  height: 55px;
  -webkit-box-shadow: 2px 5px rgba(0, 0, 0, 0.192);
  box-shadow: 3px 5px rgba(0, 0, 0, 0.192);
  font-size: 22px;
}

.resp-button-close {
  position: fixed;
  right: 50px;
  top: 40px;
  background-color: #000000;
  display: block;
  z-index: 200;
  color: #ffffff;
  border: 1px solid #3d3d3d;
  width: 55px;
  height: 55px;
  -webkit-box-shadow: 2px 5px rgba(0, 0, 0, 0.192);
  box-shadow: 3px 5px rgba(0, 0, 0, 0.192);
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}

.resp-button:hover,
.resp-button-close:hover {
  background-color: var(--orange);
  -webkit-box-shadow: 0px 0px rgba(0, 0, 0, 0.0);
  box-shadow: 0px 0px rgba(0, 0, 0, 0.0);
}

.login-button{
  position: absolute;
  right: 50px;
  bottom: 30px;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
}

.contact-box{
  padding-top: 100px;
}

/* --- HOME GRID --- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 300px;
  gap: 10px;
  grid-auto-flow: dense;
  padding: 0px 10px 0px 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.gallery-item {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Pattern 1: 1–2 (tall left, two stacked right) --- */
.gallery-item:nth-child(6n-5) {
  grid-column: 1;
  grid-row: span 2;
}

.gallery-item:nth-child(6n-4),
.gallery-item:nth-child(6n-3) {
  grid-column: 2;
  grid-row: span 1;
}

/* --- Pattern 2: 2–1 (two stacked left, tall right) --- */
.gallery-item:nth-child(6n-2),
.gallery-item:nth-child(6n-1) {
  grid-column: 1;
  grid-row: span 1;
}

.gallery-item:nth-child(6n) {
  grid-column: 2;
  grid-row: span 2;
}

/* --- Responsive: single column on mobile --- */
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
    grid-auto-flow: row;
    gap: 10px;
  }

  .gallery .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 360px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}