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

/*navigacija*/
body {
    background-color:white;
  }
  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #38444d;
    font-family: 'Raleway', sans-serif;
  }
  
  li {
    float: left;
  }
  
  li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover, .dropdown:hover .dropbtn {
      background-color: #182733 ;
  }
  
  li.dropdown {
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {background-color: #E6E6E6;}
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  /*navigacija*/

*{
    box-sizing:border-box;
  }
  
  body {
    background-color: #eee4f6;
    max-width: 100%;
  }
  
  h1 {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    color: #4c107b;
    font-size: 55px;
    font-weight: 100;
    margin-bottom: 0;
    @media screen and (min-width:37.5em) {
    }
  }
  
  p{
    margin: 0 auto 2rem;
    text-align: center;
    font-family: 'Oswald';
    font-size: 1rem;
    color: #444;
    font-weight: 100;
    width:90%;
    @media screen and (min-width:37.5em) {
      height: 70%;
    }
  }
  
  .case-study-gallery{
    margin-top: 50px;
    width:90%;
    margin:50px auto;
    max-width: 1100px;
  }
  
  .case-study{
    position: relative;
    display: block;
    width: 70%;
    height: 250px;
    margin:0 auto 2rem;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0px 25px 50px rgba(0,0,0,.5);
    overflow: hidden;
    transition: all .4s ease;
    @media screen and(min-width:37.5em){
      height: 300px;
    }
    @media screen and(min-width:45em){
      display: inline-block;
      width: 45%;
      margin-left: 25px;
    }
  }
  
  .case-study_img{
    width: 60%;
    min-width: 200px;
    display: block;
    transform: translateY(10%);
    opacity: 1;
    margin:0 auto;
  }
  
  .case-study__overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 10;
    &:after{
      content:'';
      width: 100%;
      height: 100%;
      background-color: #202020;
      opacity: 0;
      border-radius:10px;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -10;
      transition: all .3s ease;
    }
  }
  
  .case-study__title {
    margin-bottom: 2rem;
    margin-top: 4rem;
    font-size: 1.8rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 100;
    color: #fff;
    text-align: center;
    letter-spacing: 5px;
    transition: all .3s cubic-bezier(.3,0,0, 1.3);
    position: relative;
    top: -200px;
  }
  
  .case-study__link {
    position: relative;
    display: block;
    width: 20%;
    top: 200px;
    padding: 10px;
    margin: 0 auto;
    font-family: 'Raleway', sans-serif;
    color: #fff;
    letter-spacing: 3px;
    text-decoration: none;
    text-align: center;
    border: 1.5px solid #fff;
    border-radius: 7px;
    font-size: 1.08em;
    transition: all .3s cubic-bezier(.3,0,0, 1.3);
    &:hover {
      background-color: #fff;
      color: #202020;
    }
  }
  
  .case-study:hover {
    .case-study__title, .case-study__link {
      top: 0;
    }
    
    .case-study__overlay:after{
      opacity: .75;
    }
  }
  
  .study1{
    background-image: url('rachel-green.jpg');
  }
  
  .study2{
    background-image: url('ross-geller1.jpg');
  }
  
  .study3{
    background-image: url('monica-geller.jpg');
  }
  
  .study4{
    background-image: url('joey-tribbiani.avif');
  }
  
  .study5{
    background-image: url('phoebe-buffay.webp');
  }
  
  .study6{
    background-image: url('chandler-bing.jpg');
  }
  