body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #000;
}
/* .middle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
} */
.bar {
  width: 10px;
  height: 70px;
  background: #fff;
  display: inline-block;
  transform-origin: bottom center;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  /* box-shadow:5px 10px 20px inset rgba(255,23,25.2);  */
  animation: loader 1.2s linear infinite;
}
.bar1 {
  animation-delay: 0.1s;
}
.bar2 {
  animation-delay: 0.2s;
}
.bar3 {
  animation-delay: 0.3s;
}
.bar4 {
  animation-delay: 0.4s;
}
.bar5 {
  animation-delay: 0.5s;
}
.bar6 {
  animation-delay: 0.6s;
}
.bar7 {
  animation-delay: 0.7s;
}
.bar8 {
  animation-delay: 0.8s;
}
.bar9 {
  animation-delay: 0.9s;
}
.bar10 {
  animation-delay: 1s;
}

@keyframes loader {
  0% {
    transform: scaleY(0.1);
    /* background: ; */
  }
  50% {
    transform: scaleY(1);
    background: yellowgreen;
  }
  100% {
    transform: scaleY(0.1);
    background: transparent;
  }
}

* {
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
  display: none;
}

body {
  position: relative;
  height: 100%;
}

#loading {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #fff url("loading.svg") no-repeat center;
  z-index: 99999;
}

.cont {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0px;
}

.bottom_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 15px;
}

.one {
  margin-top: 1.5em;
  padding: 15px;
  display: inline-block;
  font-size: 20px;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  border-radius: 25px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  width: 30%;
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  text-align: center;
  opacity: 0.9;
}

@media only screen and (max-width: 768px) {
  .one {
    width: auto;
    display: inline-block;
  }
}

.two {
  display: flex;
  height: 75vh;
  top: 10%;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.three {
  position: relative;
  display: flex;
  height: 45vh;
  top: 10%;
  margin-top: 10px;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.four {
  display: flex;
  height: 75vh;
  top: 10%;
  margin-top: 10px;
  justify-content: right;
  align-items: center;
  box-sizing: border-box;
}

.five {
  display: flex;
  height: 75vh;
  top: 10%;
  justify-content: right;
  align-items: center;
  box-sizing: border-box;
}

.five-center {
  position: relative;
  /* display: flex; */
  height: 75vh;
  top: 10%;
  /* justify-content: center;
  align-items: center; */
  box-sizing: border-box;
}

.card {
  /* position: absolute; */
  position: relative;
  text-align: left;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  color: black;
  padding: 2em;
  width: 100%;
  max-width: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
  margin: 1em;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.search {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: translateZ(30px);
}

.icon {
  animation: rotates 2.5s linear infinite alternate;
}

@keyframes rotates {
  from {
    transform: translate(-0.4em);
  }
  to {
    transform: translate(0.4em);
  }
}

button {
  margin: 0.5em;
  border-radius: 50%;
  border: none;
  height: 46px;
  width: 46px;
  outline: none;
  background: black;
  color: white;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

input.search-bar {
  border: none;
  outline: none;
  padding: 0.5em 1em;
  border-radius: 24px;
  background: black;
  color: black;
  font-family: inherit;
  font-size: 120%;
  width: calc(70%);
  background: rgba(0, 0, 0, 0.1);
  transform: translateZ(30px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(3px);
}

::placeholder {
  color: black;
  opacity: 0.7;
}
button:hover {
  border: white 0.2em solid;
  transition: 0.2s ease-in-out;
}

.card:after {
  content: "";
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  transform: translate3d(0, 0, 0);
}

@keyframes drift {
  from {
    transform: rotate(0deg);
  }
  from {
    transform: rotate(360deg);
  }
}

h2.city {
  margin-top: 0.5em;
  text-align: center;
  font-size: 1.5em;
  transform: translateZ(30px);
}

h1.temp {
  margin: 0;
  font-size: 2em;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 0.1em;
  transform: translateZ(30px);
}

.description {
  text-transform: capitalize;
  margin-left: 8px;
}

.flex {
  display: flex;
  justify-content: left;
}

.other {
  font-size: 1.2em;
  font-weight: 500;
  transform: translateZ(30px);
}

.weather.loading {
  visibility: hidden;
  max-height: 20px;
  position: relative;
  align-items: center;
}

.weather.loading:after {
  visibility: visible;
  content: "Loading...";
  color: white;
  position: absolute;
  top: 0;
  left: 20px;
}

.mail{
  display: flex;
  text-align: center;
  align-items: flex-end;
  justify-content: right;
  box-sizing: border-box;
  position: relative;
}

a{
  text-decoration-color: blueviolet ;
  color:black;
}

.name {
  text-decoration: none;
  color: black;
  margin-left: auto;
  font-weight: 700;
  font-size: 1em;
  padding: 15px;
  overflow: hidden;
  border-radius: 15px;
  width: 15em;
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  opacity: 0.9;
}

/* Float four columns side by side */
.column {
  float: left;
  width: 30%;
  padding: 0 10px;
}

/* Remove extra left and right margins, due to padding in columns */
.row {margin: 0 -5px;}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Set the size of the div element that contains the map */
#map {
  height: 600px; /* The height is 400 pixels */
  min-height: 100px;
  width: 100%;
  position: absolute;
  left: auto;
}

/* new */


.panel {
  box-shadow: 0 2px 0 rgba(0,0,0,0.075);
  border-radius: 0;
  border: 0;
  margin-bottom: 24px;
}
.panel .panel-heading, .panel>:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.panel-heading {
  position: relative;
  height: 50px;
  padding: 0;
  border-bottom:1px solid #eee;
}
.panel-control {
  height: 100%;
  position: relative;
  float: right;
  padding: 0 4px;
}
.panel-title {
  font-weight: normal;
  padding: 0 4px 0 4px;
  font-size: 1.416em;
  line-height: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-control>.btn:last-child, .panel-control>.btn-group:last-child>.btn:first-child {
  border-bottom-right-radius: 0;
}
.panel-control .btn, .panel-control .dropdown-toggle.btn {
  border: 0;
}
.nano {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.nano>.nano-content {
  position: absolute;
  overflow: scroll;
  overflow-x: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.pad-all {
  padding: 15px;
}
.mar-btm {
  margin-bottom: 15px;
}
.media-block .media-left {
  display: block;
  float: left;
}
.img-sm {
  width: 46px;
  height: 46px;
}
.media-block .media-body {
  display: block;
  overflow: hidden;
  width: auto;
}
.pad-hor {
  padding-left: 15px;
  padding-right: 15px;
}
.speech {
  position: relative;
  background: #b7dcfe;
  color: #317787;
  display: inline-block;
  border-radius: 0;
  padding: 12px 20px;
}
.speech:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  left: 0;
  top: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid #b7dcfe;
  margin: 15px 0 0 -6px;
}
.speech-right>.speech:before {
  left: auto;
  right: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #ffdc91;
  border-right: 0;
  margin: 15px -6px 0 0;
}
.speech .media-heading {
  font-size: 1.2em;
  color: #317787;
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 10px;
  padding-bottom: 5px;
  font-weight: 300;
}
.speech-time {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: .8em;
  font-weight: 300;
}
.media-block .media-right {
  float: right;
}
.speech-right {
  text-align: right;
}
.pad-hor {
  padding-left: 15px;
  padding-right: 15px;
}
.speech-right>.speech {
  background: #ffda87;
  color: #a07617;
  text-align: right;
}
.speech-right>.speech .media-heading {
  color: #a07617;
}
.btn-primary, .btn-primary:focus, .btn-hover-primary:hover, .btn-hover-primary:active, .btn-hover-primary.active, .btn.btn-active-primary:active, .btn.btn-active-primary.active, .dropdown.open>.btn.btn-active-primary, .btn-group.open .dropdown-toggle.btn.btn-active-primary {
  background-color: #579ddb;
  border-color: #5fa2dd;
  color: #fff !important;
}
.btn {
  cursor: pointer;
  /* background-color: transparent; */
  color: inherit;
  padding: 6px 12px;
  border-radius: 0;
  border: 1px solid 0;
  font-size: 11px;
  line-height: 1.42857;
  vertical-align: middle;
  -webkit-transition: all .25s;
  transition: all .25s;
}
.form-control {
  font-size: 11px;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e9e9e9;
  transition-duration: .5s;
}
.nano>.nano-pane {
  background-color: rgba(0,0,0,0.1);
  position: absolute;
  width: 5px;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: all .7s;
  transition: all .7s;
}

/* Reset lại một vài thuộc tính */
* {
  margin: 0;
  padding: 0;
}

ol, ul { list-style: none; }

img { border: none; vertical-align: top; }

/* Nội dung layout */
#layout {
  /* border: 1px solid #a3a2a3; */
  margin: 20px auto;
  width: 80%;
}
header, footer, #content, aside, .box-list li {
  font-size: 30px;
  text-align: center;
}
header {
  background-color: #92dfc8;
  height: 80px;
  line-height: 80px;
}
main {
  display: flex;
  flex-wrap: wrap-reverse;
}
#content {
  display: flex;
  background-color: #caeff2;
  height: 800px;
  /* line-height: 400px; */
  width: 100%;
}
aside {
  float: right;
  align-content: center;
  background-color: #f2d8ca;
  height: 200px;
  /* line-height: 400px; */
  width: 60%;
}
.box-list {
  display: flex;
  margin-top: 10px;
}
.box-list li {
  background-color: #f2f1ca;
  height: 150px;
  line-height: 150px;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 167.49px;
}
.box-list li:last-child {
  margin-right: 0;
}
footer {
  background-color: #eecbf3;
  height: 80px;
  line-height: 80px;
}

@media only screen and (max-width: 700px) {
  #layout, aside {
      width: 100%;
  }
  main {
      flex-direction: column;
  }
  aside {
      order: 2;
  }
  .box-list {
      flex-wrap: wrap;
      justify-content: space-around;
      order: 1;
  }
  .box-list li {
      margin-right: 0;
      width: 48%;
  }
  #map {
    height: 300px; 
  }
}

@media only screen and (max-width: 468px) {
  .box-list li {
      width: 100%;
  }
  #map {
    height: 300px; 
  }
}

#message {
  position: absolute;
  width: 100%;
  top: 20px;
  text-align: center;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
  z-index: 1;
}