

html {
    scroll-behavior: smooth;
  }

body{
    background-color: #1F1F1F;
    margin: 0;
    background-image: url('/images/background.svg');
    background-position: top right;
    background-repeat: repeat-y;
    background-size: 130%;
}

.curtain{
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: 1000;
    background-color: black;
    animation: 500ms ease-out hideCurtain;
}

@keyframes hideCurtain {
    from { width: 100%;}
    to   { width: 0%; }
  }

.mainContainer{
    margin: 0;
    display: flex;
    flex-direction: column;
}

.containerPage{
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 0px;
    overflow: hidden;
}

.mainTitle{
    align-self: center;
    background: transparent linear-gradient(279deg, #FF3DBB 0%, #4BFAF7 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    font-size: 39px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "DejaVuSansExtraLight";
    font-weight: normal;
    margin: 0;
}

.containerSkills{
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 8px;
}

.borderSkill{
    background: /*#A03FD9*/ 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 17px;
    background-color: #A03FD9;
    margin: 6px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
    padding-bottom: 4px;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.borderSkill p{
    text-align: center;
    font: normal normal normal 14px Segoe UI;
    font-size: 12px;
    letter-spacing: 0.7px;
    color: #FFFFFF;
    margin: 0;
    opacity: 1;
    font-weight: lighter;
}

.descriptionContainer{
    height: 100px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    margin-left: 10px;
    margin-right: 10px;
    overflow-y: auto;
    text-align: center;
    font: normal normal 400 13px DejaVu Sans;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.separator{
    display:none;
}

.imgContainer{
    flex-grow: 1;
    overflow: hidden;
    padding: 8%;
    padding-bottom: 20%;
}

.imgContainer img{
    object-fit:scale-down;
    width:100%; 
    height:100%;
}

.containerBottomMainPage{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dateProject{
    align-self: center;
    margin: 0;
    opacity: 0.5;
    color: #FFFFFF;
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: DejaVu Sans;
}

.containerVideoButton{
    align-self: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-clip: text;
    background: transparent linear-gradient(279deg, #FF3DBB 0%, #4BFAF7 100%) 0% 0% no-repeat padding-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    transition: text-shadow 200ms;
    cursor: pointer;
}

.containerVideoButton:hover{
    text-shadow: 0px 0px 10px #a59bd9c7;
}

.logoVideo {
    -webkit-mask: url('/images/icon/video.svg') no-repeat center;
    mask: url('/images/icon/video.svg') no-repeat center;
    -webkit-mask-size: cover;
    mask-size: cover;
    width: 25px;
    height: 25px;
    background-color: #4BFAF7;
    margin: 0;
    margin-right: 5px;
  }

.containerVideoButton p{
    margin: 0;
    margin-bottom: 4px;
    text-decoration: underline;
    font-family: DejaVu Sans;
    font-size: 13px;
}

.goDownContainer{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px;
    align-self: center;
}

.goDown{
    object-fit: contain;
    transition: box-shadow 200ms;
    border-radius: 20px;
    cursor: pointer;
    height: 35px;
    width:35px;
    align-self: center;
    margin: 0;
}

.goDown:hover{
    box-shadow: 0px 0px 10px #a59bd9c7;
}

.backdropContainer{
    width: 100%;
    height: 80%;
    background: #d5d5d50d 0% 0% no-repeat padding-box;
    opacity: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    
}

.projectTitle{
    align-self: center;
    text-align: center;
    background: transparent linear-gradient(280deg, #FF3DBB 0%, #A03FD9 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    font-size: 35px;
    text-transform: uppercase;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "DejaVuSansExtraLight";
    font-weight: normal;
    margin: 0;
    text-shadow: 0px 5px 15px #B447D429;
}

.projectContent{
    width: 85%;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0px 6px 5px #1F1F1F4D;
    background-color: #1F1F1F;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
    padding: 15px;
}

.projectContent img{
    width: 20%;
    height: 100%;
    object-fit: scale-down;
    padding-left: 5%;
    padding-right: 5%;
}

.projectContentTxt{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    width: 70%;
    height: 100%;

}

.projectContentTitle{
    margin-bottom: 5px;
    text-align: left;
    font: normal normal 600 15px/20px Segoe UI;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-shadow: 0px 5px 15px #FFFFFF29;
} 

.projectContentDesc{
    text-align: left;
    font: normal normal normal 10px/14px Segoe UI;
    letter-spacing: 0px;
    color: #FFFFFF;
    overflow-y: auto;
} 

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */ 
}

iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/***** SLIDESHOW ******/

/* Slideshow container */
.slideshow-container {
    display: flex;
    height: 70%;
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
    width: 100%;
  }

  .mySlides img{
    width: 100%;
    height: 90%;
    object-fit: scale-down;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* 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:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    width: 100%;
    position: relative;
    align-self: center;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    font-family: DejaVu Sans;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/***** END SLIDESHOW ******/

@media screen and (min-width: 950px) {
    body{
        background-position: top right;
        background-size: 60%;
    }

    .mainTitle{
        align-self: flex-start;
        font-size: 50px;
        margin-left: 5%;
    }

    .containerSkills{
        align-self: flex-start;
        margin-left: 5%;
        width: 50%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .descriptionContainer{
        align-self: flex-start;
        margin-left: 5%;
        width: 50%;
        height: 100px;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-y: unset;
        text-align: left;
        font: normal normal 400 18px DejaVu Sans;
    }

    .separator{
        flex-grow: 1;
        display: block;
    }

    .imgContainer{
        position: absolute;
        right: 0;
        width: 40%;
        padding: 0;
        margin-top: 5%;
        margin-right: 5%;
        height: 70%;
    }

    .containerBottomMainPage{
        width: unset;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        margin-left: 5%;
        margin-right: 5%;
    }

    .goDown{
        height: 50px;
        width: 50px;
    }

    .dateProject{
        font-size: 14px;
    }

    .logoVideo {
        width: 30px;
        height: 30px;
      }
    
    .containerVideoButton p{
        margin: 0;
        margin-bottom: 4px;
        text-decoration: underline;
        font-family: DejaVu Sans;
        font-size: 15px;
    }

    .videoWrapper {
        display: flex;
        height: 500px;
        width: 900px;
        align-self: center;
        padding: 0;
    }

    .backdropProjectContent{
        height: 100%;
    }

    .projectTitle{
        padding-top: 10px;
    }

    .projectContent{
        width: 60%;
        height: 200px;
        max-width: 810px;
    }

    .pcBefore{
        align-self: flex-start;
        margin-left: 5%;
    }

    .pcAfter{
        align-self: flex-end;
        margin-right: 5%;
    }

    .projectContentTitle{
        font: normal normal 600 20px Segoe UI;
    } 
    
    .projectContentDesc{
        font: normal normal normal 14px Segoe UI;
    } 
}
