﻿
/* Primary Colors */
:root {
    --primary-color: #b8860b; /* Golden brown */
    --secondary-color: #3b3b3b; /* Dark gray/black */
    --background-color: #f5f5f5; /* Soft light gray */
    --accent-color: #d4a017; /* Bright gold */
    --text-color: #000000; /* Black text */
}
.custom-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .custom-table th, .custom-table td {
        padding: 15px;
        text-align: center;
        border: 1px solid #e1e1e1;
    }

    .custom-table th {
        background-color: #013220;
        color: white;
    }

    .custom-table td {
        background-color: #013220;
    }

    .custom-table .badge-info {
        background-color: #17a2b8;
        color: white;
        border-radius: 8px;
        padding: 5px 10px;
    }
body {
    background-color: var(--background-color);
    /* color: var(--text-color); */
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: url('/images/fermaMobile.png') no-repeat center center fixed;
    background-size: cover;
    color: #333; /* Content text should remain readable */
    overflow:auto;
}

.content {
    background: rgba(255, 255, 255, 0.8); /* Subtle overlay to improve text visibility */
    padding: 2rem;
    max-width: 800px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}


/* Header */
header {
    background-color: var(--primary-color);
    color: #ffffff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

    a:hover {
        color: var(--accent-color);
    }

body4 {
    margin: 0;
    padding: 0;
    background: #F4F4F4;
    color: #1D3557;
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

    a:hover {
        color: #E76F51;
    }

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    font-size: 0.9rem;
}

/* Main Content */
main {
    min-height: calc(100vh - 100px); /* Adjust for header and footer */
    padding: 1rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    background: #2A9D8F;
    border: none;
    transition: all 0.3s ease-in-out;
}

    .btn-primary:hover {
        background: #1E847F;
    }

/* Card Components */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: #FFFFFF;
}

.bg-primary {
    background: #2A9D8F;
}

.bg-secondary {
    background: #264653;
}


.main-content {
    flex: 1; /* Ensures the content area grows and the footer stays at the bottom */
}

.footer-container {
    width: 100%;
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    text-align: justify-all;
}

.c-box {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    color: crimson;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    max-width: 250px;
}

    .c-box:hover {
        transform: scale(1.05);
        background-color: #ddd;
    }

    .c-box i {
        font-size: 18px;
        color: #333;
        margin-bottom: 10px;
        display: block;
    }

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    bottom:0;
}

.footer-content {
    max-width: 100%;
    width: 100%;
    bottom:0
}

.footer-email {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
}

    .footer-email:hover {
        color: crimson;
    }

.footer-copy {
    color: lime;
    font-size: 12px;
    margin-bottom: 10px;
}

.footer-powered {
    font-style: italic;
}

.footer-disclaimer {
    color: #bbb;
    font-size: 12px;
    margin-top: 10px;
}

.container {
    text-align: center; /* Centers the content horizontally */
    max-width: 500px; /* You can adjust this as needed */
    margin: 0 auto; /* Centers the container */
}

.label-danger {
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

.btn-box {
    margin-bottom: 10px; /* Adds some spacing between the buttons */
}

.custom-btn {
    display: inline-block;
    width: 100%; /* Full width button within the flexbox */
    max-width: 250px; /* You can set a max width */
    padding: 10px 20px;
    background-color: #013220;
    color: white;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    /* Adjust hover effect */
    .custom-btn:hover {
        background-color: #013220;
    }

/* Flexbox styling to ensure buttons have equal width */
.my-div {
    display: flex;
    justify-content: center;
    color: white;
}

.button {
    background-color: #013220;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.fixed-top1 {
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 1030;
}

.fixed-top3 {
    position: fixed;
    top: 40px;
    width: 100%;
    background-color: #013220;
    color: ghostwhite;
}

.navbar {
    background-color: #013220;
    width: 100%;
    color: white;
}

.navbar-nav .nav-link {
    color: floralwhite !important;
}

.navbar-brand {
    color: black !important;
}

.dropdown-menu {
    background-color: #343a40;
}

.dropdown-item {
    color: crimson !important;
}

td > input {
    width: 3vw;
    height: 3vh;
}

.modal-dialog {
    width: 460px;
    height: 460px !important;
}

.modal-content {
    /* 80% of window height */
    height: 50%;
    background-color: crimson;
    color: white;
}

.modal-header {
    background-color: white;
    padding: 30px 30px;
    height: 30px;
    font-size: 14px;
    color: crimson;
    border-bottom: 100px thin #337AB7;
}

.modal-body {
    background-color: white;
    font-size: 12px;
    width: inherit;
    color: crimson;
    font-weight: lighter;
    border-bottom: 100px thin #013220;
}


header {
    /*background-color: white;*/
    padding-left: 60px;
    padding-right: 40px;
    text-align: center;
    padding-top: 30px;
    display: flex;
    font-size: 10px;
    color: crimson;
}



.c {
    width: 350px;
    height: 80px;
    box-sizing: content-box;
    padding-top: 15px;
    /*position: relative;*/
    background-color: ghostwhite;
    color: black;
    font-size: 15px;
    color: crimson;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}
/*.cd{
                            background-image: url(images/card.jpg);
                            background-repeat: no-repeat;
                            height: 70vh;
                        }*/
nav {
    float: left;
    width: 100%;
    background-color: ghostwhite;
    color: black;
    padding: 20px;
    text-align: justify;
    align-content: normal;
    align-items: normal;
}



article {
    float: left;
    padding-left: 40px;
    width: auto;
    background-color: white;
    color: black;
    height: 300px; /**/
}

.divnav {
    width: 60%;
    box-sizing: border-box;
    padding-left: 38px;
    padding: 30px;
    color: black
}

.divnav2 {
    width: 40%;
    box-sizing: border-box;
    padding: 30px;
    color: black
}

.divbody {
    width: 100%;
    height: 100%;
    border: 1px solid blue;
    box-sizing: border-box;
    padding: 30px;
    color: #28a745
}

.my-div {
    width: 200px;
}

.div1 {
    height: 230px;
    border: 1px solid gold;
    border-block: ridge;
    max-width: 438px;
    padding-right: 100px;
    background-color: ghostwhite;
    color: black;
}

.div2 {
    width: 300px;
    height: 200px;
    padding: 20px;
    background-color: ghostwhite;
    color: black;
    /*border: 1px solid black;*/
    /*box-sizing: border-box;*/
}

.div4 {
    width: 300px;
    height: 130px;
    padding: 20px;
    background-color: ghostwhite;
    color: black;
    border: 1px solid black;
    box-sizing: border-box;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.div3 {
    width: 300px;
    height: 280px;
    padding: 20px;
    border: 1px solid black;
    box-sizing: border-box;
    background-color: ghostwhite;
    color: black;
}


.div5 {
    width: 450px;
    height: 350px;
    font-family: Garamond;
    font-size: 10px;
    text-align: justify;
    align-content: center;
    background-color: ghostwhite;
    color: black;
}
/* Clear floats after the columns */
section:after {
    /*            content: "";
                */ /*display: table;*/
    /* clear: both;*/
}

#logo img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    margin: 0 auto; /* Center the logo if needed */
}

#mai {
    color: dodgerblue;
    max-width: 100%;
    width: 100%;
    padding-top: 3px;
    padding-left: 0px;
    height: auto;
    display: block;
}

    #mai a {
        color: deepskyblue;
    }

.blend-edges {
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 0 50px 20px rgba(255, 255, 255, 1); /* Adjust color to match parent background */
    border-radius: 50px; /* Optional: Rounds the edges more smoothly */
}

/* Responsive Styles for Mobile Devices (max-width: 600px) */
@@media (max-width: 568px) {
    /* General Layout Adjustments */
    body {
        background-color: #121212;
        color: #ffffff;
        overflow:auto;
    }

    section, nav, main-content, article {
        width: 100%; /* Ensure elements take full width on small screens */
        height: auto; /* Maintain proportional height */
    }

    .responsive-image {
        max-width: 65%;
        margin: 0 auto; /* Center the image */
    }
    /* Footer Adjustments */
    .footer-content {
        padding: 0 10px; /* Reduce padding for compact design */
    }

    body {
        font-size: 0.9rem;
    }

    p {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 1.3rem;
    }

    .footer-container {
        padding: 20px 0;
        bottom: 0; /* Push footer to bottom without overlapping content */
    }

    .footer-copy,
    .footer-disclaimer {
        font-size: 10px; /* Smaller font for disclaimers */
    }

    .footer-email {
        font-size: 12px; /* Slightly larger font for email text */
    }
    /* Header Adjustments */
    header {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center-align header content */
    }
    /* Navbar Adjustments */
    .navbar {
        position: static; /* Remove fixed positioning */
        width: 100%; /* Ensure navbar spans full width */
    }
    .footer{
        font-size:12px;
        padding:5px;
    }
    #main-menu {
        display: none; /* Hide main menu by default on small screens */
    }

    #navbar {
        display: block; /* Ensure navbar remains visible */
    }

        #navbar img {
            width: 100%; /* Make images responsive */
            height: auto; /* Maintain aspect ratio */
            display: block; /* Ensure proper image rendering */
        }
    /* Padding Adjustments */
    #mai {
        padding-top: 10px; /* Reduce padding for compact design */
    }
}
@@media (max-width: 360px) {
    /* General Layout Adjustments */
    body {
        background-color: #121212;
        color: #ffffff;
    }

    section, nav, main-content, article {
        width: 100%; /* Ensure elements take full width on small screens */
        height: auto; /* Maintain proportional height */
    }
    .footer{
        display:none;
    }
    .responsive-image {
        max-width: 65%;
        margin: 0 auto; /* Center the image */
    }
    /* Footer Adjustments */
    .footer-content {
        padding: 0 10px; /* Reduce padding for compact design */
    }

    body {
        font-size: 0.9rem;
    }

    p {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 1.3rem;
    }

    .footer-container {
        padding: 20px 0;
        bottom: 0; /* Push footer to bottom without overlapping content */
    }

    .footer-copy,
    .footer-disclaimer {
        font-size: 10px; /* Smaller font for disclaimers */
    }

    .footer-email {
        font-size: 12px; /* Slightly larger font for email text */
    }
    /* Header Adjustments */
    header {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Center-align header content */
    }
    /* Navbar Adjustments */
    .navbar {
        position: static; /* Remove fixed positioning */
        width: 100%; /* Ensure navbar spans full width */
    }

    #main-menu {
        display: none; /* Hide main menu by default on small screens */
    }

    #navbar {
        display: block; /* Ensure navbar remains visible */
    }

        #navbar img {
            width: 100%; /* Make images responsive */
            height: auto; /* Maintain aspect ratio */
            display: block; /* Ensure proper image rendering */
        }
    /* Padding Adjustments */
    #mai {
        padding-top: 10px; /* Reduce padding for compact design */
    }


