/* Your existing styles go here */

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: rgb(41, 41, 41);
}


h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: #fff;
}


header {
  padding: 10px;
  text-align: center;
  position: relative;
  height: 50vh;
  overflow: hidden;
}

#HP-NEXUS-LOGO {
  position: relative;
}

#nexus-logo {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 15%;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background-color: #07afaf; /*background color for the button */
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #006666; /* Slightly darker color on hover */
}

#timerDisplay {
  font-size: 32px;
  color: #008080;
  margin-top: 20px;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.header-text {
  margin-left: auto;
  margin-right: auto;
  margin-top: 15vh;
  color: #fff;
  text-shadow: 2px 4px 2px rgba(0, 0, 0, 1);
  letter-spacing: 20px;
  font-size: 60px;
  font-family: 'Bradley Hand, cursive';
  font-style: oblique;
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0d2e49;
  color: #fff;
  display: flex;
  justify-content: center;
  z-index: 100;
  margin-top: -1px;
  box-shadow: 0 5px 4px 0 rgba(0, 0, 0, .2);
  /* Ensure the nav bar appears above the header */
}

.sub-nav{
  margin: 0px;
  font-size: 15px;
  padding: 0px;
  align-items: center;
  text-align: center;
  background-color: #092235;
  box-shadow: 0 5px 4px 0 rgba(0, 0, 0, .2);
}

nav a {
  color: #fff;
  margin: 0 18px;
  text-decoration: none;
  font-size: 20px;
  padding: 10px;
}

footer {
  background: #151515;
  color: gray;
  font-size: 1rem;
  padding: 0.2rem 0;
  position: relative;
  text-align: center;
}

footer p{
  color:rgb(98, 98, 98);
}

.section {
  display: flex;
  flex-wrap: wrap;
}

.article {
  display: flex;
  justify-content: space-between; /* Align items to the left and right edges */
  align-items: center; /* Center items vertically in the flex container */
  margin-top: 20px;
  margin-left: 10%;
  margin-right: 10%;
  box-shadow: 0 2px 4px rgba(249, 249, 249);
  padding: 20px;
  width: 40%;
}

.user-icon {
  font-size: 50px;
}

.button-container {
  display: flex;
  position: absolute;
  top: 10px;
  right: 10px;
}

.button-container button {
  margin-left: 10px; /* Add some space between the buttons */
}

/* Apply styles to the image container */
.image-container {
  display: block;
  margin: 20px auto; /* Add margin to create space between the navbar and image container */
  width: 40%;
  padding: 0px;
  /* box-shadow: 0 2px 4px rgba(255, 255, 255); */
}

.image-container img {
  max-width: 100%;
  display: block;
}

#spotifyPlaylist {
  border: 4px solid #828204;
  display: block;
  margin: 100px auto 0;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 56%;
  height:400px;
}


#music-button-background img {
  width: 100%; /* Ensure the video covers the entire container width */
  height: 90vh; /* Maintain the video's aspect ratio */
  position: flex;
  top: 10;
  left: 10;
  /* Apply object-fit property to zoom and position the video */
  object-fit: cover; /* Maintain aspect ratio and cover the container */
  object-position: center center; /* Adjust the positioning as needed */
  opacity: 0.6;
  overflow: hidden;
  box-shadow: 0 35px 31px 0 rgba(0, 0, 0, 0.5);


}

#home-page-video-container{
  position: relative;
}

#study-music-title{
  text-align: center;
}

#glow-music-button {
  box-shadow: 0 0 10px cyan,
              0 0 50px cyan;
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              z-index: 1;
              text-align: center;

}

#glow-music-button:hover {
  box-shadow: 0 0 10px #00FFFF,
              0 0 50px #00FFFF,
              0 0 100px #00FFFF,
              0 0 200px #00FFFF,
              0 0 400px #00FFFF; 
}

#word-container{
  border-radius: 15px;
  text-align: center;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 15px 31px 0 rgba(0, 0, 0, 0.5);
  max-width: 600px; /* Adjust the maximum width as needed */
  height:auto;
  margin: 0 auto; /* Center the box horizontally */
}

.writer{
  color:#828204;
}

/* *************************Quote Of The Day************************ */

.container {
  max-width: 600px; /* Adjust the maximum width as needed */
  padding: 10px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Use auto margin for horizontal centering */
}

.main-content {
  width: 100%;
  height: auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 31px 0 rgba(0, 0, 0, 0.5);
  /* margin-left: 100px; Remove this margin-left */

}

.text-area {
  text-align: center;
  font-size: 25px;
  color: #262626;
  line-height: 1.5;
}

.button-area {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  width: 100%; /* Add this to make the button area full width */
}

.button-area .btn button {
  background-color: #06e3e3;
  color: #fff;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 10px 15px;
  width: auto;
  /* margin: 0 auto; Remove this margin */
  display: inline-block; /* Use inline-block to center the button */
}

.button-area button:active {
  background-color: deepskyblue;
}

.quotes-header h2 {
  text-align: center;
}

#all{
  font-size: 25px;
  color: #262626;
  line-height: 1.5;
}

#word-container h2{
  color: black;
}

.main-content h2{
  color: black;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 0 15px;
}

.footer-links a {
  color: #006060;
  text-decoration: none;
}

:root {
  --primary-clr:  #00b3ff;;
}
/* ************************************************* */

/* On smaller screens, stack the elements vertically */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
  }
  .article, .image-container {
    width: 80%;
    margin: 20px auto;
  }
  footer li a {
    display: none; /* Hide footer list on small screens */
  }
  footer ul{
    display: none;
  }
}



