@import url(https://fonts.googleapis.com/css2?family=Overpass&display=swap);

.wrap-map {
  width: 100vw;
}

.wrap-sidebar{
  position: absolute;
  top: 100px;
  right: 0;
  width: 40vw;
  max-height: 85vh;
  padding: 10px;
  overflow-x: hidden;
  border: 0;
  display: none;
  text-align: center;
}

.content-data{
  width: 650px;
  height: 600px;
}

.content-info{
  width: 600px;
  height: 1420px;
}

.btnclose{
  background-color: transparent;
  border: 0;
  font-size: 20px;
  position: absolute;
  right: 0;
  color: #007BFF;
}

.tab {
  margin-top: 40px;
  border-bottom: 1px solid #ccc;
  height: 35px;
  padding-left: 10px;
}

.title {
  font-family: 'Overpass', sans-serif;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  height: 35px;
  width: 90px;
  font-family: 'Overpass', sans-serif;
  font-size: 14px;
  background-color: inherit;
  float: left;
  background-color: #EBE9EB;
  border: 1px solid #ccc;
  outline: none;
  cursor: pointer;
  padding: 7px 18px;
  transition: 0.3s;
  border-radius: 5px 5px 0 0;
  margin-bottom: -1px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
  color: #565151;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #fff;
  color: #565151;
  border-bottom: 0;
  width: 100px;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@media (min-width: 1620px) {

  .wrap-sidebar{
    width: 40vw;
  }

  .content-data{
    width: 730px;
    height: 900px;
  }
}


@media (max-width: 1490px) {

  .title {
    font-size: 18px;
  }
  .wrap-sidebar{
    position: absolute;
    top: 100px;
    right: 0;
    width: 32vw;
    max-height: 85vh;
    padding: 5px;
    overflow-x: hidden;
    border: 0;
    display: none;
    text-align: center;
  }

  .content-data{
    width: 390px;
    height: 900px;
  }

  .content-info{
    width: 400px;
    height: 1080px;
  }
}

@media (min-width: 1280px){
  body{
    overflow-y: hidden;
  }
}

@media (max-width: 1280px) {
  .wrap-map {
    width: 100vw;
  }

  .wrap-sidebar{
    position: relative;
    top: 100px;
    margin-top: -80px;
    width: 100vw;
    min-height: 1820px;
    
  }

  .content-data{
    width: 100%;
    height: 800px;
  }

  .content-info{
    width: 680px;
    height: 1620px;
  }
}
