@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200;300;400;500;600;700;800;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Unbounded', sans-serif;
}

[v-cloak] {
    display: none;
}

header {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    margin-bottom: 50px;
    background-color: #483D8B;
    display: flex;
    align-items: center;
}

header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header > .container > h1 {
    margin: 0;
    color: white;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px
}

nav > a {
    color: white;
    text-decoration: none;
}

.popup {
    width: 100%;
    height: fit-content;
    background-color: rgba(75, 0, 130, 0.5);
    box-sizing: border-box;
    padding: 20px;
    border: 0;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.popup > h1 {
    color: white;
}

.popup > .icon {
    cursor: pointer;
}

form {
    margin-bottom: 40px;
}

.container {
    width: 900px;
    margin: 0 auto;
}

h1, h3 {
    color: rgb(75, 0, 130);
}

.textInp {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 0px 10px;
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    border: 2px solid #483D8B;
    border-radius: 20px;
}

select {
    color: black;
    background-color: white;
}

.selectMargin {
    margin-top: 20px;
}

.title_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 4px;
}

.title_info > h3, .title_info > .deleteFieldsBtn {
    margin: 0;
}

.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 4px;
    box-sizing: border-box;
    padding: 20px;
    background-color: #483D8B;
    color: white;
    border-radius: 20px;
    border: 0;
}

.card>h1,
.card>.deleteFieldsBtn {
    color: white;
    margin: 0;
}

.deleteFieldsBtn {
    font-family: 'Unbounded', sans-serif;
    font-size: 36px;
    cursor: pointer;
    font-weight: 400;
    cursor: pointer;
    color: #483D8B;
    transition: all 0.2s ease-in;
}

.deleteFieldsBtn:hover {
    color: #4B0082;
}

.fileInp {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.btn {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    color: #4B0082;
    border: 2px solid #483D8B;
    border-radius: 20px;
    background-color: white;
    margin-top: 34px;
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.btn:hover {
    color: white;
    background-color: #483D8B;
}

.addFieldsBtn, .labelFile {
    width: 25%;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #483D8B;
    border: 0;
    border-radius: 20px;
    margin-top: 40px;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.labelFile {
    margin-top: 10px;
}

.addFieldsBtn:hover, .labelFile:hover {
    background-color: #393070;
}

.addFieldsBtn > h3 {
    margin: 0px;
    color: white;
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    font-size: 30px;
}

#scrollToTopButton {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 20px;
    z-index: 99;
    background-color: #483D8B;
    color: #fff;
    border: none;
    border-radius: 50%;
    /* padding: 15px 20px; */
    font-size: 30px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 400;
    cursor: pointer;
}

#scrollToTopButton:hover {
    background-color: #393070; /* Изменяем цвет фона при наведении */
}

@media (max-width: 480px) {
    .container {
        width: 80%;
    }

    input {
        font-size: 18px;
    }

    .addFieldsBtn, .labelFile {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .container {
        width: 80%;
    }

    input {
        font-size: 18px;
    }

    .addFieldsBtn, .labelFile {
        width: 100%;
    }
}