@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --light-theme: #e5e5e5;
  --dark-theme: #0d0d0d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

html {
  scrollbar-width: none
}

body {
  background-color: var(--dark-theme);
  transition: background-color 0.5s ease;
}

body::-webkit-scrollbar {
  display: none;
}

.navbar {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 45px 80px;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.navbar .logo a {
  font-family: "Courier New";
  font-size: 15px;
  color: #8c8c8c;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  transition: color 0.3s;
}

.navbar .menu a {
  font-family: "Courier New";
  font-size: 15px;
  color: #8c8c8c;
  font-weight: 600;
  text-decoration: none;
  margin-left: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.navbar .menu a:hover {
  color: #ffffff;
}

.dark-theme .navbar .menu a:hover {
  color: var(--dark-theme);
}

.full-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  overflow-x: hidden;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 950px;
  cursor: pointer;
}

img {
  object-fit: contain;
  width: 100%; 
  height: 100%; 
  transition: filter 0.3s ease;
  pointer-events: none;
}

.container:hover p {
  transform: translateX(15px);
}

.container:hover img {
  filter: brightness(0.85);
}

.overlay {
  position: absolute;
  color: white;
  text-align: center;
  z-index: 2;
}

.overlay h1 {
  font-family: "Playfair Display", serif;
  font-size: 72px;
  font-weight: normal;
  letter-spacing: 2.5px;
  color: white;
  text-transform: uppercase;
}

.overlay p {
  font-family: 'Roboto';
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

h1 {
  margin-bottom: 15px;
}

.scroll-down {
  position: absolute;
  top: 86%;
  left: 50%;
  transform: translate(-50%);
  font-family: "Courier New";
  color: #8c8c8c;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
}

.buttondarkmode {
  position: fixed;
  right: 0vh;
  bottom: 3vh;
  margin: 0 80px;
  pointer-events: auto;
  border-radius: 30px;
  width: 18px;
  height: 18px;
  border: none;
  background-color: var(--light-theme);
  transition: background-color 0.5s ease 0s, transform 0.3s ease;
}

.buttondarkmode:hover {
  transform: scale(1.15);
}

.dark-theme .buttondarkmode {
  background-color: var(--dark-theme);
}

.dark-theme {
  background-color: var(--light-theme);
  transition: background-color 0.5s ease 0s;
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  opacity: 1;
  background: rgb(36, 36, 36);
  transition: background-color 0.5s ease 0s;
}

.dark-theme .scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  opacity: 1;
  background: #cfcfcf;
}

.scroll-progress .scroll-bar {
  background: var(--light-theme);
  width: 2px;
  transition: background-color 0.5s ease 0s;
}

.dark-theme .scroll-progress .scroll-bar {
  background: var(--dark-theme);
  width: 2px;
}

/* PRE LOADER  */

.loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--dark-theme);
  z-index: 9999;
}

.loadingText {
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier New';
  font-size: clamp(32px, 15vw, 108px);
  color: #cfcfcf;
  animation: fadeIn 2s;
}

.fadeOut {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

/* ANIM LOADER */

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* MAX WIDTH RESPONSIVE */

@media screen and (max-width: 768px) {
  .navbar {
    padding: 45px 10px;
  }
}

@media screen and (max-width: 720px) {
  .buttondarkmode {
    position: fixed;
    right: 0vh;
    bottom: 2vh;
    margin: 0 30px;
    pointer-events: auto;
    border-radius: 30px;
    width: 18px;
    height: 18px;
    border: none;
    background-color: var(--light-theme);
    transition: background-color 0.5s ease 0s, transform 0.3s ease;
  }
}

@media screen and (max-width: 480px) {
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 950px;
    height: 390px;
    cursor: pointer;
  }
  
  .overlay h1 {
    font-family: "Playfair Display", serif;
    font-size: 12vw;
    font-weight: normal;
    letter-spacing: 2.5px;
    color: white;
    text-transform: uppercase;
  }

  .overlay p {
    font-family: 'Roboto';
    font-size: 2.4vw;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
  }

  .scroll-progress, .scroll-bar {
    display: none;
  }

  .scroll-progress, .scroll-bar {
    display: none;
  }
}

/* MAX HEIGHT RESPONSIVE */

@media screen and (max-height: 800px) {
  .container {
    width: auto;
    height: 420px;
  }

  .navbar {
    padding: 25px 80px;
  }
}

@media screen and (max-height: 685px) {
  .scroll-down {
    top: 88%;
  }
}

/* MAX HEIGHT + MAW WIDTH RESPONSIVE */

@media screen and (max-height: 800px) and (max-width: 750px) {
  .container {
    width: 615px;
    height: auto;
  }
}

@media screen and (max-height: 800px) and (max-width: 670px) {
  .navbar {
    padding: 25px 10px;
  }
}