body {
    background: url("images/clouds.png");
    background-color: rgba(168, 218, 220, 0.5); /* Ensure opacity is valid */
    background-blend-mode: overlay;
    background-size: cover;
    background-repeat: no-repeat;
    color: #264653;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Cherry Bomb One", system-ui;
    font-weight: 400;
    font-style: normal;
    
}

.home-container{
    background: url("images/clouds.png");
    background-color: rgba(168, 218, 220, 0.5); /* Ensure opacity is valid */
    background-blend-mode: overlay;
    background-size: cover;
    background-repeat: no-repeat;
    color: #264653;
    margin: 0;
}
h3{
    font-size:25px;
}
/* Streak Display - Top Right */
#streakDisplay {
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 10px;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-content h1{
    margin-top: 15%;
}

/* Mood Container */
.mood-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    transition: opacity 0.5s ease-in-out;
}
.mood{
    width: 15%;
}

img {
    width: 100%;
    transition: ease-in 0.5s;
}

.mood:hover {
    transform: scale(1.2);
}
.logo {
    height: 65px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
}

/* Goal Container */
.goal-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 18px;
}

.goal-card {
    display: none; /* Initially hidden */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: rgba(255, 255, 255, 0.9); /* Light background */
    border-radius: 15px;
    border: 2px solid #264653;
    padding: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Goal Icon */
.goal-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

/* Goal Text */
.goal-text {
    flex-grow: 1; /* Allows text to take up available space */
    text-align: left;
}

/* Checkbox Styling */
.goal-checkbox {
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #2a9d8f; /* Change color when checked */
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Adjust spacing between buttons */
    margin-top: 10px; /* Ensures buttons are right below goals */
    margin-bottom: 100px 
}
/* Button Styling */
button {
    font-size: 15px;
    border-radius: 12px;
    border-style: none;
    color: #264653;
    background-color: #A8DADC;
    padding: 10px;
    transition: ease-in 0.5s;
}

button:hover {
   border:1px solid #264653;
}

/* Link Styling */
a {
    text-decoration: none;
    color: #264653;
}

.modal-content{
    background-color: azure;
}

.resources-container{
  font-family: "Red Hat Text", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
 padding:5%;
}
details{
    font-family: "Red Hat Text", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding: 20px;
}
.resources-container h1,h3{
    font-family: "Cherry Bomb One", system-ui;
    font-weight: 400;
    font-style: normal;
}

nav{
    font-size: 20px;
}

/* Basic reset for padding and margin */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container that holds the scrolling content */
.scrolling-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* The scrolling content that moves horizontally */
.scrolling-content {
    display: flex;
    animation: scroll 10s linear infinite;
}

/* Style for each image and its corresponding text */
.image-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.image-text img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.image-text p {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    color: #333;
}

/* Keyframe animation to scroll the images */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

div.scroll-container {
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
    width: 80%;
  }
  
  div.scroll-container img {
    padding: 10px;
    width: 10%;
    height: 80%;
  }
.contents{
        display: flex;
        margin-top: 10%;
        justify-content: space-between; /* Align children with space between */
        gap: 20px; /* Optional: Add some space between the input box and the side box */
        font-family: "Red Hat Text", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
}
  .sidebox-left, .assignment-box{
    width: 25%; /* You can adjust this based on your layout needs */
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #ccc;
    height:fit-content;
  }
  .articles-box{
    width: 35%; /* You can adjust this based on your layout needs */
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #ccc;
    height:fit-content;
  }

/* Styling for the main wrapper */
.wrapper {
text-align: center;
margin: 20px;
}

/* Styling for the titles */
.titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Styling for the scroll container to allow horizontal scrolling */
.scroll {
display: flex;
overflow-x: auto;  /* Allow horizontal scrolling */
gap: 10px;  /* Space between the images and text */
padding-bottom: 10px;  /* Padding for the container */
}

/* Each image wrapper containing text above and below */
.image-wrapper {
flex-direction: column;  /* Stack text and image vertically */
align-items: left;  /* Center the text and image */
width: 300px;  /* Fixed width for each image wrapper */
}

/* Styling for the image */
.image-wrapper img {
width: 30%;  /* Image takes up full width of the wrapper */
height: auto; /* Maintain aspect ratio */
}

/* Styling for the text above the image */
.text-top {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
}

.text-bottom {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
}
