html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: #f0f8ff;
    border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #6590c8;
}

.infoBox {
    display: grid;
    grid-template-columns: 20px auto;
    gap: 10px;
}

.infoBox p {
    margin: 0;
}

.heading {
    color: #0358a9;
    margin: 0;
    font-size: 22px;
}

.title {
    margin: 30px 0;
    padding: 0;
    color: #4c6067;
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 1px;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    margin-right: 3px;
    max-width: 690px;
    background: #cde;
    box-sizing: border-box;
    box-shadow: rgba(33, 35, 38, 0.1) 0 10px 10px -10px;
}

.container__list {
    background-color: #f0f8ff;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


.link-teaser_1, .link-teaser_2 {
    width: 100%;
}
@media only screen and (min-width: 690px) {
    .link-teaser_1, .link-teaser_2 {
        width: 300px;
    }
}

.container__item {
    width: 100px;
    color: #6590c8;
    height: 50px;
    display: grid;
    justify-content: center;
    align-content: center;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 1px;
    font-weight: 400;
    transition: 0.2s;
    flex-grow: 1;
}

.container__item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    border-radius: 2px;
    background-color: #6590c8;
}

.container__item:hover {
    color: #0358a9;
}

.container__item_active {
    background: #cde;
    box-sizing: border-box;
    color: #0358a9;
    font-weight: 300;
    text-align: center;
}

/*@keyframes expand {*/
/*    0%   {width: 0; left: 0;}*/
/*    100% {width: 100px; left: calc(50% - 50px);}*/
/*}*/
/**/
/*.container__item_active:after {*/
/*    width: 100px;*/
/*    height: 1px;*/
/*    background-color: #0358a9;*/
/*    content: "";*/
/*    position: relative;*/
/*    top: 17px;*/
/*    left: calc(50% - 50px);*/
/*    animation-name: expand;*/
/*    animation-duration: 0.5s;*/
/*    align-self: center;*/
/*}*/

.container__item_active::before {
    display: none;
}

.container__item_active + .container__item::before {
    display: none;
}

.container__link {
    margin: 0;
    padding: 0;
    font-size: 17px;
}

.container__inner {
    display: flex;
    flex-direction: column;
    margin: 25px;
    row-gap: 20px;
}

.content__subtitle {
    animation-name: smoothTop;
    animation-duration: 0.3s;
    font-size: 22px;
    line-height: 22px;
    font-weight: 500;
    color: #404648;
}

.feedLink {
    display: inline;
    color: #484848;
    font-size: 18px;
    text-decoration-color: #484848;
}

.copy {
    display: inline-flex;
    column-gap: 10px;
    align-items: center;
    width: 150px;
    align-self: end;
    margin-bottom: 20px;
}

.feedLink:hover {
    color: black;
    text-decoration-color: #0358a9;
}

.feedCopy {
    cursor: pointer;
}

.feedCopy path {
    fill: #484848;
}

.feedCopy:hover path {
    fill: black;
}

.feedCopy:focus path {
    fill: green;
    outline: none;
}

.feedCopy:focus {
    outline: none;
}

.copyMessage {
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 5s;
    z-index: 50;
    position: fixed;
    bottom: 5vh;
    left: calc(50vw - 150px);
    width: 300px;
    height: 50px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.50);
}

@keyframes fade-in {
    0%   {opacity: 0;}
    20%  {opacity: 100;}
    80%  {opacity: 100;}
    100% {opacity: 0;}
}

/* The element to apply the animation to */
.wtf {
    width: 100px;
    height: 100px;
    background-color: red;
    animation-name: fade-in;
    animation-duration: 4s;
}

.content__description {
    animation-name: smoothBottom;
    animation-duration: 0.7s;
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
    color: #404648;
}

.container__inner_hidden {
    display: none;
}

fieldset {
    border: none;
    background-color: #f0f8ff;
    margin: -12px 0 0 0;
}

legend {
    color: #0358a9;
    font-weight: bold;
    position: relative;
    top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.listInput {
    margin-bottom: 15px;

    display: grid;
    grid-template-columns: 1fr 19px;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.listInputItem {
    border: none;
    border-radius: 4px;
    padding: 3px 5px;
    height: 19px;
}

.listInputItem:first-child {
    grid-column-start: 1;
    grid-column-end: 3;
}

.listInputItem:nth-child(2) {
    grid-row-start: 2;
    grid-column-start: 1;
    grid-column-end: 1;
}

.dataInput {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.listInputItem:hover {
    outline: #b3b3b3 groove thin;
}

.listInputItem:focus-visible {
    outline: #0358a9 groove thin;
}

.addListItem {
    font-size: 17px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #0358a9;
    padding: 0 15px;
    color: #0358a9;
    cursor: pointer;
    font-weight: normal;
}

.addListItem:hover {
    background-color: #0358a9;
    color: white;
    transition: all 0.2s ease-in;
}

.removeListItem {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.removeListItem:hover svg {
    stroke: #fc0000;
    transition: all 0.2s ease-in;
}

@keyframes smoothTop {
    0% {
        opacity: 0.2;
        transform: translateY(7%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes smoothBottom {
    0% {
        opacity: 0.2;
        transform: translateY(-3%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.form {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

@media only screen and (min-width: 690px) {
    .form {
        display: grid;
        gap: 40px;
        grid-template-columns: 300px 300px;
        grid-template-rows: auto auto;
    }
}

.form > input[type=submit] {
    grid-column-start: 2;
    grid-column-end: 3;
    padding: 10px 15px;
    height: 50px;
    font-size: 16px;
    background-color: #0358a9;
    border: 1px solid #0358a9;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.form > input[type=submit]:hover {
     background-color: #076dce;
     border: 1px solid #076dce;
}

.noDelete {
    grid-column-start: 1 !important;
}

.create {
    grid-column-start: 1 !important;
}

.delete {
    grid-column-start: 1;
    grid-row-start: 2;
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: 4px;
    border: 1px solid #fc0000;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: .3s;
}

.delete:hover {
    background-color: rgb(245, 207, 207);
    transition: .3s;
}

.delete svg {
    color: #fc0000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s;
}

.delete:focus svg {
    opacity: 0;
    transition: .3s;
    pointer-events: none;
    z-index: 0;
}

.delete input:focus svg {
    pointer-events: none;
    z-index: 0;
}

.delete svg:focus {
    pointer-events: none;
    z-index: 0;
}

.delete input {
    width: 100%;
    height:100%;
    position: absolute;
    opacity: 0;
    transform: translate(-50%, -50%);
    background-color: #fc0000;
    color: white;
    font-weight: 600;
    transition: .3s;
    pointer-events: none;
    z-index: 0;
    cursor: pointer;
}

.delete:focus {
    background-color: #fc0000;
    width: 100%;
    height: 50px;
    transition: .3s;
}

.delete:focus input {
    opacity: 1;
    transition: .3s;
    border: none;
    pointer-events: all;
    z-index: 1;
}

.delete input:focus {
    pointer-events: all;
    z-index: 1;
}

.modal {
    position: fixed;
    top: 50vh;
    left: calc(50vw - 150px);
    width: 300px;
    height: 50px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.50);
}

.modal p {
    margin: 0 0 0 19px;
}

.close {
    position: absolute;
    bottom: 27px;
    left: 277px;
    cursor: pointer;
}

.close path {
    fill: #b3b3b3;
}

.close:hover path {
    fill: #0358a9;
    transition: all 0.2s ease-in;
}

.preview {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}
@media only screen and (min-width: 690px) {
    .preview {
        flex-direction: row;
        column-gap: 40px;
    }
}

.teaser-links {
    overflow: hidden;
    background-color: #f0f8ff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 250px;
}

@media only screen and (min-width: 690px) {
    .teaser-links {
        width: 100%;
        max-width: 260px;
    }
}

.teaser-links__title {
    color: #484848;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin: 10px 0 0;
}

.teaser-links__link {
    color: #0358a9;
    text-decoration: none;
}

.teaser-links__listLinks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teaser-links__list--arrow {
    color: #0358a9;
    margin-right: 10px;
}

.teaser-links__list--link {
    color: #484848;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
}

.teaser-links__list--link:hover {
    color: #0358a9;
}

.teaser-links__image {
    overflow: hidden;
    display: block;
}

.responsive-image__img {
    height: 28px;
    width: auto;
}

.widget {
    display: flex;
    gap: 50px;
}

.list__header {
    display: flex;
    justify-content: space-between;
}

.form__list_input {
    margin-top: 20px;
}