/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@import url("fa.min.css");

:root {
    --primary-color: #f17433;
    --font-family: Helvetica Neue;
    --warning: #ff5454;
    --fa-bounce-rebound: 0;
    --fa-animation-duration: 3s;
    --mobile-font-size: 11px;
}

body {
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Helvetica neue;
}
header {
    margin-bottom: 50px;
}
main {
    width: 90%;
    max-width: 1604px;
    margin: auto;
    font-family: var(--font-family);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
a:visited {
    color: var(--primary-color);
}
a:hover {
    text-decoration: underline;
}

.primary-color {
    color: var(--primary-color);
}
.file-upload {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
    margin-top: 45px;
    border: 1px solid #ccc;
    display: block;
    padding: 6px 12px;
    cursor: pointer;
    color: #ffffff;
    background: var(--primary-color);
    font-size: 1.5rem;
}
.preview {
    width: 80%;
    aspect-ratio: auto;
    max-width: 300px;
    margin: auto;
}
#prev-img {
    width: 100%;
    aspect-ratio: auto;
}
input[type="file"] {
    display: none;
}
.socken-grid {
    width: 78%;
    margin: auto;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 15px 1fr 15px 1fr 15px 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
}
.socken-grid-element {
    position: relative;
    border: 1px solid #707070;
    border-radius: 7px;
    overflow: hidden;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1),
        0 6px 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
}

.socken-grid-element img {
    width: 100%;
    height: 100%;
    -o-object-position: 50% 100%;
    object-position: 50% 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.socken-grid-element h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    /* height: 25%; */
    padding: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    overflow-wrap: break-word;
}
.socken-grid-element input:checked + h4 {
    color: #fff;
    background: var(--primary-color);
}

.hidden {
    display: none;
}

/* Progress Bar */
.left-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    background: var(--primary-color);
    width: 15%;
    border-radius: 30px 0 0 30px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    border-left: 1px solid #333;
}

.right-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    background: var(--primary-color);
    width: 15%;
    border-radius: 0 30px 30px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    border-right: 1px solid #333;
}
.button {
    cursor: pointer;
}
.right-button i {
    font-size: 5vw;
    color: #fff;
}
.left-button i {
    font-size: 5vw;
    color: #fff;
}

.progress-bar-wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    border-radius: 15px;
}
.progress-bar-wrapper a span:hover {
    text-decoration: underline;
}

.progress-bar {
    position: relative;
    width: 100%;
    padding: 45px;
    border: 1px solid #333;
}

.progress-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.progress-bar-wrapper-mobile {
    display: none;
}

@media screen and (min-width: 801px) {
    .progress-bar-hr {
        /* position: absolute;
        height: 5px;
        width: 0;
        top: 50%;
        left: 0%; */
        position: absolute;
        height: 5px;
        width: 0%;
        top: 48%;
        left: 0%;
        background: var(--primary-color);
        /*33%, 66%, 99%*/
    }
    .progress-list::before {
        content: "";
        background-color: lightgray;
        position: absolute;
        top: 48%;
        left: 0;
        height: 5px;
        width: 100%;
        z-index: -1;
    }
    .step {
        position: relative;
        border: 3px solid lightgray;
        border-radius: 100%;
        width: 25px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        background-color: #fff;
        font-family: sans-serif;
        font-size: 14px;
        position: relative;
        z-index: 1;
        white-space: nowrap;
    }

    .step:nth-child(even) span {
        position: absolute;
        -webkit-transform: translate(-50%, -100%);
        -ms-transform: translate(-50%, -100%);
        transform: translate(-50%, -100%);
    }

    .step:nth-child(odd) span {
        position: absolute;
        -webkit-transform: translate(-50%, 100%);
        -ms-transform: translate(-50%, 100%);
        transform: translate(-50%, 100%);
    }

    .step.active {
        /* border-color: lightseagreen; */
        background-color: var(--primary-color);
    }
}
/* Progress Bar */
.top-bar {
    width: 100%;
    color: #fff;
    background: #494949;
}
.top-bar ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1604px;
    margin: auto;
    text-decoration: none;
    list-style: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding: 10px 0 10px 0;
}
.top-bar ul li {
    display: inline-block;
    font-size: 20px;
}
.top-bar ul li i {
    margin: 12px;
    color: var(--primary-color);
}
.main-bar {
    display: block;
    width: 100%;
    background: #f6f6f6;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.main-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 90%;
    max-width: 1604px;
    margin: auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.logo {
    display: block;
    position: relative;
    max-width: 480px;
    max-height: 80px;
    padding: 10px 0;
}
.logo img {
    width: 100%;
}
.navigation {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    list-style: none;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.navigation a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #000;
    background: #fff;
    border: 1px solid #adadad;
    /* border-radius: 10px; */
    margin-top: auto;
    margin-bottom: auto;
}
.navigation a:hover {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/** Info Pages Styling*/
.info-page img {
    padding: 10px;
    border: 1px solid #e3e3e3;
    width: 80%;
    height: auto;
    max-width: 400px;
    margin-right: 10px;
}
footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 12px;
    gap: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 50px;
    background: var(--primary-color);
}
footer p {
    color: #fff;
    padding: 16px;
    margin-top: auto;
    margin-bottom: auto;
}
footer a {
    color: #fff;
    padding: 16px;
    margin-top: auto;
    margin-bottom: auto;
}
footer a:visited {
    color: #fff;
}
@-webkit-keyframes logo-upload {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    25% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
@keyframes logo-upload {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    25% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
.file-animation {
    -webkit-animation-name: logo-upload;
    animation-name: logo-upload;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
}
/*Pop Up*/
#pop-up {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(164, 164, 164, 0.692);
    z-index: 2;
}
#pop-up h2 {
    text-align: center;
    font-size: 34px;
    color: #fff;
}
#pop-up .content {
    top: calc(50% - 345.88px / 2);
    position: relative;
}
.länder-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 60%;
    margin: auto;
    gap: 50px;
}
.länder-flex div {
    width: calc(50% - 50px);
    max-width: 400px;
    border: 4px solid #fff;
    cursor: pointer;
}
.länder-flex div img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/2;
}
.länder-flex div:hover {
    border: 4px solid var(--primary-color);
}
@media screen and (max-width: 600px) {
    .socken-grid {
        width: 100%;
    }
    .top-bar ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}
@media screen and (max-width: 800px) {
    main {
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }
    .top-bar ul {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .main-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 30px;
    }
    .navigation {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .navigation a {
        width: 40%;
    }
    .länder-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .länder-flex div {
        width: 100%;
    }
    footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    .socken-grid-element h4 {
        font-size: 1rem;
    }
    .progress-bar-wrapper {
        display: none;
    }
    .progress-bar-wrapper-mobile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 45px;
    }
    .progress-bar {
        width: 100%;
        padding: 0;
    }
    .left-button {
        width: 100%;
        height: 100px;
        border-radius: 30px 30px 0 0;
        border: 1px solid #333;
        border-bottom: none;
    }
    .right-button {
        width: 100%;
        height: 100px;
        border-radius: 0 0 30px 30px;
        border: 1px solid #333;
        border-top: none;
    }
    .left-button i {
        font-size: 65px;
    }
    .right-button i {
        font-size: 65px;
    }
    .progress-list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .progress-list li {
        font-size: 18px;
        padding: 12px 16px;
    }
}
@media screen and (max-width: 1000px) {
    .socken-grid {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (min-width: 1800px) {
    .right-button i {
        font-size: 100px;
        color: #fff;
    }
    .left-button i {
        font-size: 100px;
        color: #fff;
    }
}
