﻿

:root {
    /*--pri-color: #C76FF7;
            --pri-color-no: 199, 111, 247;*/
    --pri-color: #D18F00;
    --pri-color-no: 209, 143, 0;
}

* {
    /*font-family: Sans-Serif;*/
}

.header_slide {
    position: relative;
    display: grid;
    height: calc(100dvh - 55px);
}

    .header_slide > * {
        margin: 15% 0 0 10%;
        /*border: 1px solid;*/
        height: fit-content;
    }

        .header_slide > * > * {
            color: var(--pri-color);
            font-weight: bold;
        }

        .header_slide > * h1 {
            color: black;
            width: 50%;
            margin: 0;
            font-weight: bold;
            font-size: 3em;
            font-family: Cambria;
            line-height: 1;
            /*text-shadow: 3px 3px 1px rgba(var(--pri-color-no), 1);*/
        }

        .header_slide > * p {
            font-style: italic;
            margin-top: 10px;
            font-weight: 500;
            letter-spacing: 1px;
            color: black;
            width: 90%;
        }

.header_slide2 {
    position: relative;
    display: grid;
    height: calc(40dvh - 60px);
    background-size: 100% !important;
    background-position: bottom !important;
}

    .header_slide2 > * {
        margin: auto 0 auto 10%;
        /*border: 1px solid;*/
        /*height: fit-content;*/
    }

    .header_slide2 * {
        color: white;
        /*font-weight: bold;*/
    }

    .header_slide2 > * h1 {
        font-family: Cambria;
    }

    .header_slide2 > * > p {
        font-style: italic;
        /*margin-top: 10px;*/
        font-weight: 500;
        letter-spacing: 1px;
        /*color: black;*/
        width: 90%;
    }

.main_head {
    text-align: center;
    font-size: 14pt;
    text-transform: uppercase;
    font-weight: bold;
    display: grid;
    /*grid-auto-flow: column;*/
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 1em 3px;
}

    .main_head .con-title:nth-child(2) {
        font-size: 14pt;
        margin-left: 10px;
        margin-right: 10px;
    }

        .main_head .con-title:nth-child(2):first-letter {
            /*font-size: 16pt;*/
            background-color: var(--pri-color);
            padding: 0 7px 3px 7px;
            color: white;
            border-radius: .25em;
        }

    .main_head span:first-child,
    .main_head span:last-child {
        width: 100%;
        height: 2px;
        border-radius: .5em;
        background-color: var(--pri-color);
    }


@media (max-width: 786px) {
    .header_slide > * {
    }

    .header_slide2 {
        background-size: cover !important;
    }

    .nav-item.active {
        background: rgba(var(--pri-color-no), .5);
        border-radius: .25em;
        border: 2px solid var(--pri-color) !important;
    }

    .nav-item.active * { 
        color: white !important;
        font-weight: 500;
        padding-left: 10px;
}

}

.nav-item.active {
    border-bottom: 2px solid var(--pri-color) !important;
}

.footer {
    text-align: center;
    margin: 0px;
    padding: .25em;
    background-color: rgba(var(--pri-color-no), .9);
    color: black;
    font-weight: 600;
}

    .footer a {
        text-decoration: none;
        /*color: rgba(var(--pri-color-no), .85) !important;*/
        color: rgba(0,0,0, .75) !important;
        font-weight: bold !important;
    }

        .footer a:focus,
        .footer a:active {
            color: var(--pri-color) !important;
        }


.about_slide {
    position: relative;
    display: grid;
    height: calc(50dvh);
}


.col_card_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}

.col_card {
    display: inline-block;
    /*border: 1px solid var(--pri-color);*/
    background: linear-gradient(45deg, rgba(var(--pri-color-no), 0.05) 92%, white 92%);
    border-radius: .25em;
    box-shadow: -2px 2px 2px var(--pri-color);
    padding: 10px;
}

    .col_card .col_card_T {
        text-align: center;
        /*color: var(--pri-color);*/
        width: 90%;
        border-bottom: 1px solid var(--pri-color);
        font-size: 16pt;
        font-weight: bold;
        /*padding-bottom: 0;*/
        padding-bottom: 7px;
        text-transform: capitalize;
        color: #4e342e;
    }

    .col_card .col_card_P {
        text-align: center;
        padding-right: .5em;
        margin-bottom: 0;
        color: #4e342e;
    }

    .col_card.col_active, .col_card:hover {
        background: linear-gradient(45deg, rgba(var(--pri-color-no), 0.35) 92%, white 92%);
    }

        .col_card.col_active .col_card_T, .col_card:hover .col_card_T {
        }


.img_card {
    border: 5px solid rgba(var(--pri-color-no), 0.35);
    padding: 10px;
    display: grid;
    align-content: space-around;
    /*border-radius: 5px;*/
}

    .img_card .img_card_I {
        max-width: 100%;
        max-height: 400px;
    }

    .img_card .img_card_body {
        text-align: left;
        padding: 10px 0;
    }

        .img_card .img_card_body .img_card_T {
            color: var(--pri-color);
            padding-bottom: 7px;
            border-bottom: 1px solid rgba(var(--pri-color-no), 0.5);
        }

        .img_card .img_card_body .img_card_P {
            color: black;
            margin-bottom: 0;
            /*font-size: 14pt;*/
            color: #4e342e;
        }


@media (max-width: 589px) {
    .col_card_container {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 786px) {
    .img_card {
        /*border: none;*/
        padding: 5px;
    }

        .img_card .img_card_body {
            /*text-align: center;*/
            padding: 10px;
            background: rgba(var(--pri-color-no), 0.05);
        }
}

.page_nav > span::after {
    content: '/';
}

.page_nav > span:last-child::after {
    content: '';
}

.page_nav > span a {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: .25em;
    padding: 2px 5px;
}

.page_nav > span:last-child a {
    color: var(--pri-color) !important;
}

.img_container {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 10px;
}

.img_box {
    max-width: 340px;
    max-height: 340px;
    width: 340px;
    height: 340px;
    border: 7px solid white;
    border-radius: .25em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(var(--pri-color-no), .25);
    box-sizing: border-box;
    /*transition: all 2s;*/
}

.bg_img {
    /*background: url(Images/SCI-banner.png) no-repeat, linear-gradient(180deg,white 0%, #0d6efd40 60%) no-repeat;*/
    background-size: 100%;
    background-position: bottom;
}

.img_box .box_img {
    max-width: 100%;
    max-height: -webkit-fill-available;
    position: absolute;
    bottom: 0;
    left: 0;
    aspect-ratio: 1 / 1;
    border-radius: .5em;
}

.img_box div {
    /*background: linear-gradient(to top, rgba(var(--pri-color-no), .5) 2%, #ffffffff);*/
    background: linear-gradient(to bottom, rgba(var(--pri-color-no), .5) 5%, rgba(255,255,255, 1) 100%);
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    flex-flow: column;
    /*border-bottom: 2px solid var(--pri-color);*/
    transform: translateY(100%);
    /*backdrop-filter: blur(10px);*/
    border-radius: .25em;
}

    .img_box div > p {
        margin: 15px;
        /*color: floralwhite;*/
        color: black;
        margin-top: 8px;
        font-weight: 500;
    }

    .img_box div > h5 {
        margin: 0 10px;
        color: #4e342e;
        border-bottom: 1px solid black;
        padding-bottom: 8px;
        font-weight: bold;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.img_box:hover div {
    /*bottom: 0px;*/
    /*transform: translateY(-100%);*/
    /*backdrop-filter: blur(20px);*/
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .img_box {
        max-width: 400px;
        max-height: 400px;
        /*width: 400px;
        height: 400px;*/
    }
}


.label {
    display: inline-block;
    color: var(--pri-color);
    font-weight: 600;
    padding-bottom: .25em;
}