* {
    box-sizing: border-box;
  }
  
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    /* background: #fef8f9; */
    background-image: url(https://images.unsplash.com/photo-1604077137850-c6d2e2a44cce?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

  }
  main{
    margin-top: 25px;
  }
  
  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
  }
  
 
  button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 20px 5px;
    color: #3c376f;
    font-size: 2rem;
  }
  
  button span {
    position: relative;
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  
  .previous:hover span {
    transform: translateX(-10px) scale(1.2);
  }
  
  .next:hover span {
    transform: translateX(10px) scale(1.2);
  }
  
  .slider-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  .slider-nav li {
    display: flex;
    flex: 2;
    text-align: center;
  }
  
  img {
    max-height: 600px;
    max-width: 100%;
    display: none;
    box-shadow: 10px 10px 20px 0 rgba(94, 47, 59, 0.2);
    margin: 0 auto;
  }
  
  img.active {
    display: block;
    animation: fadeImg 0.8s;
  }
  
  .slider-nav .arrow {
    flex: 0 0 15%;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
    color: #3c376f;
  }
  
  .slider-nav a {
    flex-basis: 100%;
    display: flex;
    align-items: center;
  }
  
  .slider-nav span {
    display: block;
    width: 100%;
  }
  
  @keyframes fadeImg {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  

  @media only screen and (max-width: 767px) {
    /* CSS styles for mobile devices */
    img {
      margin-top: 50px;
      height: 450px;
      max-width: 100%;
      border: 5px solid #608dab;
    }
  }