:root {
    --text-color: #fff;
    --background-color: #222;
    --accent-color: #ff6f00;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    max-width: 400px;
    text-align: center;
}

h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

input {
    padding: 10px;
    font-size: 16px;
    margin-right: 16px;
    background-color: #333;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    flex: 1;
    outline: none;
}

button{
    background-color:  var(--accent-color);
    color: var(--text-color);
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: 300ms all ease-in-out;
    
}

button:hover {
    background-color: #ff9000;
}


.shorten-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    animation: slideIn 0.5s ease-in-out;
    margin-top: 20px;
}

#short-link {
    margin-top: 20px;
    opacity: 1;
}

.shorten-link .link-text {
    flex: 1;
}

.shorten-link .link-text a {
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
}

.shorten-link .icon {
    font-size: 24px;
    cursor: pointer;
    margin: 0 5px;
}

.shorten-link .icon:hover {
    background-color: var(--accent-color);
    border-radius: 10px;
}


@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}