.shadow--top {
  top: 0;
  background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.35), transparent);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent);
  opacity: 0;
  width : 95%;
  height : 30px;
  position: sticky;
  top : 0;
}

.shadow--bottom {
  bottom: 0;
  width : 95%;
  background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent);
  height :30px;
  position : sticky;
  bottom: 0;
}

html {
  padding : 0;
}
::-webkit-scrollbar {
  -webkit-appearance: none;
}
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.6);
  transition: 0.2s;
}
::-webkit-scrollbar-track {
  background-color: none;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(141, 132, 132);
}

::-webkit-scrollbar-thumb:active {
  background-color: rgb(88, 84, 84);
}

body {
  font-family: 'Montserrat';
  background: linear-gradient(311deg, #10b2d1, #f070ec);
  background-size: 100% 100%;
  color : white;
  width : 100%;
  margin-left : 0;
  margin-right : 0;
  margin-bottom : 0;
}
.file .fa {
    margin-left : 1em;
    transition : 0.4s;
    zoom : 1.2;
}
.fa-arrow-alt-circle-down:hover {
    color : lightskyblue;
}
.fa-trash:hover {
    color : rgb(235, 111, 111);
}
.fa-trash {
    zoom : 1.5;
}
.filesList {
  overflow: auto;
  width : 95%;
  position: relative;
  padding-left: 5%;
  align-content : center;
}

.fa {
  color : white;
}
.ripple-background {
    margin-top : 1em;
    background : white;
}
.circle{
    background : white;
    display : flex;
    justify-content: center;
    border-radius: 50%;
    animation: ripple 8s -1.2s infinite;
    box-shadow: 0px 0px 0.8em 0px #a8adb1;
    transform: translateX(-50%);
}
.small{
  background-image : url('https://dev.diskloud.fr/mediaCE/gifgit%20(3).png');
  background-repeat: no-repeat;
  background-size: 70% 70%;
  background-position-x: 60%;
  background-position-y: center;
  animation: linearBackground 8s ease infinite;
  box-shadow: 0px 0px 1em 0px rgb(87, 86, 86);
}
.medium {
  animation: ripple 8s -0.9s ease infinite;
}
.large {
  animation: ripple 8s -0.6s ease infinite;
}
.xlarge {
  animation: ripple 8s -0.3s ease infinite;
}
.xxlarge {
  animation: ripple 8s 0s ease infinite;
}
.swal2-success-fix, .swal2-success-circular-line-right, .swal2-success-circular-line-left {
  background : transparent !important;
}
.swal2-popup {
  --color-background-translucent: rgba(255, 255, 255, 0.80);
  --background-blur: blur(10px);
  backdrop-filter: var(--background-blur);
  background-color : var(--color-background-translucent) !important;
} 
.swal2-radio {
  background : transparent;
}
.swal2-validation-message {
    background :red;
    color : white;
}

#uploadedFilesInfo {
  margin-bottom : 2px;
}

#fileChosen {
  text-align: center;
  max-width: 100%;
  overflow-wrap: break-word;
}
#logOut {
  background : red;
  color : white;
  border-radius : 50%/50%;
  position : absolute;
  top : 1em;
  right : 1em;
  z-index : 4;
  padding : 0.4em;
  transition : 0.2s;
}
#logOut:hover {
  box-shadow: 0 0 1em #fff;
}
/*Upload*/

#bar {
  width : 0;
  margin : 0;
  height : 100%;
  transition : width ease 0.4s;
  border-radius: 0.4em/0.4em;
  background : linear-gradient(to right ,#f8bbf0 0%, skyblue 100%);
}

#progress {
  transition : 0.5s;
  padding :0;
  visibility : hidden;
  border : 0.1em solid white;
  background : rgba(255, 255, 255, 0.7);
  width : 80%;
  height : 0.6em;
  border-radius: 0.4em/0.4em;
}

#upButton3 {
  border-radius : 0.4em;
  font-size : 1.6em;
  background-color: indigo;
  color: white;
  margin: 0.1em;
  padding: 0.3em;
  font-family: sans-serif;
  border-radius: 0.3rem;
  cursor: pointer;
  margin-top: 1rem;
  transition : 0.4s;
}

#upButton2 {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align : center;
  border-radius : 0.4em;
  width : 0px;
  font-size : 1.7em;
  background-color: rgb(238, 232, 243);
  color: indigo;
  margin: 0.1em;
  padding: 0.3em;
  font-family: sans-serif;
  border-radius: 0.3rem;
  cursor: pointer;
  margin-top: 1rem;
  transition : 0.4s;
  display : none;
}

#upButton2 svg {
  width : 0.8em;
height : 0.8em;
}

.shade1{
  opacity: 0.2;
}
.shade2{
  opacity: 0.5;
}

.shade3{
  opacity: 0.7;
}

.shade4{
  opacity: 0.8;
}

.shade5{
  opacity: 1;
}

@keyframes linearBackground{
  0%{
    background-color : purple;
  }
  50% {
    background-color : lightseagreen;
  }
  100%{
    background-color : purple;
  }
}

@keyframes ripple{
  0%{
    transform: translateX(-50%) scale(0.8);
  }    
  50%{
    transform: translateX(-50%) scale(1.2);
  }
  100%{
      transform: translateX(-50%) scale(0.8);
    }
}
.uploadFlow {
  transition : 1s;
  display : flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
} 
.files {
  background: rgba(83, 80, 80, 0.7);
  text-align: center;
  display : flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: auto;
}
.file {
  display : flex;
  width : 90%;
  background : rgb(91, 138, 127);
  margin-top : 0.5em;
  margin-bottom : 0.5em;
  min-height : 2.8em;
  border-radius : 10px;
  justify-content: space-between;
  align-items: center;
  padding-top : 0.2em;
  padding-left : 2.5%;
  padding-right : 2.5%;
  transition : 0.4s;
  user-select: none;
  cursor: pointer;
}
.file .fileName {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  width : 80%;
}
.file:hover {
  box-shadow : 0 0 1em #fff; ;
}
.loader {
  position : relative;
  width : 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height : 10em;
}
#title {
  margin-bottom : 0;
}
#serviceName {
  margin : 0;
}
@media only screen and (min-width:1000px){
  .small {
    width: 6em;
    height: 6em;
    position : absolute;
    top:6em;   
  }
  .medium{
    width: 9em;
    height: 9em;
    position : absolute;
    top:4.5em;
  }

  .large{
    width: 12em;
    height: 12em;
    position : absolute;
    top:3em;
  }
  
  .xlarge{
    user-select: none;
    width: 15em;
    height: 15em;
    position : absolute;
    top:1.5em;
  }
  
  .xxlarge{
    width: 18em;
    height: 18em;
    position : absolute;
    top:0;
  }
  #upButton2 {
    width : 5em;
  }
  #upButton3 {
    width : 5em;
  }
  #info {
    margin : 1.5em;
  }
  .globalContainer {
    position: absolute;
    top : 0;
    left : 0;
    width : 100%;
    height : 100%;
    display : flex;
    flex-direction: row;
  }
  .uploadFlow {
    position: relative;
    width : 60%;
    height : 100%;
  }
  .files {
    /* box-shadow: -15px 0px 10px -15px #111;  */
    width : 40%;
    border-top-left-radius: 8px ;
    border-bottom-left-radius: 8px;
  }
  #serviceName {
    font-size : 4em;
  }
  .loader {
    height : 24em;
  }
  #pinch {
    display:none;
  }
}
@media only screen and (max-width:1000px){
  .small {
    width: 6em;
    height: 6em;
    position : absolute;
    top : 4.5em;
  }
  .medium{
    width: 9em;
    height: 9em;
    position : absolute;
    top:3em;
  }
  
  .large{
    user-select: none;
    width: 12em;
    height: 12em;
    position : absolute;
    top:1.5em;
  }
  
  .xlarge{
    width: 15em;
    height: 15em;
    position : absolute;
    top:0;
  }
  .xxlarge {
    display : none;
  }
  #upButton2 {
    width : 30%;
    margin-bottom : 1em;
  }
  #upButton3 {
    width : 40%;
    margin-bottom : 1em;
  }
  .iconsInsideRemove {
    display : flex ;
    flex-direction: column ;
    justify-content: right ;
    padding-bottom: 8px;
  }
  .file i {
    margin : 0.2em;
  }
  .uploadFlow {
    background : transparent;
  }
  #title {
    display : none;
  }
  #serviceName {
    font-size : 2em;
    margin-bottom :0;
  }
  h2 {
    font-size : 1.5em;
  }
  .ripple-background {
    zoom : 0.8 !important;
  } 
  body {
    font-size : 3em;
  }
  .swal2-popup {
    font-size : 1em !important;
  }
  .globalContainer { 
    width : 100%;
    height : 100%;
    display : flex;
    flex-direction: column;
  }
  #logOut {
    top : 2em;
  }
  .uploadFlow {
    width : 100%;
    position: relative;
    min-height : 50vh;
  }
  .files {
    box-shadow: 0px -15px 10px -15px #111;
    width : 100%;
    display : flex;
    min-height : 50vh;
    max-height : 95vh;
    border-top-left-radius: 10px ;
    border-top-right-radius: 10px;
  }
  #pinch {
    width : 20%;
    height : 0.4em;
    border-radius: 0.4em/0.4em;
    background : lightgrey;
  }
  #uploadedFilesInfo {
    margin-top : 0;
  }
}