.container-nav {
    height: 30px;
    width: 100%;
    background-color: #d2f5f5;
}

.intro-heading {
    color: #f1f1f1;
    font-family: "SF Pro Display", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 700;
}

.intro-section {
    text-align: center;
    min-height: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.intro-section:hover .intro-heading {
    color: #03dac5;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    width: 100%;
    font-family: Open Sans, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #d2f5f5;
}

.stats {
    margin: 0;
    text-align: left;
    color: #525f7f;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    margin: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-weight: 700;
    color: #32325f;
    margin: 0;
}

.text-muted {
    color: #8898aa !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-white {
    color: #fff !important;
}

.shadow {
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.container {
    max-width: 320px;
    height: auto;
    background: #f4f8fd;
    border-radius: 10px;
    padding: 10px;
}

h1.title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
}

.col {
    max-width: 100%;
    flex-basis: 0;
    flex-grow: 1;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
    border-radius: 15px;
    margin: 10px;
}

.card-body {
    min-height: 1px;
    padding: 1.5rem;
    display: flex;
    padding: 1rem 1.5rem;
    border-radius: 15px;
}

.card-body .h2 {
    font-size: 2rem;
}

.icon {
    width: 4rem;
    height: 4rem;
    max-width: 100%;
    flex: 0 0 auto;
}

.icon-shape {
    display: inline-flex;
    padding: 12px;
    text-align: center;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.icon-shape i,
.icon-shape svg {
    font-size: 2rem;
}

.bg-gradient-red {
    background: linear-gradient(87deg, #f5365c 0, #f56036 100%) !important;
}

.bg-gradient-blue {
    background: linear-gradient(87deg, #11cdef 0, #1171ef 100%) !important;
}

.bg-gradient-green {
    background: linear-gradient(87deg, #2dce89 0, #2dcecc 100%) !important;
}

.bg-gradient-orange {
    background: linear-gradient(87deg, #fb6340 0, #fbb140 100%) !important;
}

@media (min-width: 767px) {
    .social {
        position: absolute;
        right: 0;
        top: 33.33%;
    }
    .social ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .social ul li {
        margin: 5px 10px;
    }
    .social ul li a {
        color: #403f4c;
        font-size: 25px;
        height: 50px;
        width: 50px;
        text-decoration: none;
    }
    .social ul li a:hover {
        color: #272523;
    }
}

.hide {
    display: none;
}

.fadeIn {
    animation: fade 0.5s ease-in-out;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.country {
    text-align: center;
}

.name {
    font-size: 2.2em;
    color: rgb(231, 54, 46);
    font-weight: bold;
}

.change-country {
    cursor: pointer;
}

.total-cases .value {
    font-size: 2rem;
}

.recovered .value {
    font-size: 2rem;
}

.deaths .value {
    font-size: 2rem;
}

.new-value {
    font-size: 1.3em;
}


/* -------- SEARCH COUNTRY -------- */

.search-country {
    position: relative;
    top: 10px;
}

.search-box {
    display: none;
}

.search-box input {
    display: none;
}

.search-box img {
    display: none;
}

.country-list {
    display: flex;
    flex-direction: column;
    justify-self: start;
    height: 40vh;
    background-color: rgb(248, 248, 248);
    overflow-y: scroll;
}

.country-list ul {
    padding-inline-start: initial;
}

.country-list ul li {
    list-style: none;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    color: #32325f;
}

.country-list ul li:hover {
    background-color: #2196f3;
    color: white;
}


/* SCROLL BAR */

.country-list::-webkit-scrollbar {
    width: 10px;
}


/* Handle */

.country-list::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}


/* Handle on hover */

.country-list::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

.country .country-list {
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
}

.country {
    padding-bottom: 10px;
    padding-left: 10px;
    width: 290px;
}

.mod-1 {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.chart .container-chart {
    width: 100%;
    height: auto;
    background: #f4f8fd;
    border-radius: 15px;
    padding: 10px;
}

.covid_chart {
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
    border-radius: 15px;
    margin: 15px;
    padding: 15px;
}

.range-slider {
    margin: 5px;
}

.range-slider {
    width: 40%;
}

.range-slider__range {
    -webkit-appearance: none;
    width: calc(100% - (73px));
    height: 10px;
    border-radius: 5px;
    background: #d7dcdf;
    outline: none;
    padding: 0;
    margin: 0;
}

.range-slider__range::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c3e50;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.range-slider__range::-webkit-slider-thumb:hover {
    background: #1abc9c;
}

.range-slider__range:active::-webkit-slider-thumb {
    background: #1abc9c;
}

.range-slider__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #2c3e50;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.range-slider__range::-moz-range-thumb:hover {
    background: #1abc9c;
}

.range-slider__range:active::-moz-range-thumb {
    background: #1abc9c;
}

.range-slider__range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #1abc9c;
}

.range-slider__value {
    display: inline-block;
    position: relative;
    width: 60px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    background: #2c3e50;
    padding: 5px 10px;
    margin-left: 8px;
    font-size: 10px;
    font-weight: 500;
}

.range-slider__value:after {
    position: absolute;
    top: 8px;
    left: -7px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 7px solid #2c3e50;
    border-bottom: 7px solid transparent;
    content: '';
}

::-moz-range-track {
    background: #d7dcdf;
    border: 0;
}

input::-moz-focus-inner,
input::-moz-focus-outer {
    border: 0;
}

.chart_active .container-chart {
    margin: 55px;
    width: 92%;
    height: auto;
    background: #f4f8fd;
    border-radius: 15px;
    padding: 10px;
}

#nav-colors,
#font-colors,
#edges {
    margin-top: 10px;
}

#nav-colors .btn,
#font-colors .btn,
#edges .btn {
    display: inline-block;
    padding: 10px;
    margin: 0 5px;
    border: 2px solid #111;
    transition: 0.2s ease;
}

#nav-colors .btn:hover,
#font-colors .btn:hover,
#edges .btn:hover {
    border: 2px solid white;
}

#nav-colors #pink {
    background: linear-gradient(to right, #ff5858, #f857a6);
}

#nav-colors #red {
    background: linear-gradient(to right, #d31027, #ea384d);
}

#nav-colors #purple {
    background: linear-gradient(to right, #41295a, #2f0743);
}

#nav-colors #blue {
    background: linear-gradient(to right, #396afc, #2948ff);
}

#nav-colors #green {
    background: linear-gradient(to right, #add100, #7b920a);
}

#nav-colors #yellow {
    background: linear-gradient(to right, #f7971e, #ffd200);
}

#nav-colors #orange {
    background: linear-gradient(to right, #e43a15, #e65245);
}

#font-colors #white {
    background: white;
}

#font-colors #black {
    background: black;
}

#edges #rounded {
    background: black;
}

#edges #square {
    background: black;
    border-radius: 0px;
}

#edges #rounded:hover,
#edges #square:hover {
    color: white;
}

.navbar {
    border: 0;
    border-radius: 0;
    background: linear-gradient(to right, #ff5858, #f857a6);
}

.navbar .nav li>a,
.navbar .navbar-brand {
    max-height: 50px;
    width: auto;
    background: transparent !important;
    font-size: 18px;
    transition: 0.2s ease-in-out;
}

.navbar .nav li>a:hover,
.navbar .navbar-brand:hover {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.navbar .nav li>a:hover .link,
.navbar .navbar-brand:hover .link {
    width: 100%;
    padding: 0 5px 0 5px;
    visibility: visible;
    font-size: 14px;
}

.navbar .link {
    width: 0;
    font-family: 'Roboto', sans-serif;
    transition: 0.2s ease-in-out;
    visibility: hidden;
    font-size: 0px;
}

.navbar span {
    color: white;
}

.navbar .navbar-toggle {
    padding-right: 0;
}

.navbar .navbar-toggle .icon-bar {
    background: white;
}

.navbar .navbar-collapse {
    display: none;
}

.navbar button {
    background: transparent;
}

.navbar button[type=submit] {
    padding-right: 0;
}

.navbar button[type=submit] span {
    transition: 0.3s ease-in-out;
}

.navbar button[type=submit]:hover span {
    transform: scale(1.3) rotate(90deg);
}

.navbar form {
    padding: 0;
}

.navbar form .form-control {
    border: 0;
    border-radius: 0;
    color: black;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.7);
    transition: 0.2s ease-in-out;
}

.navbar form .form-control:hover {
    background: white;
}

.navbar .dropdown .fa-caret-down {
    padding-left: 3px;
    font-size: 18px;
    transition: 0.4s ease;
}

.navbar .dropdown.open {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.navbar .dropdown.open .link {
    width: 100%;
    visibility: visible;
    font-size: 14px;
    padding: 0 5px 0 5px;
}

.navbar .dropdown.open .dropdown-toggle {
    font-size: 14px;
}

.navbar .dropdown.open .fa-caret-down {
    transform: rotate(180deg);
}

.navbar .dropdown .dropdown-menu {
    min-width: 0px !important;
    width: 100%;
    background: #ff5858;
    text-align: center;
    border-radius: 0;
}

.navbar .dropdown .dropdown-menu li,
.navbar .dropdown .dropdown-menu a {
    color: white;
    font-size: 14px;
    line-height: 30px;
}

.navbar .dropdown .dropdown-menu li:hover,
.navbar .dropdown .dropdown-menu a:hover {
    color: white;
    letter-spacing: 1px;
    background: transparent;
}

.navbar .dropdown .dropdown-menu a {
    padding: 0 15px 0 15px;
}

@media (max-width: 769px) {
    .navbar .link {
        padding-left: 10px;
        visibility: visible;
        width: 100%;
        font-size: 14px;
    }
    .navbar .navbar-brand .link {
        visibility: hidden;
    }
    .dropdown .dropdown-menu {
        text-align: left !important;
    }
    button[type=submit] {
        width: 50%;
        float: left;
    }
    .navbar-form {
        border: 0;
    }
    .form-group {
        padding: 0;
        margin: 0;
    }
    .form-group input {
        width: 50%;
        float: left;
    }
}

.button {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 60px;
    line-height: 60px;
    border-radius: 36px;
    font-size: 1.4em;
    background-color: rgb(69, 122, 236);
    color: #646464;
    margin: 55px;
}

.center {
    text-align: center;
}

.button-a {
    text-decoration: none;
    color: rgb(248, 248, 248);
}

.button.raised:hover {
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}

.button.raised:hover {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
    transition-delay: 0s;
}