﻿/*body{
  margin:0;
  padding:0;
  font-family:sans-serif;
}*/
 
.content{
  padding:50px 100px;
}
.content h2{
  padding:0;
  margin:0 0 20px;
  font-size:30px;
}
.content p{
  font-size:18px;
}
.container {
    position: relative; /* Ensure relative positioning for absolute positioning inside */
}
.popup {
    position: absolute;
    top: 0; /* Adjust as per your design */
    left: 0; /* Adjust as per your design */
    width: 100%; /* Full width of the container */
    z-index: 999; /* Ensure the popup is above other content */
}
.sidebar-contact{
  position:fixed;
  top:53%;
  left:-350px;
  transform:translateY(-50%);
  width:350px;
  height:auto;
  padding:40px;
  background:#fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  box-sizing:border-box;
  transition:0.5s;
  border-radius:5px;
}
.sidebar-contact.active{
  left:0;
}
.sidebar-contact input,
.sidebar-contact textarea{
  width:100%;
  height:36px;
  padding:5px;
  margin-bottom:10px;
  box-sizing:border-box;
  border:1px solid rgba(0,0,0,.5);
  outline:none;
}
.sidebar-contact h2{
  margin:0 0 5px;
  padding:0;
  font-size:26px;
}
.sidebar-contact textarea{
  height:60px;
  resize:none;
}
.sidebar-contact input[type="submit"]{
  background:black;
  border-radius:5px;
  color:#fff;
  cursor:pointer;
  border:none;
  font-size:18px;
}
.toggle{
     writing-mode: vertical-lr; /* vertical-lr means vertical text from bottom to top */
    transform: rotate(180deg); /* to make the text upright */
    color:#fff;
    margin-bottom: 20px; 
    font-size:20px;
    font-weight:bold;
  position:absolute;
  height:150px;
  width:48px;
  text-align:center;
  cursor:pointer;
  background:#f00;
  top:0;
  right:-48px;
  line-height:48px;
}
.toggle:before{
  content:'\f003';
  font-family:fontAwesome;
  font-size:18px;
  color:#fff;
}
.toggle.active:before{
  content:'\f00d';
}
@media(max-width:768px)
{
  .sidebar-contact{
    width:100%;
    height:100%;
    left:-100%;
  }
  .sidebar-contact .toggle{
    top:50%;
    transform:translateY(-50%);
    transition:0.5s;
  }
  .sidebar-contact.active .toggle
  {
    top:0;
    right:0;
    transform:translateY(0);
  }
  .scroll{
    width:100%;
    height:100%;
    overflow-y:auto;
  }
  .content{
    padding:50px 50px;
  }
}