
body{
  background-color:black;
}
nav{
  width:500px;
  background-color: transparent;
  margin:auto;
  color:white;
  padding-top:15px !important;
}
.navbar{
  width:500px;
}
.navbar-el{
  padding:10px 20px;
  margin:auto;
  color:white;
  border-radius: 20px;
  opacity: 50%;
  font-size: 1em;
  text-decoration: none;
}
.navbar-el:hover{
  color:red;
}
.navbar-el:focus{
  color:red !important;
}
.back-content{
  width:550px;
  margin:auto;
  color:white;
  height:100vh;
  background-color:black;
  background-image: url(../images/Beirut01/dystopia01.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position:center !important;
  position: relative;
  /*2709 5209*/
}
.policy-button{
  background-color: rgba(169, 169, 169, 0.2);
  width: fit-content;
  position:absolute;
  border-radius: 15px ;
  border-style: dashed;
  border-color:grey;
  border-width: 1px;
  padding: 0.5em 1em;
  top:400px;
  cursor:pointer;
}
.policy-button:hover{
  background-color: rgba(169, 169, 169, 0.5);
  border-color:#A02D2D;
  border-width: 3px;
  border-style: inset;
}
.active-btn{
  background-color: rgba(169, 169, 169, 0.5);
  border-color:#A02D2D;
  border-width: 3px;
  border-style: inset;
}
.policy-button p{

  margin:auto;
  text-align: center;

}

#policy1{
  top:200px;
  left:20px;
}
#policy2{
  top:260px;
  left:20px;
}
#policy3{
  top:320px;
  left:20px;
}

.comment-section{
  width: 90%;
  height: 70%;
  position: absolute;
  bottom:0px;
  background-color:black;
  border-radius: 20px;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 60%);
  padding: 20px 10px;
  display: none;
  border-style: solid;
  border-color: red;
  border-width: 1px;
  z-index: 10;
}
.comment-section .title{
  text-align: center;
  margin-bottom: 20px;
}
.comment-section .title h2{
  color: gray;
  font-size: 1.5em;
}
.comment-section .comments{
  width: 90%;
  margin:auto;
  height: 70%;
  overflow-x: hidden;

}
::-webkit-scrollbar{
  width: 3px;
  background: gray;
}
::-webkit-scrollbar-thumb{
  width: 3px;
  background: white;
  border-radius: 5px;
}
::placeholder {
  color: black;
  opacity: 1; /* Firefox */
}
.comment-section .comments .comment div{
  width: 100%;
  margin: auto;
  display: block;
}
.comment-section .comments .comment div p {
  color: #9d9d9d;
}
.comment-section .comments .comment{
  margin-bottom: 30px;
}
.comment-section .comments .comment div .name{
  display: inline;
  height: 100%;
  font-size: 1.2em;
  color: #9d9d9d;
}
.comment-section .comments .comment div .date{
  margin-left: 20px;
  height: 100%;
  font-size: 0.8em;
  color: #3d3d3d;
}
.comment-section .comments .comment .content{
  color: #9d9d9d;

}
.comment-section .comments .comment div a{
  float: inline-end;
  height: 100%;
  line-height: 50px;
  margin-right:20px;
  text-decoration: none;
  color: #3d3d3d;
}

.comment-section .comments .comment .replies{
  height:auto !important;
}
.comment-section .comments .comment .replies div .name{
  display: inline;
  height: 100%;
  font-size: 1em;
  margin-left: 30px;
}
.comment-section .comments .comment .replies div .date{
  margin-left: 20px;
  height: 100%;
  font-size: 0.8em;
}
.comment-section .comments .comment .replies .content{
  margin-left: 30px;

}
.comment-section .write_comment{
    width: 90%;
    margin:auto;
    height: 20%;
}

.comment-section .write_comment textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 50px;
    margin: 10px auto;
    background: gray;
    color: black;
}
.comment-section .write_comment input {

    width: 49%;
    height: 50px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    float:left;
    line-height: 50px;
    background: gray;
    color: black;
}
.comment-section .write_comment button {
    cursor: pointer;
    display:block;
    width: 49%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 50px;
    line-height: 0px;
    float:right;
    background: gray;
    color: black;
}
.info{
  width: 90%;
  height: 70%;
  position: absolute;
  bottom:0px;
  background-color:black;
  border-radius: 20px;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 60%);
  padding: 20px 10px;
  display: none;
  border-style: solid;
  border-color: red;
  border-width: 1px;
  z-index: 10;
}
.info .title{
  text-align: center;
  margin-bottom: 20px;
}
.info .title h2{
  color: gray;
}
.info .info-content{
  width: 90%;
  margin:auto;
  max-height: 90%;
  overflow:auto;
  padding: 10px;
}
.info .info-content p{

  text-align: left;

}
.info .info-content p span{
  color:gray;
}
.location-tag{
  position:absolute;
  bottom:20px;
  right:20px;
  color:gray;
  padding: 10px;
  background-color: rgba(30,30,30,0.7);
  border-radius: 10px;
  z-index: 9;
}
.location-tag h4{
  font-size: 1em;
}
.brand-tag{
  position:absolute;
  bottom:20px;
  left:20px;
  color:#A02D2D;
  padding: 10px;
  z-index: 9;
}
.brand-tag h4{
  font-size: 1em;
}
.brand-tag img{
  width: 70px;
  height: auto;
}
.guide{
  position: absolute;
  top: 200px;
  right: 30px;
  background-color: #A02D2D;
  width: 200px;
  padding: 10px;
}
.guide h5{
  font-size: 1em ;
}
@media only screen and (max-height: 900px)  {
  .back-content{
    width:450px;

  }
  .navbar{
    width:450px;
  }
  .navbar-el{
    font-size: 0.7em;
  }
  .policy-button p{
    font-size: 0.7em;
  }
  .location-tag h4 {
    font-size: 0.7em;
  }
  .comment-section .title h2{
    color: gray;
    font-size: 1em;
  }
  .comment-section .comments .comment div .name{
    font-size: 1em;
  }
  .comment-section .comments .comment div .date{
    font-size: 0.6em;
  }
  .comment-section .comments .comment div a{
    font-size: 0.6em;
  }
  .comment-section .comments .comment .content{
    font-size: 0.8em;
  }
  .comment-section .write_comment textarea{
    height: 40px;
    font-size: 0.7em;
  }
  .comment-section .write_comment input{
    height: 40px;
    font-size: 0.7em;
  }
  .comment-section .write_comment button{
    height: 40px;
    font-size: 0.7em;
  }
  .info .info-content{
    max-height: 85%;
  }
}
@media only screen and (max-height: 650px) {
  .back-content{
    width:350px;

  }
  .navbar{
    width:350px;
  }

}
@media only screen and (max-width: 500px) {
  .back-content{
    width:100vw;
    height:90vh;
  }
  .navbar{
    width:100vw;
  }
  .comment-section .comments{
    height: 60%;
  }
}
