/* Define color variables */
:root {
    --primary-text-color: #fff;
    --secondary-background-color: #006a78   ;
}

/* Global styles */
body {
    font-family:serif;
    color: var(--primary-text-color);
}

/* Navbar */
.navbar {
    background-color: var(--secondary-background-color);
    position: relative;
    color: var(--primary-text-color) !important;
    padding: 20px 0;
    text-align: center;
}

.login-link{
    text-align: center;
}

.signup-box{
    margin-top: 100px;
    margin-bottom: 100px;
    height:100%;
  }

  .signup-box form{
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  }

  .signup-box label {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    color: #555;
  }

  .signup-box input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    height: 40px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

  .signup-box input[type="submit"]{
    width:100%;
    padding: 10px;
    height: 100%;
    margin-top:20px;
    border:none;
    border-color:white;
    background-color: #49c1a2;
    font-size:18px;
    cursor: pointer;
  }

  .signup-box input[type="submit"]:hover{
    background-color: #28d1a0;
  }


.signup{  
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.agreement-text {
    font-size: 14px;
    margin-top: 10px;
    color: #777;
}

/* Style the links within the agreement text */
.agreement-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.agreement-text a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.s-l{
    padding-top:10px;
    padding-bottom:10px;
    padding-left: 12px;
    padding-right: 12px;
    font-family:serif;
    background-color: rgba(84, 180, 224, 0.918);
    color:white;
    border-radius: 20px;
    border-width: 1px;
    border-color: #fff;
    font-weight: 700;
    font-size:16px;
    background: transparent;
    border-style: double;
}

.s-l:hover{
    cursor: pointer;
    background-color: #1e65b1;
    transition-delay: 0.1s;

}

.s-l:active{
    opacity:0.7;
}

.nav-item .nav-link {
    color: #fff;
}

.nav-item:hover .nav-link:hover {
    color: #92CACB;
    scale: 1.05;
}


.text-dark {
    color: #000 !important;
}

/* Footer */
.footer {
    background-color: var(--secondary-background-color);
    color: var(--primary-text-color);
    padding: 20px 0;
    text-align: center;
}


/* Container with Margin Top */
.container.mt-4 {
    padding: 20px;
    color: var(--primary-text-color);
}

/* Wavy Jumbotron */
/* Wavy Jumbotron Styles */
/* Center the text and image in the middle of the jumbotron */
.jumbotron {
    background: transparent;
    background-size: 200% 200%;
    margin-top: 20px;
    padding: 120px 0; /* Increase the top padding to vertically center the content */
    color: #000;
    font-family: 'Playfair Display', serif;
    text-align: center; /* Center-align text */
}

.jumbotron-text {
    padding-bottom: 20px; /* Reduce the padding to overlap text and image */
}

.jumbotron .row {
    align-items: center; /* Vertically center the row content */
}

/* Text inside the jumbotron */
.jumbotron .col-md-6.text-left {
    text-align: center; /* Center-align text */
}

/* Image inside the jumbotron */
.jumbotron .col-md-6 {
    text-align: center; /* Center-align image */
}

/* Adjust the image size */
.img-fluid.jumbotron-img {
    max-width: 80%; /* Reduce the image size as needed */
    position: relative; /* Position the image relative to its container */
    top: -50px; /* Move the image up slightly to overlap text */
}


.home-heading{
    font-family:serif;
    margin-top: 50px;
    font-size: 50px;
    color: #000
}

#changing-heading {
    font-size: 70px;
}

.mt-2 {
    font-family:serif;
    color: var(--primary-text-color);
    background-color: #154734;
    font-size: 20px;
    font-weight: bold;
    padding: 10px
    
}

.mt-6 {
    margin-top: 4rem;
}

.mt-7 {
    margin-top: 5.5rem;
}

#recent-disasters-heading{
    color: var(--primary-text-color);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Apply a golden gradient background to the right box */
.golden-gradient-bg {
    background-image: linear-gradient(45deg, #b39702, #f2e07e); /* Adjust the gradient colors as needed */
    color: #fff; /* Set text color to white for better visibility */
}

/* Updated styles for the wide rectangular block */
.wide-rectangular-block {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
    border-radius: 20px;
    margin-top: 50px;
    transition: transform 0.2s;
}

.wide-rectangular-block:hover{
    scale: 1.05;
}

.wide-rectangular-content {
    flex: 1;
}

.wide-rectangular-content h2 {
    font-family:serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.wide-rectangular-content p {
    font-family:serif;
    font-size: 16px;
}

.wide-rectangular-image {
    flex: 1;
    padding-left: 20px;
    text-align: center;
}

.wide-rectangular-image img {
    max-width: 100%;
    height: auto;
}


/* Clickable Card */
.clickable-card {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.clickable-card:hover {
    transform: scale(1.05);
}

/* Card Body */
.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    height: 200px; /* Ensure the card body takes up the full card height */
}

/* Card Title */
.card-title {
    margin: 0;
}

/* Alert Card */
.alert-card {
    transition: transform 0.2s ease-in-out;
    height: 200px; 
    color: #fff; 
}

.home-card {
    text-decoration: none;
}

.alert-card:hover {
    transform: scale(1.05);
}

.white-background-card {
    transition: transform 0.2s ease-in-out;
    height: 200px;
}

.white-background-card:hover {
    transform: scale(1.05);
}

.rounded-circle {
    background-color: #154734;
}

.rounded-circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.rounded-circle-link {
    text-decoration: none;
    margin:20px; 
}

.rounded-circle-link:hover .rounded-circle {
    transform: scale(1.1); 
    transition: transform 0.3s ease; }

.rounded-circle-link:hover .mt-2 {
    color: #007bff; 
    transition: color 0.3s ease;
}

.list-group {
    padding: 20px;
}

.earthquake-list .list-group-item{
    padding-top: 25px;
    padding-bottom: 25px;
}

.questions-block {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.322) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom:100px;
    height:100%;
}

.questions-block h2 {
    font-size: 40px;
    margin-bottom: 55px;
    text-align:center;
}

.questions-block p{
    font-size: 23px;
    margin-top:70px;
    font-family:serif;
    font-weight: 700;
}

.cap-list .list-group-item{
    padding: 30px
}

.donations-block {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.322) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    max-width: 900px; 
    margin: 0 auto; 
    margin-top: 100px;
    margin-bottom: 100px;
    height: 100%;
}

.donation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.donations-block h1{
    font-size: 60px;
}

.donation-form {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="number"] {
    width: 100%;
    height: 40px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Styling for donation amount buttons */
.donation-buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.amount-button {
    background-color: #00CC00;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.amount-button:last-child {
    margin-right: 0;
}

.amount-button:hover {
    background-color: #009900;
}

.submit-button {
    background-color: #007bff;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

.cy-h{
    margin-bottom:10px;
}
.cy-heading{
    display:flex;
    justify-content: center;
    font-size:35px;
    font-family:roboto;
    font-weight:700;
    margin-top:100px;
    
}

.cy-preview-container {
display: flex;
justify-content: center;
margin-top:20px;
}

.cy-preview{
    display:flex;
    align-items:flex-end;
    flex: 0 0 calc(50% - 10px);
    margin-left: 15px;
    margin-right: 15px;
    border: 1px  ;
    border-width: 1px;
    padding:10px;
    border-radius: 20px;
    margin-bottom:50px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.cy-image{
    display:inline-block;
    padding-bottom: 20px;
    

}

.cy-info{
    display:inline-block;
    
}

.cy-name{
    font-size:26px;
    font-weight: 500;
    padding-left: 15px;
    display: inline-block;
    
}

.cy-details{
    padding-top: 40px;
    padding-left:15px;
    
}

.questions-block ul {
    list-style-type:none;
    margin-left: 30px;
}

.questions-block li {
    margin-bottom: 20px;
}

/* Style the submit button */
#submit-button {
    background-color: #007bff; /* Blue color */
    color: #fff; /* White text */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top:50px;
    margin-left:370px;
}

#submit-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Style the correct answer display */
#results {
    font-weight: bold;
    margin-top: 20px;
}

/* Improved styles for the registration page */

.alert {
    text-align: center;
}
.alert-container {
    padding-top: 60px; 
}

.registration-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.registration-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.input-box {
    margin-bottom: 20px;
}

.input-box input[type="text"],
.input-box input[type="password"],
.input-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.input-box select {
    appearance: none;
    background-image: url("dropdown-arrow.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px 20px;
    padding-right: 30px;
}

.registration-button input[type="submit"] {
    display:inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.registration-button input[type="submit"]:hover {
    background-color: #0056b3;
}


