/*Font family*/
.modal-title, .info-btn {
  font-family: 'Roboto', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: auto;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 1);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
}

.spinner {
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Country Selector */
#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
}

#countrySelect {
  width: 200px;
  margin: 0 auto;
}

/* Leaflet Map */
#map {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* Modal common */

.closeModalButton {
  background-color: white;
  color: black;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: black solid 2px;
  box-shadow: 0 0 0 0 black;
}

.closeModalButton:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 0 0 black;
}

.closeModalButton:active {
  transform: translateY(2px) translateX(1px);
  box-shadow: 0 0 0 0 black;
}

/* General modal*/

/* Common styles for selective button for general info , economy, development and health sections */
.info-btn {
  font-size: 1.3rem;
  font-weight: 800;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 2em;
  background: #fff;
  transition: all 0.1s linear;
  box-shadow: 0 0.4em 1em #3A9AD9;
  overflow: hidden;
  cursor: pointer;
  margin: 5px 8px;
  flex-shrink: 0;
}

.info-btn:active {
  transform: scale(0.95);
}

.info-btn span {
  color: #464646;
  position: relative;
  z-index: 2;
}

.info-btn:hover {
  background: #f0f0f0;
}

.info-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px #a0c4ff;
}

/* weather modal*/
.weatherIcon, .weatherIcon1, .weatherIcon2 {
  width: 110px;
}

.weatherIcon1, .weatherIcon2 {
  width: 105px;
}

/* Hiding  symbolised button for general info , economy, development and health sections for larger screens */
.buttonSymbol {
  display: none !important;
}

/* Table styles */
.table {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

tr {
  border: #b7b7b7 solid 3px;
  border-radius: 5px;
}

/* Model currency */
#contactForm {
  width: 90%;
  margin-left: 20px;
}

/* Model News */
.table-borderless td, 
.table-borderless th, 
.table-borderless tr {
  border: none !important;
}

/* Model weather */
.cell {
  transition: transform 0.3s ease;
}

.cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Adjust for screen sizes */
@media(max-width:991px) {
  .buttonName {
  display: none !important;
  }

  .buttonSymbol {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

@media(max-width:575px) {

  .modal-title {
    font-size: 1rem;
  }
}

@media(max-width:465px) {
  .buttonSymbol {
    justify-content: center;
  }
}