* {
    margin: 0;
    padding: 0;
    font-family: cursive;
    background-color:#cce6f0;
    box-sizing: border-box;
}


/*Cursor color trail */
.circle{
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background-color: black;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
}




/* CSS for main content */
#main-content {
    opacity: 0; /* Initially hide the main content */
    transition: opacity 1s ease; /* Smooth opacity transition */
}

/* CSS to reveal main content when preloader is hidden */
#preloader.hidden + #main-content {
    opacity: 1; /* Show main content */
}


body {
    overflow-x: hidden;
 
}

.menu{
    position: relative;
    width: 100%;
    background-color: #c7d0e2;
}

nav {
    display: flex;
    width: 84%;
    margin: auto;
    padding: 20px 0;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    margin-left: -41%;
}
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 0; /* Adjust margin to remove horizontal spacing */
    padding: 6px;
}

nav ul li a {
    text-decoration: none;
    color: #f4eeee; /* Set text color to white */
    font-weight: bold;
    padding: 10px 20px; /* Add padding to create space around text */
    background-color: rgb(131, 212, 255);
    border: 2px solid white;
    border-radius: 5px;
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

nav ul li a:hover {
    background-color: rgb(0, 136, 255); /* Change background color on hover */
}


.start {
    margin-left: 8%;
    margin-top: 15%;
}

.start h1{
    font-size: 50px;
    color: #4d4d4d;
    margin-bottom: 20px;
}

.start span {
    color: rgb(0, 166, 255);
    font-weight: bold;
}

.start p {
    color: #433f3f;
    line-height: 22px;
    font-weight: 500;
    font-size: 1.1rem;
}

.start a {
    background-color: #4d4d4d;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    margin: 30px 0;
    border-radius: 20px;
    border: 2px solid white;
}

.portfolio h1{
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #A1AFDC;
    font-size: 50px;
    
}

.portfolio h2{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 30px;
    margin-top: 10px;
    color: #9AE0D1;
}

.portfolio{
    display: flex;
    margin-top: -50px;
   margin-left: 50px;
}

.image1 {
    position:absolute;
    width: 30%;
    height: 70%;
    bottom: 10%;
    right: 0;
    left: 70rem;
    top: 20%;

}

.image1 img {
    height: 100%;
    left: 50%;
    bottom: 0;
    transform: translateX(-30%);
    transition: bottom 1s, left 1s;
    border-radius: 50%;
    border: 2px solid white;
}


.about{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    margin: 9rem auto auto auto;
    width: fit-content;
    grid-gap: 3rem;
}

.dog-image{
    width:25rem;
    height:25rem;
    grid-column-start: 1;
    grid-column-end: span 1;
    grid-row-start: 1;
    grid-row-end:1;
    align-self: center;
    margin-left: 5rem;
    margin-top: 20px;
    border-radius: 50px;
}

.about-me{
    grid-column-start: 2;
    grid-column-end: span 2;
    grid-row-start: 1;
    grid-row-end:1;
    text-align:center;
    margin-left: 4rem;
}

.about-me p{
    margin-left: 3rem;
    word-spacing: 3px;
    line-height: 28px;
    font-size: 17px;
}

.about-me h2{
     text-align:center;
     margin-bottom: 20px;
}

.section-2{
    display: grid;
    grid-template-areas:
  "title title title title" 
  "para1 para1 image image" 
  "para2 para2 image image" 
  "para3 para3 image image" 
  "para4 para4 image image";
    width: 80rem;
    margin: 5rem auto auto auto;
    height: 16rem;
}

.section-2-title{
    grid-area:title;
    text-align:center;
}
.para1{
    grid-area:para1;
    text-align: center;
}
.para2{
    grid-area:para2;
    text-align: center;
}
.para3{
    grid-area:para3;
    text-align: center;
}
.para4{
    grid-area:para4;
    text-align: center;
}
.image3{
    grid-area: image;
    width: 80%;
    height: 94%;
    margin-top: 2rem;
    justify-self: center;
    margin-left: 5rem;
    margin-bottom: 5rem;
    border-radius: 50px;
}
.para1, .para2, .para3, .para4{
    width: 86%;
    margin-top: 2rem;
    word-spacing: 3px;
    line-height: 28px;
    font-size: 17px;
}

.section-3{
    grid-template-areas: 
    "image image para5 para5 para5"
    "image image para6 para6 para6"
    "image image para7 para7 para7";
    display: grid;
    width: 90rem;
    margin: 38rem auto auto auto;
}

.para5, .para6, .para7{
    width: 86%;
    margin-top: 2rem;
    word-spacing: 3px;
    line-height: 28px;
    font-size: 17px;
}

.para5{
    grid-area: para5;
    text-align: center;
}

.para6{
    grid-area: para6;
    text-align: center;
}

.para7{
    grid-area: para7;
    text-align: center;
}

.image4{
    grid-area: image;
    width: 70%;
    height: 100%;
    justify-self: center;
    margin-right: 15rem;
    margin-left: 10rem;
    border-radius: 50px;
}

.section-4{
    display: grid;
    grid-template-areas:
  "para8 para8 image image" 
  "para9 para9 image image" 
  "para10 para10 image image" ;
    width: 80rem;
    margin: 10rem auto auto auto;
    height: 16rem;
    margin-bottom: 3rem;
}

.para8, .para9, .para10{
    word-spacing: 3px;
    line-height: 28px;
    font-size: 17px;
}

.para8{
    grid-area: para8;
    text-align: center;
    margin-bottom: 30px;
}

.para9{
    grid-area: para9;
    text-align: center;
    margin-bottom: 30px;
}

.para10{
    grid-area: para10;
    text-align: center;
    margin-bottom: 30px;
}

.image5{
    grid-area: image;
    width: 70%;
    height: 100%;
    align-self: center;
    margin-left: 15rem;
    border-radius: 50px;
    margin-right: 10rem;
    margin-bottom: 5rem;
    margin-top: 2rem;
}


/*Contact Page */

#contact-section {
    width: 80%;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    margin-top: 80px;
    margin-left: 14rem;
}

.contact-left-title h2 {
    font-weight: 600;
    color: rgb(0, 166, 255);
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-left-title hr{
    border: none;
    width: 120px;
    height: 5px;
    background-color: rgb(0, 166, 255);
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    background-color: white;
    border-radius: 50px;
}

.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-inputs:focus{
    border: 2px solid red;
}
.contact-inputs::placeholder{
    color: #a9a9a9;
}
.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, #ff994f, #fa6d86);
    cursor: pointer;
}

.contact-right img {
    width: 500px;
    height: 500px;
    margin-left: 50rem;
    position: relative;
    bottom: 450px;
    left: 60px;
}

/*Anime Haven*/

#anime-section {
    text-align: center; /* Center the content horizontally */
    position: relative;
  }



#anime-section h2{
    margin-bottom: 100px;
}

#anime-section p {
    max-height: 100%;
    padding: 0 18px;
    display: none;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    border: 3px solid black;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
    padding-bottom: 10px;
    width: 50%;
    display: inline-block;
    overflow:hidden;
    cursor: pointer;
    transition: height 200ms;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
}

.collapsible{
  width: 50%;
  cursor: pointer;
  padding: 18px;
  border: 3px solid black;
  outline: none;
  font-size: 15px;
  justify-content: center;
  align-items: center;
  display: inline;
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  text-align: center; /* Center the text */
  text-decoration: none; /* Remove underline */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: max-height 0.5s ease; /* Use transition for smooth animation */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  
}

#deathnote{
    background: linear-gradient(135deg, #000000, #8B0000, #808080);
    font-family: deathNote;
    font-size: 20px;
    letter-spacing: 5px;
    
}

#dorohedoro{
    background-image: linear-gradient(to bottom right, #5AA956, #56A97B, #84A956);
    font-family: dorohedoro;
    font-size: 20px;
    color: black;
}

#fireworks{
    background: linear-gradient(to bottom right, #ff6f61, #fdcb6e, #0f4c75);
    font-family: fireworks;
    color: black;
    font-size: 20px;
}

#pancreas{
    background: linear-gradient(135deg, #B4B0FF, #DCB0FF, #B0D4FF);
    font-family: pancreas;
    font-size: 18px;
}

#ngnl{
    background-image: linear-gradient(to bottom right, #0F3057, #120F57, #0F5457);
    font-family: ngnl;
    font-size: 17px;
}

#slime{
    background-image: linear-gradient(to bottom right, #4D82B8, #4D4DB8, #4DB7B8);
    font-family: slime;
    font-size: 18px;
}

#vinlandsaga{
    background: linear-gradient(135deg, #b9aca6, #d0d255, #857861);
    color: #333;
    font-weight: bold;
    font-family: vinland;
    font-size: 22px;
}

#spyxfamily{
    background: linear-gradient(135deg, #8da99b, #2c2827, #fab3ad, #610a10, #57675c);
    color: black;
    font-weight: bold;
    font-family: spyxfamily;
    font-size: 17px;
}

#cyberpunk{
    font-family: cyberpunk;
    font-size: 20px;
}

#demonslayer4{
    background: linear-gradient(135deg, #A00000, #FF3D00, #C72C41, rgba(0, 0, 0, 0));

    font-family: demonslayer;
    font-size: 25px;
    color: black;
}

.active, .collapsible:hover {
    background-color: #555;
}

#anime-section .rimuru{
    position: absolute;
    top: 2rem;
    height: 7rem;
}

#anime-section .ryuk{
    position: absolute;
    height: 13rem; /* Adjust height as needed */
    left: 70px;
    margin-bottom: 20px;
}

#anime-section .caiman{
    position: absolute;
    height: 13rem;
    right: 70px;
}

#anime-section .hanabi{
    position: absolute;
    height: 16rem;
    margin-top: 20rem;
    left: 70px;
}

#anime-section .pancreas{
    position: absolute;
    height: 20rem;
    margin-top: 16rem;
    right: 50px;
}

#anime-section .ngnl{
    position: absolute;
    height: 15rem;
    margin-top: 42rem;
    left: 50px;
}

/* Hobby Section */
.tab {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border: 3px solid black;
    background-color: #f1f1f1;
    width: 50%;
    margin: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  transition: max-height 0.5s ease;
}

.hobbyContent iframe {
    margin-top: 3%;
}

.hobbyContent p {
    width: 51%;
    margin: auto;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 10px;
    padding-bottom: 10px;
    border-bottom: none;
}
  
  .tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    text-align: center;
    flex-grow: 1; 
}
  
  .tab button:hover {
    background-color: #ddd;
  }
  
  .tab button.active {
    background-color: #ccc;
  }
  
  .hobbyContent {
    display: none;
    padding: 6px 12px;
    border-top: none;
    text-align: center;
    align-items: center;
  }

  /*Hobby Music Section */
  #Music {
    display: block;
}

#nocturne{
    font-family: 'Playfair Display', serif;
    border: 2px solid black;
    border-radius: 7px;
    background-color: #788df8;
    display: inline-block;
    position: absolute;
    padding: 5px;
    left: 38%;
}

#video1 {
    margin-bottom: 3%;
}

#twilight {
    font-family: 'Playfair Display', serif;
    border: 2px solid black;
    border-radius: 7px;
    background-color: #788df8;
    display: inline-block;
    position: absolute;
    padding: 5px;
    left: 44%;
}

#rapstar {
    font-family: 'Playfair Display', serif;
    border: 2px solid black;
    border-radius: 7px;
    background-color: #788df8;
    display: inline-block;
    position: absolute;
    right: 46%;
    bottom: -80rem;
    
}

#besomething {
    font-family: 'Playfair Display', serif;
    border: 2px solid black;
    border-radius: 7px;
    background-color: #788df8;
    display: inline-block;
    position: absolute;
    left: 40.5%;
}

#fuckyougoodbye {
    font-family: 'Playfair Display', serif;
    border: 2px solid black;
    border-radius: 7px;
    background-color: #788df8;
    display: inline-block;
    position: absolute;
    left: 41.5%;
    bottom: -149rem;
}

.video-container3 {
    margin-bottom: 50px;
}

.video-container4 {
    margin-bottom: 5px;
}

  .music3 p{
    margin-bottom: 2%;
  }

  #video2 {
    margin-bottom: 2%;
  }

  #rapstar {
    margin-bottom: -2%
  }

  .music5 p {
    margin-bottom: 2%;
  }

  .music6 p {
    margin-bottom: 3%;
  }

  #video4 {
    margin-bottom: 2%;
  }


  /* Hobby Reading Section */
  .books img {
    width: 25%;
    height: 300px;
  }

  /* Hobby Exercise Section */

  .exercise8{
    margin-bottom: 20px;
  }

  .exercise9 h4{
    font-size: 110%;
    border: 2px solid black;
    background-color: #4D82B8;
    display: inline-block;
    padding: 2px;
    border-radius: 5px;
  }

  .exercise13 h4{
    margin-top: 20px;
    font-size: 110%;
    border: 2px solid black;
    background-color: #4D82B8;
    display: inline-block;
    padding: 2px;
    border-radius: 5px;
  }

  .exercise17 h4{
    margin-top: 20px;
    font-size: 110%;
    border: 2px solid black;
    background-color: #4D82B8;
    display: inline-block;
    padding: 2px;
    border-radius: 5px;
  }
  

  .legs img {
    width: 25%;
    height: 250px;
  }

  .chest img {
    width: 25%;
    height: 250px;
  }

  .back img {
    width: 25%;
    height: 250px;
  }

  /* Hobby Cooking Section */

  .dishes img {
    width: 25%;
    height: 250px;
  }




















@media (max-width:800px) {
    .contact-inputs{
        width: 80vw;
    }
    .contact-right{
        display: none;
    }
}

@font-face {
    font-family: deathNote;
    src: url("fonts/creepster.ttf");
}

@font-face{
    font-family: dorohedoro;
    src: url("/fonts/orbitron.ttf");
}

@font-face {
    font-family: pancreas;
    src: url("/fonts/merienda.ttf");
}

@font-face {
    font-family: ngnl;
    src: url("/fonts/audioWide.ttf");
}

@font-face {
    font-family: fireworks;
    src: url("/fonts/dancingScript.ttf");
}

@font-face {
    font-family: slime;
    src: url("/fonts/mysteryQuest.ttf");
}

@font-face {
    font-family: vinland;
    src: url(fonts/garamond.ttf);
}

@font-face {
    font-family: spyxfamily;
    src: url(fonts/montserrat.ttf);
}

@font-face {
    font-family: cyberpunk;
    src: url(fonts/SAIBA-45.ttf);
}

@font-face {
    font-family: demonslayer;
    src: url(fonts/DEMON_NI.TTF)
}


