body{
    background-image: url(../img/sfondo-bio-senza-me.jpg);
    background-attachment: fixed;
    font-family: "DM Sans", sans-serif;
    font-weight: 100;
    font-style: normal;
    box-sizing: border-box;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888; 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }
#logo-portfolio {
    width: 100%;
    transition-duration: .8s;
    transition-property: all;
    filter: invert(100%);
}
.sidebar{
    position: fixed;
    top: 30%;
    display: flex;
    width: 25%;
    flex-direction: column;
    z-index: 1;
    text-align: center;
    line-height: 500%;
}
.sidebar a{
    text-decoration: none;
    color: antiquewhite;
    transition-duration: .8s;
    transition-property: all;
}.sidebar a:hover{
    padding-left: 3%;
    border-bottom: .5px solid #2e2b29;
}
@media only screen and (max-width: 1000px){
    #logo-portfolio {
        transform: scale(60%);
        transition-duration: .8s;
        transition-property: all;
        filter: invert(100%);
    }
    .sidebar{
        position: fixed;
        top: 0%;
        left: 0%;
        display: flex;
        width: 100%;
        flex-direction: column;
        z-index: 10000;
        text-align: center;
        line-height: 300%;
        background-color: rgba(24, 24, 24, 0.8);
    }
    .sidebar a{
        display: block;
        text-decoration: none;
        color: antiquewhite;
        transition-duration: .8s;
        transition-property: all;
    }.sidebar a:hover{
        padding-left: 0%;
        border-bottom: 0px solid #2e2b29;
    }
}



section{
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    left: 25%;
    width: 75%;
    margin-right: 50px;
    border-left: .5px solid antiquewhite ;
    background-color: rgba(24, 24, 24, 0.5);
}
@media only screen and (max-width: 1000px){
    section{
        position: relative;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        left: 0%;
        width: 100%;
        margin-right: 0px;
        border-left: 0px solid antiquewhite ;
        background-color: rgba(24, 24, 24, 0);
    }

}


section .box {
    position: relative;
    margin: 15px;
    overflow: hidden;
}
section .box .imgBx {
    z-index: 555;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    
}
section .box .imgBx.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(10, 10, 10, 0.95);
    background-size: cover;

}
section .box .imgBx img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section .box .imgBx video {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section .box .imgBx.active img {
    position: absolute;
    top: 2%;
    left: 10%;
    width: 80%;
    height: 80%;
    object-fit: contain;
}
section .box .imgBx.active video {
    position: absolute;
    top: 2%;
    left: 10%;
    width: 80%;
    height: 80%;
    object-fit: contain;
}
section .box .imgBx .content {
    position: absolute;
    bottom: 2%;
    width: 40%;
    left: 8%;
    visibility: hidden;
    /* background: rgba(0, 0, 0, .1); */
    color: antiquewhite;
    text-align: left;
    font-size: 18px;
    padding: 1%;
    transform: translateY(100%);
    font-family: "DM Sans", sans-serif;
    font-weight: 200;
    font-style: normal;
    background: rgba(65, 54, 54, 0.19);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.1px);
    -webkit-backdrop-filter: blur(4.1px);
    border: 1px solid rgba(65, 54, 54, 0.1);
}
@media only screen and (max-width: 1000px){
    section .box .imgBx .content {
        position: absolute;
        bottom: 10%;
        width: 90%;
        left: 5%;
        visibility: hidden;
        /* background: rgba(0, 0, 0, .1); */
        color: antiquewhite;
        text-align: left;
        font-size: 18px;
        transform: translateY(100%);

    }
}

section .box .imgBx.active .content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition: .7s;
}
section .box .imgBx .content h3 {
    font-size: 22px;
    font-weight: 400;
}
#box-1 {
    width: 90%;
    height: 400px;
}
#box-2 {
    width: 45%;
    height: 400px;
}
@media only screen and (max-width: 1000px){
    #box-1 {
        width: 90%;
        height: 400px;
    }
    #box-2 {
        width: 90%;
        height: 400px;
    }
}


