/* Reset margin and padding for all elements for a consistent look */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Default mobile styles go here */

/* Larger phones to small tablets */
@media (min-width: 480px) {
    /* styles */
    body {
        font-family: Arial, sans-serif;
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Disable horizontal scrolling */
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh; /* take up at least the full height of the viewport */
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;

    
    }
}

/* Tablets */
@media (min-width: 768px) {
    /* styles */
    body {
        font-family: Arial, sans-serif;
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Disable horizontal scrolling */
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh; /* take up at least the full height of the viewport */
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;

    
    }
}

/* Desktops and above */
@media (min-width: 1024px) {
    /* styles */
    body {
        font-family: Arial, sans-serif;
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Disable horizontal scrolling */
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh; /* take up at least the full height of the viewport */
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
   
    }
}

.banner {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #36454F;
    padding: 10px 0;
    text-align: center;
    color: white;
    font-size: 20px;
}

.content {
    flex: 10 5 auto; /* takes up the remaining space between banner and footer */
    max-width: 800px; /* or whatever maximum width you desire */
    margin: 20px 0; /* vertical margin */
    text-align: left; 
    padding-top: 60px; /* Adjust this value based on the height of your banner */
    padding: 20px;
    border: 1px solid #cccccc;
    position: inherit;
    background-color: #d0f6e0;
}

.divider {
    border-top: 2px solid black; /* Change 'black' to any color you prefer */
    margin: 20px 0; /* Adds space above and below the divider */
    width: 100%; /* Ensures the divider stretches the full width of its container */
}


/* Adding CSS for the placard */
.placard, .placard2, .placard3 {
    border: 1px solid #ccc;
    padding: 15px;
    margin: 20px 0;
    background-color: #f8f8f8;  /* Light grey background */
    border-radius: 5px;
    width: 700px;
    max-width: 100%; 
    margin: 20px auto;
}

.placard p, .placard2 p, .placard3 p {
    text-align: left;  /* Align the text to the left */
    font-size: medium;
}

/* CSS for the placard title */
.placard-header, .placard2-header, .placard3-header {
    padding: 10px;
    cursor: pointer;
    background-color: #f1f1f1;  /* You can change this to your preferred color */
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: left;
}

/* CSS for the content when it's collapsed */
.placard-content, .placard2-content, .placard3-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;  /* Animation for the transition */
    border: 1px solid #ccc;
    border-top: none;  /* Remove the top border to connect seamlessly with the header */
    padding: 0 15px;   /* Padding for the left and right */
    border-radius: 0 0 5px 5px;
}


/* CSS to center the buttons using Flexbox */
.button-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* For spacing between buttons */
    margin-top: 10px; /* Space above the button container */
}

/* CSS for the button colors */
#startBtn {
background-color: #4CAF50; /* Green color */
color: #FFFFFF; /* White text */
}

#stopBtn {
    background-color: #FF5733; /* Red color */
    color: #FFFFFF; /* White text */
}

#downloadBtn {
    background-color: #3498DB; /* Blue color */
    color: #FFFFFF; /* White text */
}

/* If you want to make the buttons look better, consider adding a small padding and border-radius */
button {
    padding: 10px 15px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

button:hover {
    opacity: 0.8; /* Slight opacity change on hover for a subtle effect */
}

button:active {
    transform: scale(0.95); /* Slightly shrinks when pressed */
}


.lender-requesting {
    width: 46%;
    padding: 0 20px;  /* Padding on the left and right side */
}

.attorney-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    background-color: #4CAF50; /* This is a shade of green, you can change it to any color you like */
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.attorney-button:hover {
    background-color: #45a049; /* Darker shade of the original green for a hover effect */
}


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* To ensure any unfilled space is black or any other color you like */
    margin-bottom: 50px; /* Adjust this based on your UI layout */
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the video covers the whole space without distortion */
}


/* CSS for Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* ensures it's on top of all other elements */
    background-color: #FFFFFF; /* Adjust as per your design */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1s forwards 3.0s;
}
#splash-screen img {
    max-width: 60%; /* Adjust based on your design */
}

/* Media query for mobile portrait mode */
@media screen and (max-width: 768px) and (orientation: portrait) {
    #splash-screen img {
        max-width: 90%; /* Increase size for portrait mode. Adjust as needed. */
    }
}

@keyframes fadeOut {
    100% { 
        opacity: 0; 
        display: none; 
    }
}

.donate-button-container {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers the button vertically */
    height: 100px; /* Adjust the height as needed */
    margin-top: -20px;
    
}

.donate-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498DB; /* Green background */
    color: white; /* White text */
    text-align: center;
    text-decoration: none; /* Removes underline */
    font-size: small;
    border-radius: 20px;
    cursor: pointer;
    margin-top: -10px;
    margin-bottom: -50px;
}

    
.footer {
    width: 100%;
    box-sizing: border-box;  /* This makes sure padding and border are included in the width */
    background-color: #36454F;
    padding: 5px 0;
    text-align: center;
    color: white;
    flex-shrink: 0;
    font-size: smaller;
}