:root{
    --bg-gradient: linear-gradient(90deg, rgba(85, 84, 146, 1) 0%, rgba(30, 34, 64, 1) 100%);
    --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4);
    --bg-btn: #3f4d73;
    --white: #ffffff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: var(--bg-gradient);
    font-family: Montserrat, sans-serif;
    color: white;
}      

.hero{
    max-width: 800px;
    margin: 70px auto 0;
    text-align: center;
}

.hero h1{
    font-size: 60px;
    font-weight: 700;
    text-shadow:  5px 5px 7px rgb(35, 21, 74, 0.9);
}

.describe{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 21px;
}

/*Input short URL*/
.main-box{
    background-color: #dcdff2;
    border-radius: 40px;
    padding: 30px;
    box-shadow: 5px 12px 0px 0 rgba(215, 196, 250, 0.36);    
}

.input-group{
    background-color: white;
    border-radius: 9999px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.36);
    box-shadow: 0 6px 4px 0 rgba(0, 0, 0, 0.16);
}

.input-group input[type="text"]
{
    border-color: transparent;
}

.input-group > i{
    color: #8894b8;
    font-size: 20px;
    margin-left: 15px;
}

.formshort{
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 12px;
}

.formshort input[type="text"]{
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    color: #334155;
    background: transparent;
}

.formshort input[type="text"]::placeholder{
    color: #c4d1e0;
}

.btn-shorten {
    display: inline-block;
    background: var(--bg-gradient);
    color: white;
    padding: 10px 20px;
    margin-right: 5px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-shorten:hover {
    opacity: 0.95;
}

.btn-shorten:active {
    transform: scale(0.9);
}

.btn-option {
    display: flex;
    background-color: rgba(244, 242, 250);
    border: none;
    margin-top: 15px;
    padding: 8px 19px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-option:hover {
    opacity: 0.9;
    transform: scale(0.96);
}

label{
    color: #3f4d73;
}

#custom-box{
    display: flex;
    margin-top: 10px;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;   
    width: 70%;
    margin: 0 auto;
}

#custom-box.hidden{
    display: none;
}

.custom-field{
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.custom-field label{
    margin-bottom: 4px;
}

#custom-box input {
    padding: 4px;
    padding-left: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #334155;
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
}

#alias::placeholder{
    color:#6d7eb1;
    opacity: 0.6;
    font-size: 15px;
}