:root {
    --bs-body-font-size: 1rem;
    /* --bs-nav-link-font-size: 1rem; */
    --header-color: blue;
    --header-color2: orange;
    --login-background: linear-gradient(to top right, var(--header-color) 0%, var(--header-color2) 100%);
    --primary-background: linear-gradient(123deg, rgba(251, 122, 48, 0.9) 0%, rgba(232, 184, 136, 0.9) 100%);
    --primary-background2: linear-gradient(135deg, rgba(26, 115, 232, 0.9), rgba(52, 168, 83, 0.8));
    --hero-background: url(/images/ap26_bg.jpg);
    --bs-font-family: 'Inter', sans-serif;
    --bs-body-font-size: 14px;
    /* --bs-nav-link-font-size: 14px; */
    --bs-dropdown-font-size: 12px;

}

.btn-primary {
    background-color: var(--header-color2);
}

body {
    font-size: var(--bs-body-font-size);
    font-family: var(--bs-font-family)  !important  ;
    margin: 0;
    padding: 0;
    background: linear-gradient(70deg, #eee, #aaa);
    background-attachment: fixed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#main {
    animation: fadeIn .5s ease-in;
}

@-webkit-keyframes slidein {
    from {
        background-position: top;
        background-size: 3000px;
    }

    to {
        background-position: -100px 0px;
        background-size: 2750px;
    }
}

@keyframes slidein {
    from {
        background-position: top;
        background-size: 3000px;
    }

    to {
        background-position: -100px 0px;
        background-size: 2750px;
    }
}


figure {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #eee;
    margin: auto;
}

figure img {
    height: 100px;
}

.check-list {
    margin: 0;
    padding-left: 1.2rem;
}

.check-list li {

    list-style-type: none;
    margin-bottom: 0.5rem;
}

.check-list2 li:before {
    content: '';
    display: block;
    width: 5px;
    height: 11px;
    border-width: 0 2px 2px 0;
    border-style: solid;
    border-color: #00a8a8;
    transform-origin: bottom left;
    transform: rotate(45deg);
}

.title {
    background: #000000;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0f9b0f, #fa0707);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0f9b0f, #fa0707);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    font-size: calc(1.3rem + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
    line-height: calc(1.3em + (1.5 - 1.3) * ((100vw - 21em)/(35 - 21)));
    line-height: 110%;
}

h1,h2,h3 {
        background: linear-gradient(0deg, #ff7e5f, #e94219);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2em;
        margin-bottom: 1rem;
    }

.title {
    margin-bottom: 2rem;
}

.graph-paper {
    background-color: #ffffff;
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
    background-image: -webkit-linear-gradient(rgba(56, 56, 56, 0.5) 2px, transparent 2px), -webkit-linear-gradient(0, rgba(56, 56, 56, 0.5) 2px, transparent 2px), -webkit-linear-gradient(rgba(56, 56, 56, 0.5) 1px, transparent 1px), -webkit-linear-gradient(0, rgba(56, 56, 56, 0.5) 1px, transparent 1px);
    background-image: -moz-linear-gradient(rgba(56, 56, 56, 0.5) 1px, transparent 1px), -moz-linear-gradient(0, rgba(56, 56, 56, 0.5) 1px, transparent 1px), -moz-linear-gradient(rgba(56, 56, 56, 0.5) 1px, transparent 1px), -moz-linear-gradient(0, rgba(56, 56, 56, 0.5) 1px, transparent 1px);
    background-image: linear-gradient(rgba(56, 56, 56, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 56, 56, 0.5) 1px, transparent 1px), linear-gradient(rgba(56, 56, 56, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 56, 56, 0.5) 1px, transparent 1px);
}

.event-image {
    position: absolute;
    z-index: -10;
    max-height: 100%;
    height: 300px;
    float: left;
}

.event-background {
    background: var(--hero-background);
    background-position: right bottom;
    background-size: cover;
    text-align: left;
    color: white;
}

.hero-text {
    text-align: center;
    color: #fafafa;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    line-height: 1em;
    padding-bottom: 2rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.852);
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #eee;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2em;
}

.logo {
    max-height: 100px;
    margin: auto;
    margin-bottom: 1rem;
}

.container-main {
    border: none;
    background: linear-gradient(180deg, gold 0%, #fff 7%);
}

footer .container {
    color: white;
}

.tax-selector {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    align-content: stretch;
}

@media (max-width: 800px) {
    .tax-selector {
        flex-direction: column;
    }

    .tax {
        flex: 100%;
        width: 100%;
    }
}

.tax {
    flex: 45%;
    position: relative;
    border: 2px solid #ccc;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1), 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 1rem;
    margin: 5px;
    cursor: pointer;
}

.tax.selected {
    background: var(--primary-background)!important;
    border: solid 2px #fff;
}

.tax:hover {
    background: #fff;
}

.tax .item {
    font-size: 1.1em;
    font-weight: bold;
}

.tax .valid {
    color: #888;
}

.tax .value {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 1.3em;
    font-weight: bold;
}

.tab-content,
.tab-content h3 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13pt;
}

.numesesiune {
    font-weight: bold;
    font-size: 1em;
}

.bg-toevaluate {
    background-color: #faa;
}


/* NAVBAR */
.navcontainer {
    background: var(--primary-background);
    background: white;
    color: black;
}

.navbar {
    background-color: transparent !important;
    padding: 0.5rem 1rem;
}

.navbar .navbar-brand,
.navbar .nav-link {
    

    background-color: rgba(255, 255, 255, 0.2);
    padding-left: .5rem;
    padding-right: .5rem;
    margin-left: .3rem;
    margin-right: .3rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #f05806;
}

.navbar .nav-link.active {
    font-weight: 600;
    border-bottom: 2px solid #ffe9a8;
    animation: slidein 5s linear infinite;
}
@keyframes slidein {
    from {
        border-bottom-color: #ffe9a8;
    }
    to {
        border-bottom-color: #ff0000;
    }
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-toggler-icon {
    
}

#main {
    background-color: #efefef;
    padding: 2rem;
    padding-top: 1rem;
    min-height: 80vh;
    margin-bottom: 3rem;
}

footer {
    background: var(--primary-background), url('/upload/event-bg.jpg') center/cover;
    padding: 1rem;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.custom-alert {
    z-index: 2000;
    position: fixed;
    top: 10px;
    right: 30px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    border:solid 3px #f00;
}
