@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
    --primary-color: #6366f1;
    --accent-color: #3f83f8;
    --text-color: #333333;
    --link-color: #2563eb;
    --background-color: #ffffff;
    --light-gray: #f0f0f0;
    --gray: #808080;
    --dark-gray: #555;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    text-decoration: none;
}

body {
    height: 100vh;
    text-align: center;
    /* background-color: #ffffff; */
    padding: 0.1rem;
    background-image: url('./assets/Swirl.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: sticky;
}

.header-content-right {
    display: flex;
    align-items: center;
    /* flex-direction: row; */
    gap: 3rem;
}


.logo h1 {
    text-align: center;
    font-family: Inter;
    font-size: 36.914px;
    font-style: normal;
    font-weight: 800;
    line-height: 45.441px;
    /* 123.1% */
    background: radial-gradient(12441.24% 97.1% at 5.56% 79.01%, #EB568E 0%, #144EE3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #718096;
    font-size: 1.125rem;
    font-weight: 600;
    transform: color 0.1s;
}

.nav-link:hover {
    color: var(--link-color);
}

.source-code-button {
    display: block;
    border: none;
    border-radius: 20px;
    background-color: var(--link-color);
    color: var(--background-color);
    transform: all 0.1s;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    /* font-weight: 600; */
}

.source-code-button:hover {
    background-color: var(--link-color);
    box-shadow: 10px 9px 22px 0px rgba(20, 78, 227, 0.38);
}

.main-section {
    max-width: 1280px;
    padding: 0.6rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.main-section__text {

    display: flex;
    flex-direction: column;


}

.main-section-title {
    text-align: center;
    /* font-family: Inter; */
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: 80.015px;
    /* 133.358% */
    background: linear-gradient(90deg, #144EE3 -0.02%, #EB568E 18.86%, #A353AA 64.49%, #144EE3 100.67%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.main-section-data {

    color: #C9CED6;
    text-align: center;
    /* font-family: Inter; */
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 23.5px;
    /* 146.875% */
    display: flex;
    width: 634px;
    height: 47px;
    flex-direction: column;
    justify-content: center;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    justify-content: center;
    width: 400px;
}

.long-url {
    /* width: 400px; */
    width: 70%;
    height: 20px;
    padding: 16px;
    padding-right: 40%;
    outline: none;
    border: 2px solid #909090;
    border-radius: 80px;
    background: none;
    color: white;
}

.long-url:focus {
    box-shadow: 10px 9px 22px 0px rgba(86, 86, 87, 0.38);
}

#shorten-button {

    width: 144px;
    border-radius: 48px;
    border: 1px solid #144EE3;
    background: #144EE3;
    padding: 16px;
    box-shadow: 10px 9px 22px 0px rgba(20, 78, 227, 0.38);
    position: absolute;
    cursor: pointer;
    right: 0;
    margin-right: -56px;
    color: white;
}

.result-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-section-title {
    color: rgb(202, 202, 202);
    margin-bottom: 20px;
}

.result-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;

}

.shortUrlDisplay:active {
    color: white;
}

.image-button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.copy-icon {
    width: 28px;
}