/*
  But     : Main CSS file
  Auteur  : Schneider Baptiste
  Date    : 25.05.2024 / v1.0 
*/

.center-footer{
  margin-top: 70px;
  font-size: 18px;
}

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

body {
  margin: 0;
  font-family: var(--bs-font-sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1200px) {
  .display-3 {
    font-size: 4rem;
  }
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.5rem;
  }
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 1rem 1rem;
  margin-bottom: 10px;
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-lg,
.navbar > .container-md,
.navbar > .container-sm,
.navbar > .container-xl,
.navbar > .container-xxl {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

.d-inline-block {
  display: inline-block !important;
}

.d-flex {
  display: flex !important;
}

.position-relative {
  position: relative !important;
}

.position-fixed {
  position: fixed !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-auto {
  margin-right: auto !important;
}

.text-center {
  text-align: center !important;
}

@media (min-width: 992px) {
  .flex-lg-row {
    flex-direction: row !important;
  }

  .mx-lg-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
  }

  .my-lg-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.text-justify {
  text-align: justify;
}

html {
  background-color: #fff;
}

body {
  margin-bottom: 149px;
  background-color: white;
}

body::-webkit-scrollbar {
  width: 14px;
  background-color: #87ceeb;
}

body::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 10px;
}

/* Imports fonts */
@font-face {
  font-family: Varela;
  src: url("../../fonts/VarelaRound-Regular.ttf");
}

/* Navbar */
.navbar {
  background-color: #87ceeb !important;
  animation: fromTop 0.7s;
  font-family: Varela;
}

/* Cursor pointer on nav links */
#a-home,
#a-station,
#a-map {
  cursor: pointer;
  color: black;
}

.navbar-brand {
  text-transform: uppercase;
}

/* Links in navbar animation */
.items-nav::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.4s;
}

.items-nav:hover::after {
  width: 100%;
}

.active::after {
  width: 100%;
}

/* Remove outline on bootstrap toggle button */
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

/* Title of each view */
.title-view-anime {
  animation: fromTop 1s;
  font-weight: bold;
  font-family: Varela;
}

.weather-home {
  height: 310px;
  border: 1px solid black;
  border-radius: 15px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.weather-home:hover {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}

.weather-title-icon {
  display: flex;
  justify-content: space-between;
}

.weather-1 {
  background-image: url("../../img/madrid.jpg");
  background-size: cover;
}

.weather-2 {
  background-image: url("../../img/paris.jpg");
  background-size: cover;
}

.weather-3 {
  background-image: url("../../img/stockholm.jpg");
  background-size: cover;
}

.weather-4 {
  background-image: url("../../img/zurich.jpg");
  background-size: cover;
}

.weather-5 {
  background-image: url("../../img/prague.jpg");
  background-size: cover;
}

.weather-6 {
  background-image: url("../../img/sofia.jpg");
  background-size: cover;
}

.icon {
  height: 96px;
  width: 96px;
}

.title-city,
.subtitle {
  font-weight: 500;
}

.temp-big-city {
  color: white;
  font-size: 35pt;
}

.div-temperature-city {
  position: absolute;
  color: white;
}

.temperature-city {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 20px;
}

.text-home {
  font-size: x-large;
}

.link {
  cursor: pointer;
  color: white;
  transition: color 0.3s ease-in-out;
}

.link:hover {
  color: black;
  transition: color 0.3s ease-in-out;
}

.items-tab {
  color: black;
  cursor: pointer;
  font-family: Varela;
}

.items-tab:hover {
  color: black;
}

.nav-tabs {
  border-bottom: 1px solid white !important;
}

.selected {
  border: 1px solid white !important;
  background-color: white !important;
}

.city-title {
  font-family: Varela;
  font-size: 72px;
}

.city-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.city-icon {
  height: 96px;
  width: 96px;
}

.text-icon {
  font-size: medium;
  font-family: Varela;
}

/* footer */
footer {
  width: 100%;
  height: 150px;
  z-index: -1;
  background-color: #87ceeb;
}

.mapid {
  height: 800px;
}

@media screen and (max-width: 576px) {
  .mapid {
    height: 600px;
  }

  .weather-home {
    height: 220px;
  }
}

/* Keyframes animations */
@keyframes fromLeftWithBlur {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes fromRightWithBlur {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes fromTop {
  0% {
    transform: translateY(-100px);
  }

  100% {
    transform: translateY(0px);
  }
}

.row-current,
.row-forecast {
  height: auto;
  padding: 20px;
  color: black;
}

.info-current,
.info-forecast {
  font-family: Varela;
  font-size: xx-large;
}

.desc-current,
.desc-forecast {
  font-family: Varela;
  font-size: large;
}

.div-clickable-current,
.div-clickable-forecast {
  transition: background-color 0.4s ease-in-out;
}

.div-clickable-current:hover,
.div-clickable-forecast:hover {
  cursor: pointer;
  background-color: #87ceeb;
  transition: background-color 0.4s ease-in-out;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-body {
  background-color: #87ceeb !important;
}

.title-accordion-items {
  font-family: Varela;
}

.days-hour-1-forecast,
.days-temp-1-forecast {
  font-family: Varela;
}
