@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-size: clamp(12px, 1.5vw, 1.1rem);
    transition: .5s;
    background-image: url("https://lottie.host/embed/d6f461a7-b71f-4f27-92cc-9f8eea326887/jYnGp5Blme.lottie");
}

.animation{
    position:absolute;
    z-index: -10;
    height: 99dvh;
    width: 100dvw;
    background-color: #1c1c1c;
}

html, body {
    font-family: "Inter", "Helvetica", "Montserrat", sans-serif;
    font-weight: 300;
    margin: 0 auto;
    overflow-x: hidden;
}

header {
    height: 20dvh;
    width: 100dvw;
    z-index: 9999;
    background: transparent;
}

footer{
    height: 5dvh;
    width: 100dvw;
    background-color: #444444;
    color: #cccccc;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
footer>p>a{
    color: #cccccc;
}

#baseline {
    color: white;
    text-align: center;
    margin-top: 0;
    font-size: clamp(14px, 2vw, 1.2rem);
}

.logo {
    background-image: url("res/logo-3rx.svg");
    width: 90%;
    height: 70%;
    border-radius: 15dvh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25dvh;
    background-color: #cccccc8d;
    backdrop-filter: blur(5px);
}

.logo:hover {
    cursor: pointer;
}

.logo-container {
    margin: 0 auto;
    display: flex;
    height: 15dvh;
    width: 100dvw;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.container {
    height: 75dvh;
    width: 100dvw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1c1c;
}

.card {
    background-color: #ffffffbb;
    width: 80dvw;
    min-height: 20dvh;
    margin: 0 auto;
    border-radius: 2dvw;
    border: 2vw solid #cccccc00;
    display: flex;
    align-items: start;
    justify-content: center;
    backdrop-filter: blur(2px);
    flex-direction: column;
}

.paster {
    width: 100dvw;
    display: flex;
    align-items: center;
    font-size: clamp(14px, 2vw, 1.2rem);
}

input[type="text"], input[type="date"], input[type="url"] {
    background: none;
    border: 0;
    border-bottom: .4vh solid #1c1c1c;
    transition: ease-in-out 0.1s;
    font-size: clamp(14px, 1.8vw, 1rem);
}

input[type="text"]:focus, input[type="text"]:focus:hover, 
input[type="date"]:focus, input[type="date"]:focus:hover,
input[type="url"]:focus, input[type="url"]:focus:hover {
    outline: none;
    border-bottom: .6vh solid #dd2f2f;
    transition: ease-in-out 0.1s;
}

input[type="text"]:hover, input[type="date"]:hover, input[type="url"]:hover {
    outline: none;
    border-bottom: .6vh solid #1c1c1c;
    transition: ease-in-out 0.1s;
    text-decoration: underline;
}

input[type="date"] {
    font-family: "Inter", "Helvetica", "Montserrat", sans-serif;
    font-weight: 300;
}

.sender {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sender {
    display: flex;
    align-items: center;
    width: 40%;
}

#result {
    border: none;
    background-color: #dddddd;
    width: 12dvw;
    height: 2dvh;
    border-radius: 100dvw;
    padding: 1.1dvh;
    text-align: center;
    font-size: clamp(14px, 1.8vw, 1rem); 
}

#shortener {
    background-color: #1c1c1c;
    color: #cccccc;
    height: 5dvh;
    border-radius: 100dvw;
    padding: 0px 3dvh;
    box-shadow: 0px 0px 10px black;
    border: none;
    transition: ease-in-out 0.3s;
    font-size: clamp(14px, 2vw, 1rem);
}

#shortener:hover {
    cursor: pointer;
    box-shadow: 0px 0px 13px black;
    transform:scale(1.05) ;
    transition: ease-in-out 0.3s;
    background-color: #1a0606;
}

#advanced {
    max-height: 0px;
    width: 100%;
    overflow: hidden;
    transition: .7s ease-in-out;
}

.custom, .datetime {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: clamp(14px, 1.8vw, 1rem);
}

@media only screen and (max-width: 600px) {
    header{
        align-items: center;
        display: flex;
        height: 20dvh;
    }
   .logo{
        background-size: 15dvh;
   }
   .logo-container{
    height: 10dvh;
   }
   .card{
    max-height: 85%;
    min-height: 40%;
   }
   .paster, .advanced, .sender, .custom, .datetime, .paster{
        flex-direction: column;
        align-items: center;
        width: 100%;
   }
   .textDate, .textCustom, .textPaster, .adv_items{
    width: 90% !important;
   }

   .inCustom{
    width: 60dvw !important;
   }

   #sender{
    width: 100%;
   }
   #result{
    width: 50%;
   }
   #sender{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
   }
   #shortener{
    align-self: flex-end;
   }
}