@charset "utf-8";
/* CSS Document */

.base{
    height: 80vh;
    width: 98vw;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%; 
    top: calc(135vh * 0.5);
    margin-top: 5rem;
}

.layer1{
    position: relative;
    width: 100%;
    height: 100%;   
    
}

.projects-container {
    margin-top: 50px;
}

.ProjectBtn{
    position: absolute;
    z-index: 10;
    border: none;
    color: white;
    outline: none;
    background: transparent;
    font-weight: 600;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    cursor: pointer;
    margin-left: 30px;
}

.ProjectBtn:focus{
    outline: none;
}

.ProjectBtn2{
    position: relative;
    border: none;
    border-radius: 6px;
    width: 250px;
    height: 80px;
    margin: auto auto;
    padding: 0;
    background: linear-gradient(338deg, rgba(161,161,161,1) 0%, rgba(200,200,200,1) 27%, rgba(227,227,227,1) 58%, rgba(189,189,189,1) 100%);
    overflow: hidden;
    box-shadow: 1px 1px 3px #7a7a7a;
    cursor: pointer;
    transition: all .2s ease-in-out;
        
}

.ProjectBtn2:hover{
    box-shadow: 5px 5px 10px #7a7a7a;
   
        
}

.ProjectBtn2::before{
      content: "";
      position: absolute;
      height: 80px;
      width: 250px;
      background-color: #f38420;
      top: 51%;
      left: 20%;
      border-radius: 20px 0 0 0;     
    
}

.ProjectBtn2::after{
      content: "";
      position: absolute;
      height: 80px;
      width: 250px;
      background-color: #f38420;
      top: -47%;
      left: 20%;
      border-radius: 0 0 0 20px;     
    
}


.mySlidesG1, .mySlidesG2, .mySlidesG3, .mySlidesG4{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.mySlidesG1 > img, .mySlidesG2 > img, .mySlidesG3 > img, .mySlidesG4 > img{
    border-radius: 10px;
    box-shadow: 2px 2px 5px #bfbfbf;
}

.galleryTitle{
    text-align: center;
}

img {
  vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50% !important;
  width: 1.5% !important;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  border: none !important;
}

.prev {
    left: 15% !important;
}

.next {
    right: 15% !important;
}

@media screen and (max-width: 700px) {
    .prev,
    .next {
        width: 4% !important;
    }

    .prev {
        left: 0 !important;
    }

    .next {
        right: 0 !important;
    }

    .projects-container {
        margin-top: -30px !important;
    }

    .slide-container {
        margin-top: 20px !important;
    }

    @media screen and (max-width: 400px) and (max-height: 600px) {
      .projects-container {
        margin-top: -40px !important;
    }

    .slide-container {
      padding: 0 !important;
    }
  }
} 

.prev img, .next img {
    width: 100% !important;
    opacity: 0.7;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev img:hover,
.next img:hover {
  opacity: 1;
}

.prev:hover,
.next:hover {
  background: none !important;
  background-color: transparent;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}


/* Add a transparency effect for thumnbail images */
.demo {
  background-color: #f38420;
  color: white;
}

.demo:focus{
    outline: none;
}


.demo:active{
  background-color: #3f3f3f!important;
  color: white !important;
}

.demo:hover {
  background-color: #f38420;
  color: white;
  opacity: .7;
}


@media screen and (max-width: 600px){

    .mySlidesG1 > img, .mySlidesG2 > img, .mySlidesG3 > img, .mySlidesG4 > img{
        width: 90% !important;
        margin: 0;
        padding: 0;
    }    
    
    .ProjectBtn{
        padding: 0;
        background-color: transparent;
        border: none!important;
        border-radius: 5px!important;
        width: 90%!important;
        height: 25px;
        display: flex!important;
        color: grey;
        text-align: center;

    }
    
    .ProjectBtn2, .ProjectBtn2::before, .ProjectBtn2::after{
        background-color: transparent;
        background: transparent;
        color: grey;
        height: 25px;
        
    }
    
    .ProjectBtn2 img{
        display: none;
    }
    
    
    /* Add a transparency effect for thumnbail images */
    .demo {
        padding-left:5px;
        background-color: #f38420;
        color: white;
    }

    .demo:focus{
        outline: none;
    }


    .demo:active{
        background-color: #3f3f3f!important;
        color: white !important;
    }

    .demo:hover {
      background-color: #f38420;
      color: white;
      opacity: .7;
    }    

}

@media screen and (min-width: 1800px) {
    .projects-container {
        max-width: 80% !important;
    }

    .prev {
        left: 10% !important;
    }

    .next {
        right: 10% !important;
    }

    .slide-container {
        margin-top: 50px !important;
    }

    .mySlidesG1 > img, .mySlidesG2 > img, .mySlidesG3 > img, .mySlidesG4 > img{
        width: 70% !important;
        margin: 0;
        padding: 0;
    }  
}