@font-face {
    font-family: "Moderna";
    src: url("fonts/moderna.ttf");
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes slideDown {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(-10px);
    }
}

/* Body styles */
body {
    font-family: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
    font-size: 90%;
    background: linear-gradient(#a27b9c, #a27b9c68), url('./img/negative-space-abstract-defocus-background-02.webp');
    background-size: 100% 100%;
    background-attachment: fixed;
    height: 100%;
}

header {
    min-height: 400px;
    overflow: hidden;
}

header video {
    position: absolute;
    z-index: -1;
    display: block;
    top: -125px;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    filter: blur(5px) brightness(0.5);
}

header p {
    padding: 48px;
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 768px) {
    header p {
        font-size: 1.2em;
    }
}

header button {
    margin-left: 48px;
    margin-top: 24px;
    margin-bottom: 48px;
    padding: 18px 36px !important;
    background-color: #deb629;
}

button {
    user-select: none;
    cursor: pointer;
}

#main-logo {
    display: block;
    width: 90%;
    max-width: 300px;
    margin-bottom: 24px;
    filter: invert(1);
}

#footer-left p {
    padding-left: 12px;
}

/* Footer styles */
footer {
    background-color: #ffffff91;
    color: black;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

@media (max-width: 768px) {

    footer,
    #footer-right,
    #footer-links {
        flex-direction: column;
    }

    #footer-social {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    #accordion {
        padding: 24px;
    }
}

#content {
    padding: 48px;
    background: linear-gradient(#b2b2b2, #c0c0c038);
    color: #424242;
    line-height: 160%;
    min-height: 100vh;
}

#content a {
    color: #424242;
}

#content h1,
#content h2,
#content h3 {
    margin-top: 24px;
    margin-bottom: 24px;
    color: white;
    font-size: 20px;
    font-weight: normal;
}

#content p,
#content ul {
    margin-top: 12px;
    margin-bottom: 12px;
}

#content ul,
#content ol {
    list-style-position: inside;
}

#content summary {
    display: block;
    border-bottom: dotted 2px white;
    cursor: pointer;
    padding: 12px 0px 12px 0px;
    user-select: none;
    margin-bottom: 8px;
    font-weight: normal;
    color: white;
    font-size: 16px;
}

#content summary::before {
    margin-left: 1ch;
    display: inline-block;
    content: '▶️';
    transition: 0.2s;
    margin-right: 12px;
}

#content details[open]>summary::before {
    transform: rotate(90deg);
}

#content summary strong {
    font-weight: normal;
}

#footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#footer-left #artistdirectory-footer-logo {
    width: 200px;
    margin-bottom: 10px;
    filter: brightness(0);
}

#footer-right {
    display: flex;
    align-items: center;
}

#footer-social {
    display: flex;
    gap: 8px;
}

footer a {
    color: black;
    text-decoration: none;
}

footer p {
    margin-bottom: 12px;
}

#footer-links {
    display: flex;
    margin-right: 24px;
    gap: 12px;
    font-weight: bold;
}

#footer-social img {
    width: 36px;
}

#schauspielerprofil {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#schauspielerprofil .checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#schauspielerprofil .checkboxes label {
    cursor: pointer;
    line-height: 180%;
    border: solid 2px #027bff;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
}

#schauspielerprofil .checkboxes input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: solid 2px #027bff;
    background-image: #027bff;
    color: #027bff;
    border-radius: 4px;
    float: left;
    vertical-align: middle;
    margin-right: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

#schauspielerprofil .checkboxes input:checked {
    background-color: #027bff;
    transition: all 0.2s;
}

#schauspielerprofil .checkboxes input:checked::before {
    position: absolute;
    content: "✔";
    font-size: 18px;
    margin-left: 2px;
    margin-top: 2px;
    color: white;
    transition: all 0.2s;
}


#schauspielerprofil #schauspielerprofil-erklärung {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 24px;
    border-radius: 15px;
}

#schauspielerprofil label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

#schauspielerprofil input[type="text"],
#schauspielerprofil input[type="number"],
#schauspielerprofil input[type="email"],
#schauspielerprofil textarea {
    width: 100%;
    padding: 8px;
    border: solid 1px #979797;
    border-radius: 4px;
    margin-bottom: 12px;
}

#schauspielerprofil #additional-social-media-container {
    display: none;
}

#schauspielerprofil select {
    padding: 8px;
    border: solid 1px #979797;
    border-radius: 4px;
    margin-bottom: 12px;
    margin-right: 12px;
    ;
}

#schauspielerprofil #languageList {
    list-style-position: inside;
}

#schauspielerprofil #languageList li {
    margin-top: 12px;
    margin-bottom: 12px;
    user-select: none;
    cursor: pointer;
}

#schauspielerprofil #languageList li::after {
    content: "🗑️";
    margin-left: 12px;
}

#schauspielerprofil #profile-pic-container {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

#schauspielerprofil input[type=file]::file-selector-button {
    background-color: #007bff;
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 4px;
    user-select: none;
    cursor: pointer;
}

#schauspielerprofil #profile-pic-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;

}

#schauspielerprofil #profile-pic-container canvas {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 4px;
    width: 240px;
}

#schauspielerprofil textarea::placeholder,
#schauspielerprofil nav::placeholder {
    color: white;
}

#schauspielerprofil button {
    background-color: #e97977;
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 4px;
    user-select: none;
    cursor: pointer;
}

#schauspielerprofil h1,
#schauspielerprofil h2,
#schauspielerprofil h3 {
    margin-top: 24px;
    margin-bottom: 24px;
}

main button {
    padding: 10px 20px;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

#content button {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    margin-top: 16px;
    background-color: #deb629;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

dialog {
    width: 96%;
    max-width: 400px;
    padding: 20px;
    border: none;
    color: black;
    border-radius: 4px;
    margin: auto;
    animation: zoomFade 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes zoomFade {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

dialog {
    animation: zoomFade 0.3s ease-in-out;
}

dialog button {
    padding: 12px 12px;
    background-color: #deb629;
    color: #fff;
    border: solid 2px white;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 8px;
    user-select: none;
}

dialog button:hover,
dialog button:active,
dialog button:focus {
    filter: brightness(1.2);
}

dialog #closeButton {
    background-color: rgb(87, 87, 87);
}

dialog #content-placeholder {
    display: block;
    margin-bottom: 18px;
    line-height: 140%;
    user-select: none;
}

#home_cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-around; /* Align cards in a balanced manner */
    align-items: stretch; /* Ensures all cards have the same height */
}

#home_cards h2 {
    display: flex;
    font-family: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
    font-size: 1.8em;
    margin: 0;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.arrow-circle {
    display: block;
    width: 60px;
}

#home_cards section {
    display: flex;
    flex-direction: column;
    padding: 1.5em 2em;
    align-items: start; /* Align content to the top */
    gap: 1.25em;
    color: #eceff1;
    background-color: #2b2b2b7e;
    border: 1px solid #eceff133;
    border-radius: 15px;
    flex: 1 1 300px; /* Allows cards to grow/shrink but ensures a consistent width */
}

#signup_form {
    max-width: 400px;
    margin: 0 auto;
}

hr {
    margin-top: 36px;
    margin-bottom: 24px;
}

#signup_form h2 {
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    color: #5b5b5b;
}

#signup_form .form-group {
    margin-bottom: 20px;
}

#signup_form label {
    display: block;
    font-weight: bold;
}

#signup_form input[type="email"],
#signup_form input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.small_white_svg {
    display: inline-block;
    width: 24px;
}

.small_white_svg path {
    fill: white;
}

.icon_and_value {
    display: flex;
    gap: 12px;
    color: white;
    margin-bottom: 12px;
}