@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Quicksand:wght@300..700&display=swap');

* {
    font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #111115;
    color: white;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Dosis', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Cantarell, 'Open Sans', sans-serif;
}

.main-card {
    display: flex;
    flex-direction: column;
    margin: 25vh auto;
    margin-bottom: 0;
    width: 50vw;
    max-width: 768px;
    padding: 2rem 1rem;
    justify-content: space-between;
    align-items: center;

    /* From https://css.glass */
    background: rgba(147, 153, 178, 0.22);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.main-content {
    display: flex;
    flex-direction: column;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}


#function-selector {
    padding: 0;
    margin: 1rem 0;
    background-color: white;
    border-radius: 20px;
    display: inline-flex;
    width: 100%;
    justify-content: space-around;
}

.slide-selector {
    all: unset;
    background-color: white;
    color: black;
    border-radius: 20px;
    padding: 0.5rem;
    width: 100%;
    text-align: center;
}

.slide-selector.active {
    color: #111115;
    background-color: #a6e3a1;
}

#upload-input{
    display: none;
}

#upload-button{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem 0.0rem;
    padding: 2rem 0rem;
    justify-content: center;
    border: 3px solid #a6e3a144;
    border-radius: 16px;
}

svg, path{
    fill: #a6e3a1;
    stroke: #a6e3a1;
    opacity: 0.3;
}

.compress-button{
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0.5rem;
    padding: 0.25rem;
    background-color: #a6e3a1;
    color: #111115;
    text-transform: uppercase;
    border: none;
    border-radius: 16px;
}

.compress-button:hover{
    background-color: #a6d189;
}
