@import url('https://fonts.googleapis.com/css2?family=Rajdhani&display=swap');
body{
  background:#fff;
  font-family: 'Rajdhani', sans-serif;
  }
  #slider{
  width:80%;
  margin:0px auto;
  margin-top: 100px;
  max-width: 600px;
  position:relative;
  overflow:hidden; 
  }
  .slide{
  width:100%;  
  display:none;
  animation-name:fade;
  animation-duration:1s; 
  }
  img{
  width:100%;
  }
  @keyframes fade{
  from{opacity:0.5;}
  to{opacity:1;}
  }
  .controls{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:1.5em;
  padding:15px 10px;
  border-radius:5px; 
  } 
  .controls:hover{
  background:white;
  transition:0.3s;
  }
  .controls:active{
  color:grey;
  }
  #left-arrow{
  left:10px;
  }
  #right-arrow{
  right:10px;
  }
  #dots-con{
  text-align:center;
  }
  @media (max-width:576px){
  #slider{width:100%;
  }
  .controls{
    font-size:1em;
  }
  #dots-con{
    display:none;
  }
  }
  .trail{
    align-items: center;
    height: 50vh;
    width: 50vw;
    padding-top: 40px;
  }
  .trail.row.column{
    border: 1px solid black;
  }
  .row:after {
      content: "";
      display: inline-block;
      clear: both;
      height: 30px;
      align-items: center;
    }
    .column {
      align-items: center;
      width:8%;
      display: inline-block;
      justify-content: center;
      padding-left: 70;
      position: relative;
    }
    .active,
    .demo:hover {
      opacity: 1;
    }
  @media only screen and (max-width: 300px) {
    .prev, .next,.text,.row:after,.column {font-size: 11px}
  }
  .text-block {
    position: relative;
    margin: auto;
    text-align: center;
    justify-content: center;
    max-width: 700px;
    height: 400px;
  }
  div.desc {
    padding: 1rem;
    text-align: center;
  }
  .close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
  }
  .close:hover {
    opacity: 1;
  }
  .close:before, .close:after {
    position: absolute;
    left: 15px;
    content: " ";
    height: 33px;
    width: 2px;
    background-color: #000;
  }
  .close:before {
    transform: rotate(45deg);
  }
  .close:after {
    transform: rotate(-45deg);
  }