@font-face {
    font-family: 'WhyMin';
    src: url('fonts/WhyMin.ttf') format('truetype');
  }

* {
	box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
    --bg-color: #F4D8F5;
    --img-div: #E195E6;
    --img-div-shadow: #000;
    --border-color: #f2efe0;
    --text-color: #ffffff;
    --x-icon: #000;
    --ig-icon: #E14A6C;
    --in-icon: #0077B5;
    --mail-icon: #ffffff;
    --sidebar-color: #E195E6;
    --sidebar-text-color: #ffffff;
    --read-more-text-color: #420047;
    --footer-sign: #525f7f;
}

.darkmode {
    --bg-color: #150017;
    --img-div: #420047;
    --border-color: #320035;
    --text-color: #ffffff;
    --x-icon: #ffffff;
    --ig-icon: #E14A6C;
    --in-icon: #0077B5;
    --mail-icon: #ffffff;
    --sidebar-color: #420047;
    --sidebar-text-color: #ffffff;
    --read-more-text-color: #E195E6;
    --footer-sign: #525f7f;   
}

body {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 90%;
  background: var(--bg-color);
	line-height: 1.2;
	margin: 1em;
  color: var(--text-color);
  margin-right: 50px;
}







/*Home STARTS*/

.home {
  max-height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* Add this line to center the content */
  background: var(--bg-color);
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Add this line to make the background image full screen */
  margin-right: 50px;
}

.home .content{
  max-width: 60rem;
} 

.name{
  margin: 0;
  font-size: 8rem;
  font-weight: lighter;
  font-family: 'WhyMin', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
} 

.info{
  font-size: 4rem;
  font-weight: lighter;
  font-family: 'WhyMin', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  line-height: 1.8;
  padding: 1rem 0;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
} 

.btn69 {
  font-family: 'WhyMin', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  text-decoration: none;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--read-more-text-color) !important;
}

.btn69:hover {
  color: #e4bae7 !important;
}

/*Home ENDS*/







/* Gallery STARTS */

.gal-sec {
    display: flex;
    align-items: center;
    justify-content: center; /* Add this line to center .gal-sec */
    flex-wrap: wrap; /* Add this line to allow items to wrap onto multiple lines */
    font-size: 3rem;
    color: var(--read-more-text-color);
    margin-right: 50px;
  }

#gallery {
  scroll-margin-top: 3rem;
}

img {
    width: 100%;
    border-radius: 1px;
    border: var(--border-color);
    border-style: solid;
    border-width: 0.5em;
    cursor: zoom-in;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    }
    
    img:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

article {
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: var(--img-div);
}
a:link,
a:visited {
  color: black;
}
h1 {
    margin-top: 0;
    margin-left: 0.75rem;
}
main {
	columns: 250px;
	column-gap: 20px; 
    margin-right: 50px;
}
article {
	break-inside: avoid-column;
	margin-bottom: 1rem; 
}
/* Gallery ENDS */









/* Sidebar STARTS*/
.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--sidebar-color);
    color: var(--sidebar-text-color);
    font-family:'WhyMin', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    -webkit-box-shadow: 10px 10px 20px 0px rgba(115,86,115,1);
  }
  
  .vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--sidebar-text-color) !important;
  }

  #home {
    color: white;
  }
  
  .icon-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    color: beige;
  }

  .fa-envelope, .fa-linkedin-in, .fa-instagram, .fa-x-twitter {
    text-decoration: none;
  }

  .icon-links::before {
    color: #fff;
  }

  .icon-links:hover {
    color: black;
  }

/* Sidebar DONE */










/*THEME SWITCH*/
#theme-switch {
    height: 24px;
    width: 24px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background-color: var(--base-variant);
    cursor: pointer;
    filter: drop-shadow(0px 1px 3px var(--base-variant));
}

#theme-switch svg {
    fill: var(--sidebar-text-color);
    width: 24px;
    height: 24px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#theme-switch svg:first-child {
    display: none;
}

.darkmode #theme-switch svg:first-child {
    display: block;
}

.darkmode #theme-switch svg:last-child {
    display: none;
}
#theme-switch svg {
    fill: var(--sidebar-text-color);
}
  
  #theme-switch:active {
    /*
      -webkit-box-shadow: inset 0px 0px 5px #c1c1c1;
         -moz-box-shadow: inset 0px 0px 5px #c1c1c1;
              box-shadow: inset 0px 0px 5px #444444;
    */
       outline: none;
  }

/*THEME SWITCH ENDS*/








/*Read More STARTS*/
.section p {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
  margin-top: -1em;
}

.section p.expanded {
  max-height: none;
  margin-top: 0;
}

.read-more-btn {
  border-radius: 5px;
  border: none;
  background-color: transparent;
  color: var(--read-more-text-color);
  padding: 0;
  cursor: pointer;
}
/*Read More ENDS*/









/*Footer STARTS*/
footer {
  background-color: var(--footer-color);
  padding: 10px;
  text-align: center;
  margin-right: 50px;
}

.cv {
  color: var(--footer-sign)!important;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5em;
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.social-media {
  padding: 10px;
  text-align: center;
  word-spacing: 5px;
}

.hrfoot {
  border-color:var(--read-more-text-color);
  size: 1.2em;
  margin-right: 180px;
}

.vio-and {
  color: var(--footer-sign);
    font-size: .8em;
    line-height: 1.5em;
    font-family: Camphor, Open Sans, Segoe UI, sans-serif;
    text-align: center;
}

.audio-play {
 /* display: none; */
 
}

a.lobito {
  text-decoration: none;
  color: var(--footer-sign);
}

.san-and {
  color: var(--footer-sign);
  font-size: .8em;
  line-height: 1.5em;
  font-family: Camphor, Open Sans, Segoe UI, sans-serif;
  text-align: center;
}

/*Footer ENDS*/












  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .sidebar {
      width: 60px;
    }
    main {
      margin-right: 30px;
    }
    .home {
      margin-right: 30px;
    }
    .name {
      font-size: 6rem;
    }
    .info {
      font-size: 2rem;
    }
    .btn69 {
      font-size: 1.2rem;
    }
    .gal-sec {
      margin-right: 30px;
    }
    .hrfoot {
      margin-right: 30px;
    }
    footer {
      margin-right: 30px;
    }
  }
  

  @media (max-width: 480px) {
    .sidebar {
        width: 50px;
    }
    main {
      margin-right: 20px;
    }
    .home {
      margin-right: 20px;
    }
    .name {
      font-size: 4rem;
    }
    .info {
      font-size: 2rem;
    }
    .btn69 {
      font-size: 1.2rem;
    }
    .gal-sec {
      margin-right: 20px;
    }
    footer {
      margin-right: 20px;
    }
  }