/* Setting up the general look of the page */
body {
    font-family: 'Lucida Sans', sans-serif; /* Choosing a readable font */
    margin: 0 15px; /* Removing default margin and adding a little space on the sides */
     /* Setting a light background color */
    color: black; /* Making the text color black */
    /* overflow: hidden; */ /* Removed this line to enable scrolling */
    width: auto; /* Auto width to fit the content */
    max-width: 90%; /* Making sure it doesn't overflow the viewport */
    overflow-x: hidden;
   box-sizing: border-box;
    
   background: linear-gradient(to bottom, #fff, #fff 100vh, rgba(65, 115, 177, 0.85) 100vh); /* Apply gradient below image */
   overflow-y: scroll; /* Hide content behind the image */

    
}

/* html{
    background-image: url('natural.jpg');
} */

#bgVideo {
    position: fixed;   
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;  /* Behind the content */
    overflow: hidden;
    object-fit: cover; /* Cover the entire screen */
    width: 100%;
    height: 100%;
  }

.banner{
   
    position: relative;
    height: 100vh;
     
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: stretch;
    z-index: 1; /* Set z-index to 1 */
    overflow: hidden;


}

.banner video{
    position: absolute;
    top: 0;
   left: 0;
   
     
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Set z-index to 0, so it's behind other content */


}

sup {
    font-size: 0.3em;
    color:white;
    letter-spacing: 2px;
}
#apps{
    color:black
}

#media{
color:red
}
#name{
    color:blue
}

.heading{
    perspective: 1000px;
    position: relative;
 }

img{
    width: 150px;
    height: 150px;
    border-radius: 15px;
    top: 0;
    left: 0;
    /* right: 100px; */
    
    transform: translateX(-50%);
    animation: fadeIn 4s 4s linear forwards;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
/* Styling the main heading */
h1 {
    
    font-size: 50px; /* Adjust the font size as needed */
    color:gold; /* Making the text color white */
    text-transform: uppercase; /* Uppercase text */
    letter-spacing: 4px; /* Add letter spacing for a more spaced-out look */
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
    /* animation: shadowPulse 2s ease-in-out; Add a pulsating animation */
    animation: slideIn 4s ease-out ;
    transform: translateZ(-300px);
    position: relative;
    font-weight: ;
}

@keyframes slideIn {
    0% {
        opacity: 0; 
        transform: translateZ(600px); 
        /* opacity 0 means visibility: hidden; and transparent full */
        

     }

     /* 50%{
        opacity: 1;
        transform : translateZ(-600px)
     } */
 
    100% {
        opacity: 1;
         transform : translateZ(0); 
        

     }
}


 


/* Styling the container that holds the form and posts */
.container {
     margin-top: 0;
    display: flex; /* Using flexbox for layout */
    flex-wrap: wrap;
    gap: 50px; /* Adding space between form and posts */


    margin-top: 50px;
    /* ... existing styles ... */
    z-index: 2; /* Set z-index to 2, so it's above the video */
    position: relative; /* Relative positioning */
    /* background-color: rgba(255,255,255,0); */
    padding: 25px;
    /* padding-left: 10px; */
}

/* Styling the posts container */
#posts {
    width: max-content; /* Width based on content */
}

/* Styling each individual post */
#posts div {
    display: flex; /* Using flexbox for layout */
    align-items: center; /* Vertically centering the content */
    justify-content: space-between; /* Adding space between text and icons */
    gap:70px;
}

/* Styling the icons (edit and delete) */
i {
    cursor: pointer; /* Making it obvious you can interact with the icons */
    margin-left: 15px; /* Adding some space to the left of each icon */
    
}

/* Styling the delete icon specifically */
#deleteIcon {
    color: red; /* Making the delete icon red */
    
}

/* Styling the edit icon specifically */
#options #editIcon {
    color: bisque; /* Making the edit icon bisque */
}

/* Making the layout responsive for smaller screens */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column; /* Stacking form and posts vertically */
        align-items: stretch; /* Stretching items to fill the width */
        width: auto;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        flex-wrap: wrap;
        /* background-color: rgba(0,0,0,0); */
        padding: 15px;
    }

    
    
}

/* Styling the submit button */
button {
    color: white; /* Text color */
    background-color: blue; /* Background color */
    border: none; /* Removing the default border */
    border-radius: 5px; /* Rounding the corners */
    padding: 10px 20px; /* Adding some padding */
    transition: background-color 0.3s; /* Smooth background color change */
   
}

/* Adding a hover effect to the submit button */
button:hover {
    background-color: #0056b3; /* Darker blue when hovered */
    transform: scale(1.5)
}

/* Styling the textarea where you write your post */
textarea {
    resize: vertical; /* Allowing vertical resizing */
    border-radius: 5px; /* Rounding the corners */
    font-family: 'Trebuchet MS', sans-serif; /* Choosing a readable font */
    font-size: larger; /* Making the text a bit larger */
    font-weight: 600; /* Making the text bold */
    padding: 5px;
    width: 100%
}

/* Styling the left and right sections of the container */
.left, .right {
    padding: 20px; /* Adding some padding */
    /* background-color: #0e182a; Choosing a dark background color */
    border-radius: 5px; /* Rounding the corners */
    box-shadow: 0 2px 4px 4px rgba(0, 0, 0, 0.2); /*Adding a subtle shadow
    background-color: rgba(14, 24, 42, 0.8); /* Semi-transparent background */
    z-index: 3; /* Set z-index to 3, so it's above the video */
    position: relative; /* Relative positioning */
    border : 2px solid antiquewhite;
    position:relative;
     
}

/* Styling the heading of the posts section */
#post-heading {
    border: 4px solid crimson; /* Adding a border */
    border-radius: 5px; /* Rounding the corners */
    padding: 15px; /* Adding some padding */
    /* box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); Adding a subtle shadow */
    color: white; /* Making the text white */
    display: inline-block;
    
    background: #000;
     
    
    
}

/* Styling the text of the posts */
#posts {
    color:whitesmoke; /* Making the text green-yellow */
    padding: 10px;
   overflow-y: scroll;
   overflow-x: scroll;
   height: 200px;
   width: fit-content;
   font-size: 24px;
   font-family: sans-serif;
   font-weight: 600;
   font: bold;
   /* background: #000300; */
   box-shadow: 0 21px 40px 6px rgba(67, 50, 0, 0.2);
    border-radius: 12px;
    z-index: -10;
    outline: none;
    background-color: none;
    transition: background-color .3s;
}

#posts:hover{
    background-color: #0056b3;
}

#form-label {
    color: white;
}

/* Hide the scrollbar by default */
::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  
  /* Show the scrollbar when hovered */
  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2); /* Adjust the color as needed */
  }
  
  /* Show the scrollbar track when hovered */
  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* Adjust the color as needed */
  }
  