:root {
    --primary: #11325b;
    --danger: #c82135;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Light.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-MediumItalic.ttf");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf");
    font-weight: 600;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-ExtraBold.ttf");
    font-weight: 800;
}

.btn {
    border-radius: 1em;
}

.rounded-border {
    width: 100%;
    height: 150px;
}

.rounded-border>path {
    fill: var(--primary);
}

.rounded-border-top {
    transform: rotate(180deg);
    margin-top: -4em;
    margin-bottom: -2em;
}

.rounded-border-bottom {
    margin-top: -4em;
    margin-bottom: -2em;
}

@media screen and (max-width: 575px) {
    .logo {
        max-width: 100% !important;
    }

    #chart svg text {
        font-size: 0.7em;
    }
}

@media screen and (min-width: 576px) {
    #info-container p {
        font-weight: 300;
        font-size: 1em;
    }
}

@media screen and (min-width: 769px) {
    #info-container p {
        font-weight: 300;
        font-size: 1.3em;
    }

    .rounded-border {
        width: 100%;
        height: 300px;
    }
    
    .rounded-border>path {
        fill: var(--primary);
    }
    
    .rounded-border-top {
        transform: rotate(180deg);
        margin-top: -6em;
        margin-bottom: -7em;
    }
    
    .rounded-border-bottom {
        margin-bottom: -7em;
        margin-top: -10em;
    }

    #chart svg text {
        font-size: 0.95em;
    }
}

.btn-primary,
.bg-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary);
    color: white;
}

.bg-dark {
    background-color: black !important;
}

.bg-danger {
    background-color: var(--danger) !important;
}

.logo {
    max-width: 200px;
}

.text-primary {
    color: var(--primary) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.card {
    border-radius: 2em;
    padding-left: 3.5em;
    padding-right: 3.5em;
}

button,
h1,
h2,
h3,
input,
p,
a,
label,
span {
    font-family: 'Poppins';
}

#form-container {
    /* margin-top: -3em; */
    padding-top: 5em !important;
    padding-bottom: 2em;
}

.form-group {
    position: relative;
}

.form-group+.form-group {
    margin-top: 30px;
}

.form-label {
    position: absolute;
    left: 0;
    top: 10px;
    color: white;
    background-color: transparent;
    z-index: 10;
    transition: transform 150ms ease-out, font-size 150ms ease-out;
    cursor: text;
}

.focused .form-label {
    transform: translateY(-125%);
    font-size: .75em;
    background-color: var(--danger);
}

.form-input {
    position: relative;
    width: 100%;
    outline: 0;
    border: 2px solid white;
    transition: box-shadow 150ms ease-out;
    background-color: var(--danger);
    color: white;
    border-radius: 2em;
}

.form-input[type="text"] {
    padding: 12px 0px 5px 0;
}

.border-radius {
    border-radius: 2em;
}

#xsoverlay {
    z-index: 99;
}

#xsalert {
    z-index: 100;
}