*{
    scroll-behavior: smooth;
}
.choices-div {
    background: #202027;
    padding: 30px;
    margin-top: 30px;
    border-radius: 16px;
    margin-bottom: 50px;
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}
.choice {
    font-size: 1.3em;
    background: #673ab7;
    padding: 15px;
    font-weight: 700;
    border-radius: 15px;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.currentTimestamp-div {
    padding: 0.5rem;
    border-radius: 10px;
    background: var(--bg2);
    margin-top: 10px;
}
.current-timestamp-container {
    display: inline-flex;
    gap: 10px;
}
.current-timestamp {
    font-size: 3em;
    font-weight: 800;
}
.copy-current-timestamp {
    display: flex;
    justify-content: center;
    align-items: end;
}
.copy {
    font-size: 1.3em;
    cursor: pointer;
}
.time-since {
    color: var(--para-color);
    margin-top: 10px;
}
.current-time {
    font-weight: bold;
}
.form-group {
    margin-bottom: 1rem;
}
#timestampForm {
    margin: auto;
    margin-top: 40px;
}
label {
    display: inline-block;
    margin-bottom: .5rem;
}
.form-control {
    display: block;
    width: 60%;
    margin: auto;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.option-times {
    display: flex;
    justify-content: space-between;
    width: calc(60% + 1.5rem);
    margin: auto;
}
.buttons {
    margin-top: 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.buttons button {
    border: none;
    outline: none;
    color: white;
    background: var(--btn-color);
    border-radius: 3px;
    cursor: pointer;
    padding: 3px 8px;
    font-weight: 400;
    font-size: 0.85em;
}
.results {
    background: var(--bg2);
    padding: 30px;
    margin-top: 30px;
    border-radius: 16px;
    margin-bottom: 50px;
}
.result {
    display: flex;
    justify-content: space-between;
    background: var(--bg1);
    padding: 10px 15px;
    max-width: 600px;
    border-radius: 10px;
    margin: 8px auto;
    align-items: center;
    color: var(--para-color);
}
.time {
    display: flex;
    flex: 1.5 1 0%;
}
.timestamp {
    flex: 1 1 0%;
    background-color: transparent;
    box-shadow: none;
    border: none;
    font-family: monospace;
    outline: none;
    font-size: 16px;
    width: 160px;
    color: inherit;
    pointer-events: none;
}
.copy {
    font-size: 1.3em;
    cursor: pointer;
}
.converter-container {
    padding: 1.9rem;
    border-radius: 10px;
}
.converter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.converter h5{
    font-size: 1.1em;
    text-align: left;
    margin-bottom: 5px;
}
.inputs {
    display: flex;
    justify-content: center;
}
.inputs input{
    width: -webkit-fill-available;
}
.input-btn {
    display: flex;
    align-items: center;
    font-size: 1.4em;
    color: white;
    background: var(--btn-color);
    margin-left: 10px;
    border-radius: .25rem;
    padding: 10px 15px;
    cursor: pointer;
}
.converter-btns iconify-icon{
    justify-content: middle;
}
.converter-btns button{
    padding: 10px 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}


@media screen and (max-width: 680px) {
    .choices-div {
        display: grid;
    }
    .choice {
        font-size: 1.1em;
    }
    .main-container {
        width: auto;
    }
    .tools {
        display: none;
    }
    .form-control {
        width: 90%;
    }
    .option-times {
        width: calc(90% + 1.5rem);
    }
    .converter-container {
        padding: 10px;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .alternate-about {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1.2em;
    }
    .hero {
        padding: 20px 0px;
    }
    .upper-part {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 500px) {
    .hero h1 {
        font-size: 1.5em;
    }
    .main-container {
        margin-top: 40px;
    }
    .current-timestamp {
        font-size: 2.3em;
    }
    h2 {
        font-size: 1.5em;
    }
    .option-times {
        display: ruby-text;
    }
    .results {
        padding: 10px;
    }
    footer .footer-pages {
        display: block;
    }
    footer .footer-pages a {
        margin-left: 10px;
        margin-bottom: 10px;
    }
}
