/* General CSS */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}
p, a {
    font-size: 1.2rem;
    line-height: 2rem;
}
p {
    margin: 0 0 1.5rem 0;
}
br {
    font-size: 1.2rem
}
h1 {
    font-size: 2.5rem;
    margin: 0;
    margin-bottom: 0.5rem;
}
h2 {
    font-size: 1.5rem;
    margin: 3rem 0 0.5rem 0;
    color: #A4161A;
}

h2.first {
    margin-top: 0.75rem;
}

/* Header CSS */
.header {
    background-color: #1c1c1c;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: calc(100% - 2rem);
    z-index: 1000;
}

.nav {
    float: right;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 0.25rem;
    padding: 0.5rem;
}
.nav a:hover {
    background-color: #660708;
}

.logo {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    display: flex;
}

.logo img {
    height: calc(1.75rem); 
    /*margin-top: 0.5rem; */
    margin-right:0.5rem
}

.dropdown-btn {
    display: none;
    background-color: #1c1c1c;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.35rem;
}

.dropdown-btn:hover {
    background-color: #660708;
}


.dropdown-btn .bar {
    display: block;
    width: 1.875rem;
    height: 0.25rem;
    background-color: #fff;
    margin: 0.375rem 0;
    transition: 0.4s;
}

.dropdown-btn.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.dropdown-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.dropdown-btn.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
}

.dropdown {
    display: none;
    position: absolute;
    top: 3.75rem;
    left: 0;
    right: 0;
    padding: 0.5rem 0;
    background-color: #1c1c1c;
    box-shadow: 0 0.5 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown a {
    display: block;
    padding: 10px;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.dropdown a:hover {
    background-color: #660708;
}

@media screen and (max-width: 800px) {
    .nav {
        display: none;
    }

    .dropdown-btn {
        display: block;
    }

    .dropdown.open {
        display: block;
    }
}





/* Main Title CSS */
.title_head {
    height: calc(500px); /* Set the desired height for your header */
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(189, 62, 65); /* Adjust the alpha value for the desired filter effect */
}

.overlay img {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.title {
    font-size: 4rem;
    margin-bottom: 10px;
    background: #8f292d;
    border: 5px solid #6B2325;
    padding: 0.5rem 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.5em;
    background: #8f292d;
    border: 5px solid #6B2325;
    padding: 0.5rem 1rem;
}





/* Footer CSS */
.footer {
    background-color: #1c1c1c;
    color: #fff;
    text-align: center;
    padding: 0.125rem 0;
    bottom: 0;
    width: 100%;
}

.footer p {
    margin: 0.5rem;
    text-align: center;
}




/* Right Side Navigation CSS */
.bound-nav {
    max-width: 1200px; 
    margin: auto; 
    position: relative;

}

.fixed-nav {
    position: absolute;
    top: 2rem; /* Adjust the starting position */
    background-color: #272727;
    padding: 15px;
    margin-left: 50px;
    color: #fff;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;

}

.fixed-nav a {
    display: block;
    color: #bbb;
    text-decoration: none;
    padding: 15px 15px;
    margin-bottom: 0px;
    border-bottom: 1px solid #777;
    transition: background-color 0.3s;
    transition: color 0.3s;
    text-align: right;
    font-size: 1rem;
}

.fixed-nav a:first-child {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.fixed-nav a:not(:first-child) div{
    padding-right: calc(15px + 0.25rem); 
    margin-right: 0.75rem; 
    border-right: 3px solid #777;
}

.fixed-nav a:not(:first-child):hover {
    background-color: #660708;
    color: #fff;
}

.fixed-nav a:not(:first-child):hover div{
    border-right: 3px solid #fff;
}

.fixed-nav a:last-child {
    border: none;
    margin-bottom: 0;
}


.fixed-nav.fixed {
    position: fixed;
    top: 100px;
}

@media screen and (max-width: 800px) {
    .content {
        padding: 50px
    }
    .fixed-nav {
        position: relative;
        z-index: 1;
        margin-bottom: 40px;
    }
    .fixed-nav.fixed{
        position: relative;
        top: 50px;
    }
    .fixed-nav a {
        text-align: left;
    }
    .fixed-nav a:not(:first-child) div{
        padding-right: 0; 
        margin-right: 0; 
        border-right: none;
        padding-left: calc(15px + 0.25rem); 
        margin-left: 0.75rem; 
        border-left: 3px solid #777;
    }

}




/* Box of the content css */
.bound1200px {
    max-width: calc(1200px - 325px - 50px); 
    margin: auto; 
    padding: 2rem 50px 1rem 325px;
    
}
.bound1200px.first{
    padding-top: 2rem
}

.section:nth-child(odd) {
    background-color: #F0EEEF;
}

@media screen and (max-width: 800px) {
    .bound1200px {
        padding-left: 50px;
    }
}


/* floating css images */
.float-img {
    float: right;
    max-width: min(30vw, 413px);
    max-height: 70vh;
    margin-left: 2rem;
    margin-bottom: 0.5rem
}

.float-img.po {
    max-width: min(20vw, 200px);
}

.float-img.left {
    float: left;
    margin-right: 1rem;
    margin-left: 0;
}

.float-img img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 900px) {
    .float-img, .float-img.left {
        float: none;
        max-width: 100%;
        margin: 0 0 0.5rem 0;
    }
    .float-img.po {
        float: right;
        max-width: min(20vw, 200px);
        margin-left: 2rem;
        margin-bottom: 0.5rem
    }
}


/* to top button*/
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #BA181B;  /* color */
    color: #fff;
    border: none;
    padding: 0.375rem 0.375rem 0.3125rem 0.375rem;
    cursor: pointer;
    border: 1px solid rgba(256, 256, 256, 1);
    z-index: 500;
}

#scrollToTopBtn:hover {
    background-color: #660708;
    border: 1px solid #D3D3D3;
    color: #fff;
}

