* {
  box-sizing: border-box;
}

/* Scroll Bar */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: black;
}
::-webkit-scrollbar-thumb {
  background: rgb(117, 117, 117);
}
html {
  scroll-behavior: smooth;
}

body {
    font-family: "Inter", serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: rgb(255, 255, 255);
    background-image: url(images/noise4.png);
    color:black;
    padding:0;
    margin:0;
}

body.dark-mode {
    background-image: url(images/noise2.png);
    background-color: #111;
    color: white;
}

.logo {
    margin-top: 10px;
    margin-left: 10px;
    position: fixed;
    top: 0;
    z-index: 1;
}

.logo img {
    width: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logobottom{
  display: none;
  margin:0;
  padding:0;
}

img:hover {
    background-color: white;
}

.wrap {
    font-family: "Inter", serif;
    font-size: 7rem;
    font-style: normal;
    text-decoration: none;
    color:white;
  }

.typewrite {
  position: absolute; /* Use absolute positioning */
  top: 50%; /* Place the top of the element at 50% of the window height */
  left: 50%; /* Place the left of the element at 50% of the window width */
  transform: translate(-50%, -50%); /* Adjust it by -50% of its own size to perfectly center */
  text-align: center; /* Horizontally center the text */
  color: white; /* Text color */
  font-size: 3rem; /* Adjust text size as needed */
  z-index: 1; /* Ensure text appears above video */
}

.center {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -5;
  margin-bottom: 20px;
}

.center video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#video-container {
  background-color: #000;
  position:relative;
  display: none;
  height: 100vh;
  width:100%;
}

video {
  object-fit: cover;
}

#video-container {
  display: block;
  position: relative;
  width:100%;
}

body.dark-mode {
    color: black;
}

h2 {
    text-align: center;
    font-weight: 900;
    font-size: 5rem;
    font-style: italic;
    margin-bottom: 0px;
}

.bento {
  margin: 0;
  padding: 0;
}

 /* Bento grid */
.bento-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 100px;
    gap: 10px;
    height: 100%;
    padding: 50px 100px 50px 100px;
    margin-bottom: 0px;
  }
  
  .bento-item {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(162, 162, 162, 0.3);
    display: flex;
    flex-direction: column;
    padding: 60px;
    font-size: 1rem;
    color: black;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .bento-item:hover {
    transform: translateY(-2px);
    background: rgba(221, 221, 221, 0.4);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
  }
  
  .item-1 {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .item-2 {
    grid-column: span 2;
    grid-row: span 3;
  }
  
  .item-3 {
    grid-column: span 2;
    grid-row: span 3;
  }
  
  .item-4 {
    grid-column: span 1;
    grid-row: span 2;
  }
  
  .item-5 {
    grid-column: span 1;
    grid-row: span 2;
    padding-right: 0px;
  }
  
  .item-6 {
    grid-column: span 1;
    grid-row: span 3;
  }

  .item-7 {
    grid-column: span 2;
    grid-row: span 3;
  }

  .item-8 {
    grid-column: span 1;
    grid-row: span 3;
  }
  
/* Bento Dark Mode */
body.dark-mode .bento-item {
    background-color: rgba(20, 20, 20, 0.5);
    color: white;
    border: 2px solid rgba(157, 157, 157, 0.2);
  }
  
  body.dark-mode .bento-item:hover {
    background: #444;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); 
  }

  body.dark-mode .content {
    color:white;
  }
  
  .bento-item h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    text-align: left;
    font-family: "Funnel Display", serif;
  }
  
  span {
    font-family: "Funnel Display", serif;
    font-size: 1rem;
  }

  .grey {
    color: gray; 
    opacity: 1;
  }

  .content {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    color: black;
    font-weight: 400;
    text-align: left;
    font-style: normal;
    font-family: "Funnel Display", serif;
  }

  .jun {
    vertical-align: middle;
    height: 1.1rem;
  }

  .scroll-down {
    opacity: 1;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
  }
  
  .scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -16px;
    display: block;
    width: 32px;
    height: 32px;
    background-size: 14px auto;
    border-radius: 50%;
    z-index: 5;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
  }
  
  .scroll-down:before {
      position: absolute;
      top: calc(50% - 7px);
      left: calc(50% - 7px);
      transform: rotate(-45deg);
      display: block;
      width: 13px;
      height: 13px;
      content: "";
      border: 2px solid rgb(117, 117, 117);
      border-width: 0px 0 2px 2px;
  }

@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
  }
}

.btn {
  font-family: "Funnel Display", serif;
  font-size: 1rem;
  background-color: rgba(33, 33, 33, 0.5);
  color:white;
  border: 2px solid rgba(157, 157, 157, 0.2);
  border-radius: 12px;
  padding: 20px;
  cursor:pointer;
  transition: background-color 0.3s ease, padding 0.3s ease;
  display: inline-block;
}

.inline-mail {
  display: flex;
  align-items: center;
  gap: 10px;
}

#emailInput {
  font-size: 1rem;
  padding: 1rem;
  border: 2px solid rgba(157, 157, 157, 0.2);
  border-radius: 8px;
  width: 250px;
  background-color: #f5f5f5;
  color: #333;
  cursor: not-allowed;
  font-family: "Funnel Display", serif;
}

/* Button style */
.copy-btn {
  position: relative;
  width: 50px;
  height: 55px;
  background-color: rgba(33, 33, 33, 0.5);
  border-radius: 8px;
  border: 2px solid rgba(157, 157, 157, 0.2);
  cursor: pointer;
  padding: 0;
  color:white;
}
.copy-btn i {
  font-size: 1.2rem;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.copy-btn i.fa-check {
  opacity: 0;
}
.copy-btn.copied i.fa-copy {
  opacity: 0;
}
.copy-btn.copied i.fa-check {
  opacity: 1;
}
.copy-btn {
  transition: background-color 0.6s ease;
}
.copy-btn.copied {
  background-color: rgba(0, 0, 0, 1);
}

.btn {
  font-family: "Funnel Display", serif;
  font-size: 1rem;
  background-color: rgba(33, 33, 33, 0.5);
  color:white;
  border: 2px solid rgba(157, 157, 157, 0.2);
  border-radius: 12px;
  padding: 20px;
  cursor:pointer;
  transition: background-color 0.3s ease, padding 0.3s ease;
  display: inline;
  width:10.625rem;
  position:relative;
  margin-right:10px;
}

p {
  font-family: "Funnel Display", serif;
  font-size: 1rem;
}

@media (max-width:1025px) {
  .bento-grid {
    padding: 100px 10px 100px 10px;
    height:100%;
  }

}

@media (max-width: 1152px) {
  .jun {
  }
}


@media (max-width: 1366px) { /* <- iPad Pro */
  .bento-grid {
      padding: 70px 10px 70px 10px;
      height: 100%;
  }

  .bento-item {
    padding:40px;
  }

  .logo img {
    width: 40px;
  }

  .logo {
    margin-left: 18px;
    margin-top: 18px;
  }

  .grey {
    display: block;
  }

  .jun {
    height: 0.9rem;
  }
}

@media (max-width: 1474px) {
  .btn {
    margin-right: 0px;
    width:100px;
    padding:10px;
  }
}

@media (max-width: 1510px) {
  .bento-grid {
    padding:15px 80px 20px 80px;
    gap:7px;
  }


  }
}

