html {
  font-family: 'Montserrat', sans-serif;
  background-color: whitesmoke;
  color: black;
  margin: -5px;
  padding: -5px;
}

.hide{
  display: none;
}

@keyframes fade{
  0%{
      opacity: 0;
  }
  100%{
      opacity: 1;
  }
}


/*========== HEADER ==========*/
.header-flex {
  display: flex;
  justify-content: flex-start;
  height: 15%;
  width: 100%;
  position: sticky;
  top: 0px;
  background-color: whitesmoke;
}

.header-elements {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
}

.header-logo {
  height: 60px;
  transition: transform .2s;
}

.header-logo:hover {
  transform: scale(1.1);
}

.tab-row {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  font-family: 'Montserrat', sans-serif;
  width: 30%;
}

.tab-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35%;
  margin: 5px;
  padding: 10px;
  font-size: 20px;
  font-weight: 500;
  border-radius: 10px;
  border: none;
  color: #000067;
  transition-duration: 0.3s;
  text-decoration: none;
}

.tab-button:hover {
  background-color: #000067;
  color: #fdfdfe;
  transform: scale(1.07);
}


/*-------------- BODY --------------*/
.flex-main {
  display: flex;
  justify-content: flex-start;
  background-image: url("../assets/images/background-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}


.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 95vh;
  width: 65vw;

}


/*-------------- CONTAINER 1: COUNTRY SEARCH FEATURE --------------*/
.country-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 50%;
  width: 35%;
  margin: 20px;
  background-color: whitesmoke;
}

.search-country {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100%;
  margin-bottom: 15px;
  font-weight: 700;
  transition-duration: 0.3s;
}

.search-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  cursor: pointer;
  border: none;
  color: whitesmoke;
}

.search-bar input {
  height: 70%;
  width: 100%;
  font-size: 18px;
  padding: 5px;
  padding-left: 20px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  border: 2px solid #000067;
}


/*--- CONTAINER FOR COUNTRY LIST ---*/
.country-list-container {
  position: relative;
  height: 95%;
  width: 100%;
}

.country-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  overflow-x: none;
  box-shadow: 3px 6px 16px -3px rgba(0, 0, 0, 0.856);
  font-weight: 500;
  font-size: 20px;
  background-color: whitesmoke;
  border-radius: 10px;
}

.country-list ul{
  width: 100%;
  font-size: 18px;
}

.country-list ul li{
  list-style: none;
  cursor: pointer;
  padding: 5px;
  margin-left: -25px;
  color: #000067;
  transition-duration: 0.1s;
}

.country-list ul li:hover{
  background-color:  #000067;
  color: rgb(219, 218, 218);
}

.country-list::-webkit-scrollbar {
  width: 10px;
}

.country-list::-webkit-scrollbar-track {
  background: whitesmoke;
  display: none;
}

.country-list::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
  background: rgb(141, 141, 141);
}



/*-------------- CONTAINER 2: DATA --------------*/
.statistics-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80%;
  width: 45%;
  margin: 20px;
}

.country-name {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10%;
  width: 90%;
  color: #000067;
  background-color: whitesmoke;
  box-shadow: 3px 6px 16px -3px rgba(26, 26, 26, 0.75);
  border-radius: 10px;
  font-size: 30px;
  font-weight: 600;
  transition-duration: 0.3s;
  margin: 10px;
}

.country-name:hover {
  transform: scale(1.03);
}

.c-cases-container, .r-cases-container, .d-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 20%;
  width: 90%;
  margin: 10px;
  border-radius: 10px;
  background-color: #000067;
  color: whitesmoke;
  box-shadow: 3px 6px 16px -3px rgba(0, 0, 0, 0.856);
}


.label {
  display: flex;
  justify-content: center;
  width: 90%;
  padding: 5px;
  font-size: 24px;
  font-weight: 600;
  height: 20%;
  transition-duration: 0.3s;
}

.label:hover {
  transform: scale(1.07);
}

.value {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  font-size: 24px;
  width: 100%;
  height: 20%;
  transition-duration: 0.3s;
}

.new-value {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  font-size: 24px;
  width: 100%;
  transition-duration: 0.3s;
}

.value:hover {
  transform: scale(1.07);
}

.new-value:hover {
  transform: scale(1.07);
}

.c-cases-container {
  background-color: #000067;
}

.r-cases-container {
  background-color: #306844;
}

.d-container {
  background-color: #940000;
}