/*
Theme Name: Art of Kenny
Author: David Holst
Description: Online-Kunstgalerie
Version: 1.0.4
*/

/*Schriftarten*/

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-Black.ttf") format("truetype");
  font-weight: 900;
}

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-Bold.ttf") format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-ExtraBold.ttf") format("truetype");
  font-weight: bolder;
}

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-Light.ttf") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-Regular.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Merienda";
  src: url("fonts/Merienda-SemiBold.ttf") format("truetype");
  font-weight: 700;
}

/*Schriftarten*/

html,
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

body {
    font-family: "Merienda";
    font-optical-sizing: auto;
    font-size: 14px;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background: none;
}

body h1 {
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.8),
    1px 0.5px 1px rgb(255, 180, 0, 1);
    font-size: 22px;
    color: rgb(220, 60, 0);
    text-decoration: underline;
    margin: 30px 10px;
}

body h2 {
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.8),
    1px 0.5px 1px rgb(255, 180, 0, 1);
    font-size: 18px;
    color: rgb(220, 60, 0);
    text-decoration: underline;
    margin: 60px 10px 30px 10px;
}

.Kontaktformular {
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.8),
    1px 0.5px 1px rgb(255, 180, 0, 1);
    font-size: 18px;
    color: rgb(220, 60, 0);
    text-decoration: underline;
    margin: 30px 10px;
}

body h3 {
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.8),
    1px 0.5px 1px rgb(255, 180, 0, 1);
    font-size: 16px;
    color: rgba(220, 60, 0);
    text-decoration: underline;
    margin: 60px 10px 30px 10px;
}

.gruß {
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 1),
    1px 1px 1px rgb(255, 80, 0);
    color: rgb(70, 140, 0);
    font-size: 16px;
    margin-top: 10px;
}

.ganz-liebe-grüße {
    margin-bottom: 10px;
}

body::before {
    content: "";
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(rgba(143, 143, 143, 0.1),
            rgba(143, 143, 143, 0.1)),
        url(https://art-of-kenny.de/wp-content/uploads/2024/10/Hintergrundbild-unscharf.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 46% center;
    background-attachment: fixed;
    z-index: -10;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    height: 20vh;
    overflow: hidden;
    padding: 30px 10px;
    background: linear-gradient(rgba(10, 10, 10, 1),
            rgba(0, 0, 0, 0.8));
}

.header-title {
    font-size: 36px;
    margin: 10px 0 10px 0;
    text-shadow: 3px -1px 1px rgb(0, 0, 0),
        1px 1px 1px rgb(255, 180, 0, 0.9),
        4px 1px 6px rgb(151, 106, 0);
    color: rgb(220, 60, 0, 0.8);
    font-weight: 1000;
    text-decoration: underline;
    letter-spacing: 4px;
    word-spacing: 6px;
    opacity: 0;
    animation: slideInFromLeft 2s ease-out;
    animation-fill-mode: forwards;
}

.header-text {
    text-shadow: 3px -1px 1px rgb(0, 0, 0),
        1px 1px 1px rgb(139, 139, 139),
        4px 1px 6px rgb(225, 0, 255);
    font-size: 16px;
    color: rgb(199, 199, 199);
    opacity: 0;
    margin: 10px 30px 10px 30px;
    animation: slideInFromRight 2s ease-out;
    animation-fill-mode: forwards;
}

@keyframes slideInFromLeft {
    0% {
        transform: scale(0.8) translateX(-40%);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: scale(0.8) translateX(40%);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
    }
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    margin-bottom: 130px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(45deg, rgb(40, 40, 40),
            rgb(20, 20, 20),
            rgb(40, 40, 40),
            rgb(20, 20, 20));
    text-align: center;
    border-radius: 0px;
    box-shadow: 0 -20px 40px rgba(10, 10, 10, 0.6),
        0 30px 80px rgba(255, 179, 0, 0.5),
        inset 0 4px 10px rgba(100, 100, 100, 0.4),
        inset 0 -4px 10px rgba(100, 100, 100, 0.4);
    padding: 14px;
    font-weight: 1000;
    opacity: 1;
    background-size: 100% 100%;
    background-position: top left;
    gap: 10px;
}

.header-logo img {
    height: 60px !important;
    border-radius: 10px;
    width: auto;
    display: block;
  }

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    margin-left: 2em;
    margin-right: 2em;
    font-size: 16px;
}

.nav-links .dropdown-menu {
    display: none;
    text-align: center;
    position: absolute;
    background: linear-gradient(45deg, rgba(40, 40, 40, 1),
            rgb(20, 20, 20),
            rgb(40, 40, 40),
            rgb(20, 20, 20));
    box-shadow: inset 0 4px 10px rgba(100, 100, 100, 0.8),
        inset 0 -4px 10px rgba(100, 100, 100, 0.8);
    border-radius: 4px;
    padding: 6px;
    list-style: none;
    opacity: 0;
    animation: slideInFromLeft 1s ease-out;
    animation-fill-mode: forwards;

}

.dropdown-arrow {
    cursor: pointer;
    color: rgb(255, 180, 0, 0.9);
}

.nav-links .dropdown.open .dropdown-menu {
    display: block;
    width: 150px;
    margin-top: 10px;
    margin-bottom: 0;
}

.nav-links .dropdown-menu li a {
    color: rgb(70, 130, 0);
    font-weight: 600;
    text-decoration: underline;
    text-align: right;
    display: block;
    padding: 4px;
    font-size: 14px;
    margin: 0 10px;
}

.nav-links .dropdown-menu li {
    margin: 0;
}

.burger {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
    width: 30px;
    margin: 0.5em;
}

.burger div {
    width: 100%;
    height: 4px;
    margin: 5px;
    background-color: rgb(255, 180, 0, 0.9);
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
    transition: all 1s ease;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-left: 1em;
}

@media (max-width: 790px) {
    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: linear-gradient(45deg, rgba(40, 40, 40, 1),
                rgb(20, 20, 20),
                rgb(40, 40, 40),
                rgb(20, 20, 20));
        border-radius: 8px;
        border: 6px solid rgba(255, 255, 255, 0.5);
        width: 100%;
        background-size: 100% 100%;
        background-position: top left;
        opacity: 0;
        animation: slideInFromLeft 1s ease-out;
        animation-fill-mode: forwards;
    }

    nav ul.nav-active {
        display: flex;
    }

    .nav-links .dropdown.open .dropdown-menu {
        display: contents;
        position: relative;
        width: 40vw;
        left: 40px;
        border: none;
        box-shadow: none;
        margin: 10px 0 0 0;
    }

    .dropdown-menu a {
        margin: 0;
        color: #ffffff;
    }

    nav ul li {
        display: block;
        margin: 10px;
    }

    .burger {
        display: block;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

main {
    margin: 4vw;
    margin-top: 130px;
    margin-bottom: 130px;
    flex-grow: 1;
}

.translucent-background {
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.08) 4%,
            rgba(255, 255, 255, 0.04) 16%,
            rgba(255, 255, 255, 0.08) 26%,
            rgba(255, 255, 255, 0.04) 38%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 62%,
            rgba(255, 255, 255, 0.08) 74%,
            rgba(255, 255, 255, 0.04) 86%,
            rgba(255, 255, 255, 0.08) 100%) #121212e8;
    padding: 10px 12vw;
    border-radius: 8px;
    box-shadow: inset 0 4px 10px rgba(100, 100, 100, 0.4),
        inset 0 -4px 10px rgba(100, 100, 100, 0.4);
}

@media (max-width: 900px) {
    .translucent-background {
        padding: 10px 2vw;
    }
}

section {
    color: #ffffff;
    opacity: 1;
    text-align: center;
}

.zoom-effect {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.5s ease-out 0s, transform 1.5s ease-out 0s;
}

.zoom-effect.in-view {
    opacity: 1;
    transform: scale(1);
}

section p {
    margin: 30px 10px;
    text-shadow: 1px 1px 0 black, -1px -1px 0 black,
        1px -1px 0 black, -1px 1px 0 black;
}

footer {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.08) 4%,
            rgba(255, 255, 255, 0.04) 16%,
            rgba(255, 255, 255, 0.08) 26%,
            rgba(255, 255, 255, 0.04) 38%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 62%,
            rgba(255, 255, 255, 0.08) 74%,
            rgba(255, 255, 255, 0.04) 86%,
            rgba(255, 255, 255, 0.08) 100%) #121212;
    color: #ffffff;
    box-shadow: 0px 0px 60px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 1em 0;
    position: relative;
    width: 100%;
    min-height: 80px;
    flex-shrink: 0;
    bottom: 0;
}

footer a {
    color: rgb(70, 130, 0);
    margin-left: 1em;
    margin-right: 1em;
}

footer p {
    margin-left: 1em;
    margin-right: 1em;
    text-shadow: 1px 1px 0 black, -1px -1px 0 black,
        1px -1px 0 black, -1px 1px 0 black;
}

.glossy-effect {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 2000;
    filter: blur(8px);
}

.glossy-effect::before {
    content: "";
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 100%;
    background: linear-gradient(0deg, rgba(255, 217, 0, 0.004),
            rgba(255, 217, 0, 0.06),
            rgba(255, 217, 0, 0.01),
            rgba(255, 217, 0, 0.06),
            rgba(255, 217, 0, 0.01),
            rgba(255, 217, 0, 0.06),
            rgba(255, 217, 0, 0.004));
    opacity: 0;
    animation: shine 4s linear;
    animation-delay: 16s;
    transform: rotate(30deg);
}

@keyframes shine {
    0% {
        top: -150%;
        left: 100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        left: -150%;
        opacity: 0;
    }
}

.image-container {
    position: relative;
    display: inline-block;
    text-align: center;
    margin: 0px auto;
}

.caption {
    font-size: 10px;
    color: #FFB400;
    padding: 6px;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6) 4%,
            rgba(0, 0, 0, 0.4) 16%,
            rgba(0, 0, 0, 0.6) 26%,
            rgba(0, 0, 0, 0.4) 38%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.4) 62%,
            rgba(0, 0, 0, 0.6) 74%,
            rgba(0, 0, 0, 0.4) 86%,
            rgba(0, 0, 0, 0.6) 100%),
        rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    text-align: center;
    max-width: fit-content;
    margin: auto;
    box-sizing: border-box;
    bottom: 0;
}

.image-container img {
    width: 20%;
    margin: 30px auto;
    box-shadow: 0 0 60px rgba(255, 180, 0, 0.4);
    border: 10px groove black;
    border-radius: 4px;
    height: auto;
    display: block;
    cursor: pointer;
}

.image-container a {
    font-size: 14px;
    font-weight: 900;

}

@media (max-width: 600px) {
    .image-container img {
        width: 50%;
        margin: 15px auto;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .image-container img {
        width: 30%;
        margin: 20px auto;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 150;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-content {
    max-height: 80%;
    max-width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

a {
    color: rgb(255, 180, 0, 0.9);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
    text-decoration: underline;
    overflow-wrap: break-word;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}

.header-bild {
    object-fit: contain;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    animation: slideInFromRight 1.5s ease-out;
    animation-delay: 0;
    animation-fill-mode: forwards;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    margin-bottom: 30px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.08) 4%,
            rgba(255, 255, 255, 0.04) 16%,
            rgba(255, 255, 255, 0.08) 26%,
            rgba(255, 255, 255, 0.04) 38%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 62%,
            rgba(255, 255, 255, 0.08) 74%,
            rgba(255, 255, 255, 0.04) 86%,
            rgba(255, 255, 255, 0.08) 100%) #121212;
    box-shadow: inset 0 4px 10px rgba(100, 100, 100, 0.8),
        inset 0 -4px 10px rgba(100, 100, 100, 0.8);
    padding: 20px;
    border-radius: 8px;
    align-items: center;
}

label {
    display: block;
    margin: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: linear-gradient(45deg, rgb(40, 40, 40),
            rgb(20, 20, 20),
            rgb(40, 40, 40),
            rgb(20, 20, 20));
    font-family: "Merienda";
    box-shadow: 0 0 10px rgba(225, 180, 255, 0.6);
    color: rgb(255, 180, 0, 0.9);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
    padding: 6px;
    margin: 10px;
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 180px;
}

button:hover {
    color: rgb(70, 130, 0);
    box-shadow: 0 0 14px rgba(221, 77, 0, 0.8);
}

.button-cta {
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
    cursor: pointer;
    box-shadow: 0 0 14px rgba(221, 77, 0, 0.8);
    border-radius: 10px;
    max-width: 250px;
}

.button-cta:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.button {
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(0, 0, 0, 0.4),
        1px -1px 0 rgba(0, 0, 0, 0.4), -1px 1px 0 rgba(0, 0, 0, 0.4);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(225, 180, 255, 0.6);
    border-radius: 10px;
    max-width: 250px;
}

.button:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}