@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
    box-sizing:border-box
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #20063B;
    font-family: 'Source Sans Pro', sans-serif;
    overflow-x: hidden;
}

.fadeAway {
    transition: opacity 1s ease-out;
}

.collapseIn {
    transition: width 1.2s ease-in-out;
}

.buttonCustom {
    padding: 17px 40px;
    border-radius: 10px;
    border: 0;
    background-color: #FF3562;
    letter-spacing: 1.5px;
    font-size: 15px;
    transition: all .3s ease;
    box-shadow: #f72a56 0px 10px 0px 0px;
    color: hsl(0, 0%, 100%);
   }
   
.buttonCustom:hover {
    box-shadow: #f02752 0px 7px 0px 0px;
}

.buttonCustom:active {
    background-color: rgb(255, 56, 86);
    /*50, 168, 80*/
    box-shadow: #f72955 0px 0px 0px 0px;
    transform: translateY(5px);
    transition: 200ms;
}

.form {
    --width-of-input: 200px;
    --border-height: 1px;
    --border-before-color: rgba(221, 221, 221, 0.39);
    --border-after-color: #FF3562;
    --input-hovered-color: #4985e01f;
    position: relative;
    width: var(--width-of-input);
}
   /* styling of Input */
.input {
    color: black;
    font-size: 0.9rem;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 0.5em;
    padding-block: 0.7em;
    border: none;
    border-bottom: var(--border-height) solid var(--border-before-color);
}

.input::placeholder{
    color: rgb(36, 35, 35);
}
   /* styling of animated border */
.input-border {
    position: absolute;
    background: var(--border-after-color);
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}
   /* Hover on Input */
input:hover {
    background: var(--input-hovered-color);
}
   
input:focus {
    outline: none;
}
   /* here is code of animated border */
input:focus ~ .input-border {
    width: 75%;
}
   /* === if you want to do animated border on typing === */
   /* remove input:focus code and uncomment below code */
   /* input:valid ~ .input-border{
     width: 100%;
   } */

.disabled {
    pointer-events: none;
    background-color: gray;
    box-shadow: gray 0px 0px 0px 0px;
    transition: width 0.55s ease-in-out, color 0.55s ease-in-out;
}

.ulList {
    width: 100%;
    height: 100%;
    flex-direction: row;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.ulList li {
    background-color: black;
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
    max-width: 200px;
    border-radius: 8px;
    height: 65%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-left: 40px; */
    /* padding-right: 40px; */
    background-color: #F9F8F8;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.notReady {
    color: #FF3562;
}

.ready{
    color: rgb(9, 197, 9);
}

.voted {
    color: rgb(46, 2, 87);
}

.you {
    border: 4px solid #C6F91F;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.beingJudged{
    box-shadow: 0 -5px 5px rgba(238, 66, 102, .5);
    animation: breathing 4s ease-in-out infinite;
    border: 4px solid rgba(238, 66, 102, 1)
}

@keyframes breathing {
    0% {
      box-shadow: 0 15px 15px rgba(238, 66, 102, .1);
    }
    50% {
      box-shadow: 0 25px 25px rgba(238, 66, 102, .3);
    }
    100% {
      box-shadow: 0 15px 15px rgba(238, 66, 102, .1);
    }
  }

.hoverEffect {
    transition: transform 0.1s, box-shadow 0.1s, color 0.1s;
}

.hoverEffect:hover {
    cursor: pointer;
}

.hoverEffect:active {
    transform: scale(.85);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    color: #ccc;
}

.buttonCustom2 {
    position: relative;
    background-color: rgb(230, 34, 77);
    border-radius: 5px;
    box-shadow: rgb(121, 18, 55) 0px 4px 0px 0px;
    padding: 15px;
    background-repeat: no-repeat;
    box-sizing: border-box;
    width: 154px;
    height: 49px;
    color: #fff;
    border: none;
    font-size: 20px;
    transition: all .3s ease-in-out;
    z-index: 1;
    overflow: hidden;
  }
  
.buttonCustom2::before {
    content: "";
    background-color: rgb(248, 50, 93);
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 700ms ease-in-out;
    display: inline-block;
  }
  
.buttonCustom2:hover::before {
    width: 100%;
  }
.aspect-ratio {
    position: relative;
    max-width: 639px;
    /* max-height: 360px; */
    height: 360px !important;
    /* height: 0; */
    /* padding-top: max(56.25%, 5px); */
}

.aspect-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 639px;
    max-height: 360px;
    width: 100%;
    height: 100%;
}

@media (max-width: 852px){
    #creationURL {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }
    #submission-input{
        margin-left:auto;
        margin-right: auto;
    }
}

@media(max-width: 550px){
    .aspect-ratio{
        max-height: 240px;
    }

    .aspect-ratio img {
        max-height: 240px;
    }
}