
/*GENERAL STYLING*/

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

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;  
  font-style: normal;
}




/*THIS IS ALl NAVIGATION MENU CODING */


.navbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}


#menu-toggle {
  display: none;
}


.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 2000; 
  position: relative; 
}


.menu {
  list-style: none;
  position: fixed;
  top: 0;
  right: -250px; 
  height: 100vh;
  width: 250px;
  background: rgba(0, 0, 0, 0.95);
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.3s ease;
  z-index: 1500; 
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(0, 0, 0);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.menu li a:hover {
  color: #433843;
}

#menu-toggle:checked ~ .menu {
  right: 0;
}


#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}



body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  color: #000000;
}


h1 {
  font-size: 2rem;
  text-align: center;
  margin-top: 120px; 
  margin-bottom: 40px;
}


.frame-wrapper {
  position: relative;
  width: 80%;               
  max-width: 1000px;       
  margin: 100px auto;      
}


.tile-frame {
  width: 100%;
  height: auto;
  display: block;
}


.writing-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;              
  max-width: 600px;        
  text-align: center;
  background: transparent; 
  padding: 20px;
  font-family: "Inter", sans-serif;
}


.writing-list {
  list-style: none;
  padding: 0;
}

.writing-list li {
  margin-bottom: 20px;
}

.writing-list a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  transition: color 0.2s ease;
}

.writing-list a:hover {
  color: #d8ae45;
}

@media (max-width: 600px) {
  .frame-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .writing-container {
    position: static;   
    transform: none;
    width: 90%;
    margin-top: -20px;  
  }
}
