
.sign-in-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.fix{display: block; margin: 0 auto;
position:relative;
left:1cm;}

.sign-in-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
}

.sign-in-container h2 {
    margin-bottom: 20px;
}

.sign-in-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sign-in-container input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.sign-in-container button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sign-in-container button:hover {
    background-color: #45a049;
}
img{ border-radius:20%;
display:block;
position:relative;
right:2cm;}
bmi{ display: block;
position:relative;
left:5cm;}
.box{
    display:flex;

}
.box3{
    border: 2px solid black;
    padding: 4px 4px;
    margin:4px;
    background-color: #95c0f8;

}
.pacifico-regular {
    font-family: "Pacifico", serif;
    font-weight: 400;
    font-style: normal;
    font-size: xx-large;
    color:#333
  }
  .slabo-27px-regular {
    font-family: "Slabo 27px", serif;
    font-weight: 400;
    font-style: normal;
    color:#333
  }
form {
    max-width: 600px;
    margin: 2rem auto;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
form label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
form input,
form select,
form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 1rem;
}

form button {
    width: 100%;
    padding: 1rem;
    background-color: #1d4ed8;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
}
.slabo {
    font-family: "Slabo 27px", serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(122, 26, 122);
}

form button:hover {
    background-color: #2563eb;
}
@media screen and (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .brain{ display:block;
        top:50px;
        left:50px;
    }

    .features {
        padding:5px 5px
    }
  h4{ font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
    ;
text-decoration: none;}
}
.tool-page {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}

.tool-page h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tool-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.tool-page .back-button {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #1d4ed8;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.tool-page .back-button:hover {
    background-color: #2563eb;
}

.sub{ display: block;
    position: relative;
    bottom:7cm;
    left:4cm;}
    .scr{ text-align: center;}
body {
    font-family: 'Arial', sans-serif;
    margin: 30px 30px;
    padding: 30px 30px;
    background-color: #030335;
    color: #333;
}
.container{
    
    width: 60%;
    max-width: 1000px;
    margin: 0 auto;
    align-self: center;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;


    .routine{ border:4px solid black;}

}
.journal{ display: block;
        margin-left: auto;
        margin-right: auto;
        width: 20%;
       
        object-position:10px;;
      }
h2{ font-family:Verdana, Geneva, Tahoma, sans-serif;
}





.navbar {
    background-color: #B6D0E2;
    color: #770737;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar h1 {
    margin: 0;
    font-size: 1.8rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar a {
    color: #811331;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #fbbf24;
}

.hero {
    background-image: linear-gradient(rgb(236, 248, 162), rgb(245, 164, 228));
    color: pink;
    padding: 40px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
}


.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.tool-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    width: 22%;
    box-sizing: border-box;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.tool-card img {
    width: 50px;
    height: 50px;
}

.tool-card h4 {
    font-size: 18px;
    margin-top: 10px;
}

.tool-card:hover {
    transform: scale(1.05);
}

.bmi-calculator {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin
}



.bmi-result {
    
    font-weight: 
    margin-top: 2rem;
}
#bmi-form{ background-color: #f3f5f7;
text-align: center;
text-shadow: #4e5052;
padding: 15px}
.journaling{display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin }
.journaling-form{ background-color: white;
    text-align: center;
    text-shadow: #4e5052;
    padding: 15px;}
.journaling-tool textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #ccc;
}

.journaling-tool button {
    margin-top: 1rem;
    width: 100%;
    padding: 1rem;
    background-color: #1d4ed8;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.journaling-tool button:hover {
    background-color: #2563eb;
}

.self-care


#daily-tracker {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#daily-tracker h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

#daily-tracker form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-size: 16px;
}

select, input, button {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 100%;
}

input[type="number"] {
    width: auto;
}

button {
    background-color: #5f6368;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #4e5052;
}


#feedback {
    margin-top: 20px;
    font-size: 18px;
    color: #4caf50;
}

#badge {
    margin-top: 20px;
    font-size: 20px;
    color: #ff9800;
}

#badge p {
    font-weight: bold;
}


#profile {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#profile h1 {
    font-size: 28px;
    color: #333;
}

#profile h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

#badges {
    font-size: 18px;
    color: #333;
}

#badges p {
    background-color: #f4f4f9;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    margin: 5px 0;
}


footer {
    background-color: #5f6368;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}


@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
    }

    .tool-card {
        width: 80%;
        margin: 10px auto;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul li {
        margin: 10px 0;
    }
}

#cbt-quiz {
    margin: 20px auto;
    padding: 20px;
    max-width: 600px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#cbt-quiz h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

#cbt-quiz form .question {
    margin-bottom: 15px;
}

#cbt-quiz form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

#cbt-quiz form input {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#cbt-quiz form button {
    margin-top: 15px;
    padding: 10px 15px;
    font-size: 1rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#cbt-feedback {
    margin-top: 20px;
}

#cbt-feedback.hidden {
    display: none;
}

#cbt-feedback h2 {
    color: #4CAF50;
    margin-bottom: 10px;
}

#cbt-feedback p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}

select {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}
.resources{ color:black;
}
#mental-health-resources {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

#mental-health-resources h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.resource-category {
    margin-bottom: 30px;
}

.resource-category h3 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 10px;
}

.resource-category p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.resource-category ul {
    list-style-type: none;
    padding-left: 0;
}

.resource-category ul li {
    margin-bottom: 10px;
}

.resource-category ul li a {
    text-decoration: none;
    color: #1a73e8;
    font-weight: bold;
}

.resource-category ul li a:hover {
    text-decoration: underline;
    color: #1558b2;
}
#self-care-routines {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

#self-care-routines h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#self-care-routines p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.self-care-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.routine {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.routine h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.routine p {
    font-size: 0.9rem;
    color: #666;
}

#pomodoro {
    margin: 20px;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

#pomodoro-time {
    font-size: 3em;
    margin-top: 20px;
    margin-bottom: 20px;
}

#motivational-quote {
    font-size: 1.2em;
    margin-top: 20px;
    color: #2E8B57;
}

#breathing-exercise {
    margin: 20px;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

#breathing-instruction {
    font-size: 1.5em;
    margin-top: 20px;
    color: #ff6347;
}

button {
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 20px;
    background-color: #2E8B57;
    color: white;
    border: none;
    border-radius: 5px;
}

button:disabled {
    background-color: #D3D3D3;
    cursor: not-allowed;
}
.alex-brush-regular {
    font-family: "Alex Brush", serif;
    font-weight: 400;
    font-style: normal;
  }

  
  .logo{ display:block;
position:relative;

right:3cm}

.blink {
    animation: blinker 2s linear infinite;
    color: rgb(230, 226, 244);
    font-family: sans-serif;
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}
box1{ display:block;

bottom: 15cm;}
.jersey-15-regular {
    font-family: "Jersey 15", serif;
    font-weight: 400;
    font-style: normal;
    color:white;

  }
  .image-container {
    display: flex;
    justify-content: center; 
    gap: 20px; 
  }
  .image-container img {
    width: 300px; 
    height: auto; 
    border: 2px solid #ccc; /
    border-radius: 10px; 
  }

.top-icons {
    position: relative;
    margin-top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.icon {
    cursor: pointer;
    background-color: pink;
    color: blue;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.icon:hover {
    background-color: #d81d93;
}

.chatbot-popup, .community-popup {
    display: none;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    padding: 30px;
    width: 600px;
    z-index: 100;
    text-align: center;
    animation: popupFade 0.4s ease;
}

@keyframes popupFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    float: right;
    cursor: pointer;
    color: #888;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #444;
}

.chatbot-popup h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.chatbot-popup p {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.chatbot-popup .message-box {
    display: block;
    width: 80%;
    padding: 15px;
    margin: 20px auto;
    border: 2px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    color: #666;
    font-size: 18px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-popup .message-box::placeholder {
    color: #bbb;
    font-style: italic;
}

.community-popup h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.community-popup h3 {
    font-size: 24px;
    color: #444;
    margin-top: 15px;
    text-align: left;
}

.community-popup p {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    text-align: left;
}

a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

a:hover {
    transform: scale(1.05);
    text-decoration: underline;
}
