@font-face {
    font-family: 'romande_adf_stdregular';
    src: url('webfont/Romande-Collection/RomandeNo2-Std/webfontkit/romandeadfstd-regular-webfont.woff2') format('woff2'),
        url('webfont/Romande-Collection/RomandeNo2-Std/webfontkit/romandeadfstd-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'junicode';
    src: url('webfont/junicode/junicode-regular-webfont.woff2') format('ttf'),
        url('webfont/junicode/junicode-regular-webfont.woff') format('ttf'),
        font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'romande_adf_stditalic';
    src: url('webfont/Romande-Collection/RomandeNo2-Std/webfontkit/romandestd-italic.woff2') format('woff2'),
        url('webfont/Romande-Collection/RomandeNo2-Std/webfontkit/RomandeADFNo2Std-Italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.loadingScreen {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100vh;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.index {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #d9d3d3;
    font-family: 'romande_adf_stdregular', sans-serif;
    font-size: 0.625rem;
    font-size: clamp(0.625rem, 0.4247rem + 0.8547vw, 0.9375rem);
    letter-spacing: -1px;
    overflow: hidden;
    background-image: url(imgs/oui/ou-main1-optimized-resized.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

img {
    max-width: 100%;
    height: auto;
}

.top {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    grid-auto-rows: 1fr;
    box-sizing: border-box;
    flex-direction: row;
}

@media (min-width: 40em) {
    .top {
        flex: 100%;
    }
}

/* Media query for medium screens (tablets) */
@media only screen and (max-width: 900px) {
    .top {
        padding: 0.8rem;
        font-size: 1rem;
        /* Medium font size */
        line-height: 100%;
    }

    #top-left,
    #top-center,
    #top-right {
        padding: 0 0.5rem;
    }
}

/* Media query for smaller screens (mobiles) */
@media only screen and (max-width: 600px) {
    .top {
        flex-direction: column;
        padding: 0.5rem;
        font-size: 0.9rem;
        /* Smaller font size */
    }

    #top-left,
    #top-center,
    #top-right {
        width: 100%;
        padding: 5px 0;
        text-align: center;
    }
}

@media (min-width: 1300px) {
    .top {
        justify-content: center;
    }
}



#top-left,
#top-center,
#top-right {
    flex: 1;
    /* flex: 250px; */
    padding: 0.5rem;
    text-align: center;
    max-width: 650px;
}

/* Adjust text styles inside each column */
#top-left p,
#top-center p,
#top-right p {
    text-align: center;
    font-size: 0.8125rem;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
}

#top-left p {
    color: #000000;
    font-size: 0.6125rem;
    line-height: 100%;
}

#top-left h2 {
    color: #000000;
    letter-spacing: .1em;
    /*   box-shadow: inset .25em 0 1em grey;
    border-radius: 1em;
    text-shadow: 3px 3px 5px rgba(0,251,1,0.6);
 text-shadow: rgba(0, 0, 0, 0.498) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
*/
}



#top-right {
    position: relative;
    z-index: 100;
}

#top-center p {
    font-size: 0.8125rem;
    font-size: clamp(0.4375rem, 0.1971rem + 1.0256vw, 0.8125rem);
}

/* For the links in #top-right */
#top-right a {
    color: black;
    padding: 0 5px;
    text-shadow: 5px 5px 10px yellow;
    transform: rotate(3deg);
    /* Rotate link */
    transition: transform 0.3s;
    /* Smooth transition on hover */
    text-decoration: none;
    display: inline-block;
    margin: 0 7px;
    /* Spacing between links */
    opacity: 0.5;
    font-size: 0.875rem;
    font-size: clamp(0.75rem, 0.6699rem + 0.3419vw, 0.875rem);
}

#top-right a:hover {
    opacity: 1;
}

#top h2 {
    font-size: 1.5rem;
    font-size: clamp(1.25rem, 1.25rem + 0.5vw, 1.5rem);
    text-shadow: rgba(0, 0, 0, 0.498039) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
    color: #ffffff;
    transform: rotate(3deg);
    font-weight: 400;
    letter-spacing: .1em;
}

#top-left,
#top-center {
    z-index: -3;
}

#gradient {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    z-index: -1;
    background: linear-gradient(180deg, rgb(106, 120, 244), rgba(255, 255, 255, 0));
}

#gradientn {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    z-index: -1;
    background: linear-gradient(180deg, rgb(55, 235, 79), rgba(255, 255, 255, 0));
}

#gradients {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    z-index: -1;
    background: linear-gradient(180deg, rgb(226, 235, 55), rgba(255, 255, 255, 0));
}

#gradientr {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    z-index: -1;
    background: linear-gradient(180deg, rgb(248, 212, 212), rgba(255, 255, 255, 0));
}

#gradientc {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    z-index: -1;
    background: linear-gradient(180deg, rgb(61, 55, 235), rgba(255, 255, 255, 0));
}

#gradientw {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100px;
    z-index: -1;
}

.backhome {
    position: fixed;
    bottom: 5%;
    right: 0%;
    transition: all 0.5s ease-in-out;
    z-index: 1000;
    max-width: 23vw;
    height: auto;
    width: 17vw;
}

.backhome img {
    width: 70%;
    height: auto;
}

.backhome:hover {
    transform: scale(1.3);
}

/* Resetting all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Circular menu */
.menu {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;
    z-index: 1;
}

.menu2 {
    z-index: 10;
    position: absolute;
    z-index: 10;
    overflow: hidden;
    box-sizing: border-box;
    color: rgb(219, 219, 219);
}

.menu2 ul {
    margin: 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu2 li {
    list-style: none;
    text-align: center;
    list-style-type: none;
    margin: 0;
    flex: 1 0 12.5%;
    border: 0.5px solid black;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    position: relative;

    background: rgb(230,224,224);
    background: linear-gradient(360deg, rgb(218, 217, 217) 0%, rgba(37,56,217,0.45420174905899857) 100%); 
}



.menu2 li a {
    text-decoration: none;
    font-family: 'romande_adf_stdregular';
    font-size: 2.2vw;
    color: rgb(255, 253, 253);
    text-shadow: rgba(0, 0, 0, 0.498) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
    line-height: 1.3em;
    text-align: center;

    justify-content: center;
    align-items: center;


    display: block;
    width: 100%;
    height: 100%;
    padding: 1.5em ;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    transition: 1s background-color;


}

.menu2 li:hover {
    background-color: #a9a9a9;
    transform: rotate(-20deg) scale(1.1);
    box-shadow: 0px 0.8vw 1.5vw 0px rgba(0, 0, 0, 0.66);
}

/* Toggle button - central */
.toggle {
    position: absolute;
    width: 400px;
    height: 400px;
    cursor: pointer;
    display: flex;
    z-index: 10;
    align-items: center;
    justify-content: center;
    transition: transform 1.25s ease-in-out;
    outline: none;
}

menu.active .toggle {
    transform: rotate(315deg);
}

/* Toggle button image */
.menu .toggle img {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    outline: none;
}

/* Menu items - initially hidden */
.menu li {
    display: flex;
    position: absolute;
    top: 150px;
    left: 0;
    list-style: none;
    transition: 0.5s;
    transform-origin: 230px;
    transition-delay: calc(0.1s * var(--i));
    transform: rotate(0deg) translateX(160px);
    visibility: hidden;
    z-index: 11;
    outline: none;
}

/* When the menu is active */
.menu.active li {
    transform: rotate(calc(360deg / 5 * var(--i)));
    visibility: visible;
    outline: none;
}

/* Menu item links */
.menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    color: var(--clr);
    border-radius: 50%;
    font-size: 2em;
    transform: rotate(calc(360deg / -5 * var(--i)));
    transition: 0.5s;
    /*box-shadow: 0 3px 4px rgba(0,0,0,0.15);*/
    text-decoration: none;
    text-wrap: nowrap;
    outline: none;
}

/* Hover effect for menu items */
.menu li a:hover {
    background: var(--clr);
    color: rgb(0, 0, 0);
    box-shadow: 0 0 10px var(--clr),
        0 0 70px var(--clr),
        0 0 50px var(--clr);
}

.menu_txt {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    font-size: clamp(0.8rem, 0.371rem + 1.143vw, 1.4rem);
    text-shadow: 2px 2px 10px yellow;
}

#button-img {
    z-index: -1;
}

#button-img:hover {
    transform: rotate(360deg);
    transition: 0.5s;
}

/* Menu items - initially hidden */
.menu li {
    display: flex;
    position: absolute;
    top: 150px;
    left: 0;
    list-style: none;
    transition: 0.5s;
    transform-origin: 200px;
    transition-delay: calc(0.1s * var(--i));
    transform: rotate(0deg) translateX(160px);
    visibility: hidden;
    z-index: 11;
}

@media all and (max-width: 500px) {

    .menu2 ul {
        margin: 0;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      width: 100%;
      padding: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }


.menu2 li a {
    text-decoration: none;
    font-family: 'romande_adf_stdregular';
    font-size: 5vw;
    color: rgb(255, 253, 253);
    text-shadow: rgba(0, 0, 0, 0.498) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
    line-height: 1em;
    text-align: center;

    padding: 1.5em ;



}

    /* Circular menu */
    .menu {
        position: absolute;
        width: 400px;
        height: 400px;
        top: 30vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        z-index: 1;
        outline: none;
    }

    /* Toggle button - central */
    .toggle {
        position: absolute;
        width: 400px;
        height: 400px;
        cursor: pointer;
        display: flex;
        z-index: 10;
        align-items: center;
        justify-content: center;
        transition: transform 1.2s ease-in-out;
        outline: none;
    }

    menu.active .toggle {
        transform: rotate(315deg);
    }

    /* Toggle button image */
    .menu .toggle img {
        width: 80%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        outline: none;
    }

    /* Menu items - initially hidden */
    .menu li {
        display: flex;
        position: absolute;
        top: 150px;
        left: 0;
        list-style: none;
        transition: 0.5s;
        transform-origin: 200px;
        transition-delay: calc(0.1s * var(--i));
        transform: rotate(0deg) translateX(160px);
        visibility: hidden;
        z-index: 11;
        outline: none;
    }


    /* When the menu is active */
    .menu.active li {
        transform: rotate(calc(360deg / 5 * var(--i)));
        visibility: visible;
        outline: none;
    }

    /* Menu item links */
    .menu li a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90px;
        height: 90px;
        color: var(--clr);
        border-radius: 50%;
        font-size: 2em;
        transform: rotate(calc(360deg / -5 * var(--i)));
        transition: 0.5s;
        /*box-shadow: 0 3px 4px rgba(0,0,0,0.15);*/
        text-decoration: none;
        text-wrap: nowrap;
        outline: none;
    }

    .menu_txt {
        position: relative;
        z-index: 1;
        font-size: 1.3rem;
        font-size: clamp(0.8rem, 0.371rem + 1.143vw, 1.4rem);
        text-shadow: 2px 2px 10px yellow;
    }

}

/*.........
cOnTaCt
........*/

.contact-body {
    margin: 0;
    height: 100%;
    background-image: url(imgs/oui/ornament.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: visible;
}

.scroll-text-container {
    position: relative;
}

.scroll-text-container p {
    color: #c3faa5;
}



.contactWrapper {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    

    box-sizing: border-box;
    position: relative;
    overflow: visible;
    padding: 30px;
    margin: 0;
    text-decoration: none;
}

.contactWrapper p {
    font-family: 'romande_adf_stdregular';
    font-size: 1rem;
    text-decoration: none;
    color: black;
    filter: drop-shadow(1px 1px 4px black);
    text-align: center;
    line-height: 1.5;
}



.contactWrapper a {
    text-decoration: none;
    color: #000000;
   
    font-weight: 400;
    transition: all 0.5s ease-in-out;
    z-index: 11;
}

.contactWrapper a:hover{
    color: blue;
}

.contactWrapper ul li a:hover {
    color: #000;
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
    z-index: 11;
    background-color: var(--metal);
    color: var(--cream);
}

.contactWrapper ul li a:after {
    content: "";
    position: absolute;
    bottom: -5px;
}

.animated-text {
    height: 50px;
    overflow: hidden;
    position: relative;
}

.animated-text p {
    font-size: 3em;
    color: limegreen;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;
    /* Starting position */
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    /* Apply animation to this element */
    -moz-animation: example1 15s linear infinite;
    -webkit-animation: example1 15s linear infinite;
    animation: example1 15s linear infinite;
}

@-moz-keyframes example1 {
    0% {
        -moz-transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes example1 {
    0% {
        -webkit-transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes example1 {
    0% {
        -moz-transform: translateX(100%);
        /* Firefox bug fix */
        -webkit-transform: translateX(100%);
        /* Firefox bug fix */
        transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
        /* Firefox bug fix */
        -webkit-transform: translateX(-100%);
        /* Firefox bug fix */
        transform: translateX(-100%);
    }
}

@media only screen and (max-width: 600px) {
    .contact-body {
        background-image: url(imgs/backg/frodoetsam-dot-mobile.png);
    }

    .contactWrapper {
        top: -4vh;
    }
}

/*.........
wOrK
........*/

#sound-body {
    background-image: url(imgs/:sound/backg-sound.jpg);
    background-color: white;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: left;
    overflow: auto;
}

#container {
    top: 24vh;
    justify-content: center;
    width: 100vw;
    height: auto;
    text-decoration: none;
    padding: 10px;
    position: absolute;
    font-family: 'romande_adf_stdregular';
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    flex-wrap: wrap;
    /*gap: 12px;*/
    scrollbar-width: none;
    /* For Firefox */
}

/* Webkit browsers (Chrome, Safari, Edge) */
#container::-webkit-scrollbar {
    display: none;
    /* Hides the scrollbar */
}

#container a {
    color: black;
    text-decoration: none;
    font-size: 0.75rem;
    font-family: 'romande_adf_stdregular';
    letter-spacing: 0.0001rem;
    padding: 0
}


#container b {
    font-size: 1rem;
    font-family: 'romande_adf_stdregular';
    letter-spacing: 0.0001rem;
    line-height: 5%;
    padding: 0;
}

#container a:hover {
    text-decoration: none;
    text-shadow: 5px 5px 10px rgb(13, 0, 255);
}

.content01::after {
    content: "";
    position: absolute;
    top: -3vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 70vw;
    height: 70vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content01:hover::after {
    display: block;
    background-image: url(imgs/:workthumbs/mombg.png);

}

.content02::after {
    content: "";
    position: absolute;
    top: -5vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 50vw;
    height: 75vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content02:hover::after {
    display: block;
    background-image: url(imgs/:work/:dust/magazine.jpeg);
    opacity: 0.9;
}

.content03::after {
    content: "";
    position: absolute;
    top: -10vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 50vw;
    height: 75vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content03:hover::after {
    display: block;
    background-image: url(imgs/:workthumbs/dopabg.png);
}

.content04::after {
    content: "";
    position: absolute;
    top: 9vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 50vw;
    height: 50vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content04:hover::after {
    display: block;
    background-image: url(imgs/:workthumbs/takkrbg.png);
}

.content05::after {
    content: "";
    position: absolute;
    top: -4vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 80vw;
    height: 70vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content05:hover::after {
    display: block;
    background-image: url(imgs/:work/:tape/tape1.jpg);
    opacity: 0.7;
}

.content06::after {
    content: "";
    position: absolute;
    top: 0vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 75vw;
    height: 75vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content06:hover::after {
    display: block;
    background-image: url(imgs/:workthumbs/umprumbg.png);
    opacity: 0.6;
}

.content07::after {
    content: "";
    position: absolute;
    top: 0vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content07:hover::after {
    display: block;
    background-image: url(imgs/:work/:inota/palma_23inota.jpg);
}

.content09::after {
    content: "";
    position: absolute;
    top: 0vh;
    left: 50vw;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.content09:hover::after {
    display: block;
    background-image: url(imgs/:work/:stillthere/martinskohout-stillthere.jpg);
}


#container ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: auto;
}

#container li {
    display: flex;
    flex-direction: row;
    padding: 15px;
    height: 100px;
    width: 270px;
    cursor: pointer;
}

#container h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    line-height: 50px;
    text-align: center;
    padding: 2px;
    color: rgb(119, 143, 94);
    text-shadow: #FC0 1px 0 10px;
    ;
}

.showButton {
    display: inline-block;
}

#appear {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Horizontally center hidden content */
    align-items: center;
    /* Vertically center hidden content */
    position: fixed;
    /* Fixed to the viewport */
    top: 0;
    left: 0;
    z-index: 111111111111;
    width: 100vw;
    /* Full width of the viewport */
    height: 100vh;
    /* Full height of the viewport */
    pointer-events: none;
    /* Ensure it doesn't block clicks outside */
}

.hiddenContent1,
.hiddenContent2,
.hiddenContent3,
.hiddenContent4,
.hiddenContent5,
.hiddenContent6 {
    display: none;
    /* Initially hidden */
    flex-direction: column;
    /* Stack images and text vertically */
    align-items: center;
    /* Center align content */
    justify-content: flex-start;
    /* Align to the top */
    margin: 0 auto;
    /* Center the container */
    padding: 10px;
    /* background-color: rgba(248, 251, 227, 0.8);  Background color */
    border-radius: 5px;
    /* box-shadow: rgba(202, 225, 27, 0.8) 0 0 30px 3px;  Optional shadow */
    position: relative;
    /* Keep content in flow */
    overflow: hidden;
    /* Prevent overflow */
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
    /* Ensure padding is included in width calculation */
}

/* When content is active (display: block), apply flexbox */
.hiddenContent1.active,
.hiddenContent2.active,
.hiddenContent3.active,
.hiddenContent4.active,
.hiddenContent5.active,
.hiddenContent6.active {
    display: block;
    /* Show the content when active */
}

/* 
.imageRow {
    display: flex;
    flex-direction: row;
    gap: 8px; /* Space between images */
justify-content: center;
/* Center the images */
align-items: center;
/* Align images vertically */
margin: 0 auto;
/* Center images horizontally */
width: auto;
box-sizing: border-box;
/* Ensure padding is considered in width calculation */
position: relative;
padding: 10px;
width: fit-content;
margin-top: 100px;

}

/*
.imageRow img {
    height: 100%;
    max-height: 400px; /* Restrict height */
width: auto;
/* Maintain aspect ratio */
object-fit: contain;
/* Ensure images are not cropped */
border-radius: 1px;
/* Optional for rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
/* Optional shadow */

}

/*
.textContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%; /* Ensure the text container matches the width of the image row */
max-width: 400px;
margin-top: 100px;
padding: 10px;
justify-content: flex-start;
align-items: flex-start;
box-sizing: border-box;
/* Ensure padding is included */

margin-right: 40px;
}

/*
.textContainer p {
    font-size: 0.8rem; /* Adjust font size */
line-height: 1.6;
text-align: left;
word-wrap: break-word;
/* Break long words to avoid overflow */
}

*/

/* Container for both image row and media container */
.hiddenContent1 .contentWrapper,
.hiddenContent2 .contentWrapper,
.hiddenContent3 .contentWrapper,
.hiddenContent4 .contentWrapper,
.hiddenContent5 .contentWrapper,
.hiddenContent6 .contentWrapper {
    display: flex;
    /* Align items in a row */
    justify-content: flex-start;
    /* Align items to the left */
    align-items: flex-start;
    /* Align items to the top */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /* Include padding in width calculation */
    flex-wrap: nowrap;
    /* Prevent wrapping, always keep them in a row */
    transform: rotate(1deg);
}

/* Media Container 
.mediaContainer {
    width: 50%;
    max-width: 400px;
    height: 500px;
    display: flex;
    justify-content: center; /* Center media content */
align-items: center;
/* Center vertically */
flex-direction: row;
flex-wrap: wrap;
box-sizing: border-box;
margin-top: 100px;
margin-right: 50px;
padding: 10px;
}

/* Media inside the container (iframe, video, audio) */
/* 
  .mediaContainer iframe, 
  .mediaContainer video, 
  .mediaContainer audio {
    width: 100%; /* Full width */
height: auto;
/* Maintain aspect ratio */
max-height: 500px;
/* Optional max-height */
border: none;
/* No border */
border-radius: 5px;
/* Rounded corners */
}

*/

/* Force text container to match image row width */
.hiddenContent1 .imageRow,
.hiddenContent2 .imageRow,
.hiddenContent3 .imageRow,
.hiddenContent4 .imageRow,
.hiddenContent5 .imageRow,
.hiddenContent6 .imageRow {
    width: max-content;
}

.hiddenContent1:hover,
.hiddenContent2:hover,
.hiddenContent3:hover,
.hiddenContent4:hover,
.hiddenContent5:hover,
.hiddenContent6:hover {
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly darker background on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    /* Increase shadow on hover */
}

.hiddenContent1 h3,
.hiddenContent2 h3,
.hiddenContent3 h3,
.hiddenContent4 h3,
.hiddenContent5 h3,
.hiddenContent6 h3 {}

.active {
    display: block;
}

/* Responsiveness */
@media (max-width: 768px) {
    .imageRow {
        flex-wrap: wrap;
        /* Allow wrapping on smaller screens */
        justify-content: center;
        /* Center images */
    }

    .textContainer {
        font-size: 1rem;
        /* Adjust font size on mobile */
    }
}

.closeButton {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: rgb(98, 96, 96);
    cursor: pointer;
    z-index: 111111;
    /* Ensure it appears on top */
}

.closeButton:hover {
    pointer-events: pointer;
}

.disable-buttons {
    pointer-events: none;
    opacity: 0.5;
    /* Optional: makes the buttons look disabled */
}



/*.........
mOm
........*/

.mom-body {
    margin: 0;
    height: 100%;
    overflow: visible;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.top_work {
    z-index: 2222222224444;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    grid-auto-rows: 1fr;
    box-sizing: border-box;
    flex-direction: row;
    width: 100%;

    @media (width>=40em) {
        flex: 100%;
    }

}

#top_left_work p {
    margin-left: 40px;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;

    text-shadow: rgba(0, 0, 0, 0.498039) -1px -1px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
}

#top_center_work p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.workContent {
    width: 100%;
    max-width: 100%;
    margin-top: 100px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

.textContainer {
    width: 28%;
    text-align: left;
    padding: 23px;

    /* blurred backg */
    background: rgba(41, 11, 11, 0.07);
    border-radius: 10%;
    box-shadow: 0 4px 30px rgb(175, 99, 99);
    backdrop-filter: blur(15.5px);
    -webkit-backdrop-filter: blur(20.5px);
}

.textContainer p {
    color: #000;
    font-size: .9rem;
    /* Adjust font size */
    line-height: 1.3;
    word-wrap: break-word;
    /* Break long words to avoid overflow */
    font-weight: 400;
    font-family: 'romande_adf_stdregular';
}

.textContainer h5 {
    font-style: italic;
    border-top: solid;
    box-sizing: border-box;
    border-right: solid;
    border-right-width: medium;
    border-right-color: currentcolor;
    border-top-left-radius: 40% 25%;
    border-top-right-radius: 50%;
    text-shadow: rgba(0, 0, 0, 0.498039) -1.2px -1.2px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
}

.textContainer a {
    text-decoration: none;
    font-style: italic;
    color: #c3faa5;
    font-weight: bold;
    font-size: .9rem;
    font-family: 'romande_adf_stdregular';
    text-shadow: rgba(0, 0, 0, 0.498039) -1.2px -1.2px 0px, rgba(0, 0, 0, 0.498039) -1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px 1px 0px, rgba(0, 0, 0, 0.498039) 1px -1px 0px;
}

.mediaContainer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
    flex-wrap: wrap;
    min-height: 100vh;
    width: auto;
    padding: 2.604vw;
    gap: 1.5em;
}

.gallery {
    width: 66%;
    min-height: 100%;
}

.carousel {
    width: 66vw;
    height: 100vh;
    position: relative;
}

.carousel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-button {
    position: absolute;
    z-index: 10;
    background: none;
    border: none;
    font-size: 3.5rem;
    top: 33%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.984);
    cursor: pointer;
    border-radius: 40%;
    padding: 0 .5rem;
    background-color: rgba(173, 176, 179, 0.3);
}

.carousel button:hover,
.carousel button:focus {
    color: white;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
}

.slide[data-active] {
    opacity: 1;
    transition-delay: 0ms;
    z-index: 2;
}

.slide img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}

.slide iframe {
    display: block;
    position: relative;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    overflow: hidden;
    pointer-events: auto;
    visibility: hidden;
    /* Hide iframe by default */
    pointer-events: none;
    /* Disable interaction by default */
}

.slide:not([data-active]) iframe {
    pointer-events: none;
    /* Prevent interaction with non-active videos */
    pointer-events: auto;
    /* Enable interaction when active */
}


.backtoworks {
    position: fixed;
    bottom: 5%;
    left: 3%;
    transition: all 0.5s ease-in-out;
    z-index: 1000;
    max-width: 23vw;
    height: auto;
    width: 17vw;
}

.backtoworks img {
    width: 70%;
    height: auto;
}

.backtoworks:hover {
    transform: scale(1.3);
}

@media all and (max-width: 500px) {

    .mediaContainer {
        display: flex;
        flex-direction: column;
    }

    .textContainer {
        width: 100%;
        margin-top: 15%;
        font-size: clamp(0.875rem, 0.7188rem + 0.5vw, 1rem);
    }

    .gallery {
        position: relative;
        display: block;
        box-sizing: border-box;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        margin-top: 10%;
    }

    .carousel {
        position: relative;
        display: flex;
        align-items: center;

        width: 100%;
        height: auto;

        margin: 0;
        padding: 0;
    }

    .slide img,
    {
    max-width: 100%;
    height: auto;
    display: block;
}

.slide iframe {
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.carousel-button {
    font-size: 3rem;
    color: rgba(0, 255, 13, 0.984);
    border-radius: 2rem;
    padding: 0 .4rem;
    background-color: transparent;
    top: 50%;
}

.carousel button:hover,
.carousel button:focus {
    color: rgb(0, 21, 255);
}

.backtoworks img,
.backhome img {
    width: 100%;
    height: auto;
}


}

@media (orientation: landscape) and (max-width: 900px) {
    .textContainer {
        font-size: clamp(0.675rem, 0.7188rem + 0.5vw, 0.8rem);
    }
}


/*.........
reAdiNg
........*/

#read-oldal {
    height: 100%;
    width: 100%;
    margin: auto;
    overflow-y: scroll;
    background-color: rgb(218, 252, 204);

}

#tartalom {
    width: 100vw;
    height: auto;
    top: 180px;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 35px;

    
}

.sticker {
    position: absolute;
    top: 12vh;
    right: -6vw;
    width: 35%;
    height: 35%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emooji {
    font-size: 2rem;

    color: rgb(0, 255, 13);
}

.read-title {
    font-family: 'romande_adf_stdregular';
    width: 150px;
    height: 30px;
    padding: 2px;
    font-style: italic;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(0,0,0,0.18809530648196782) 100%); 
    border: 1px solid #000;
    border-radius: 10px;
    text-align: center;

}

.read-desc {

    width: 100%;
    height: auto;
    left: 30px;
    top: 130px;
    padding: 5%;
    text-align: left;
    padding: 15px;

    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(0,0,0,0.18809530648196782) 100%);  
    border: 1px solid #000;
    border-radius: 10px;


}

.read-desc li {
    list-style: none;
}

.read-desc:hover {

}



#tartalom img {
    opacity: 0.8;
}

#tartalom p {

    color: black;
    font-family: 'romande_adf_stdregular';
}

#tartalom h1 {
    font-family: 'romande_adf_stdregular';
    color: black;
    font-size: 1.5rem;
}

#tartalom h2 {
    font-family: 'romande_adf_stdregular';
    color: black;
    font-size: 1.2rem;
}

#tartalom img:hover {
    opacity: 1;
}

#tartalom a {
    text-decoration: none;
    color: black;
    font-family: 'romande_adf_stdregular';
}

#read-card-left {
    float: left;
    width: 60%;
    padding-left: 6%;
    padding-right: 2%;
    top: 13vh;
    position: relative;
    transform: rotate(10deg) skew(10deg, 0);
    z-index: 2;
    background-image: url(imgs/:reading/back-draw\ copy.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#read-card-mid {
    position: fixed;
    width: 5%;
    top: 35vh;
    left: 60%;
    text-align: center;
    vertical-align: middle;
    z-index: 1;
    font-style: italic;
}

#read-card-right {
    float: right;
    width: 35%;
    padding-right: 6%;
    padding-left: 2%;
    top: 13vh;
    position: relative;
    transform: rotate(-10deg) skew(-10deg, 0);
    z-index: 3;
}

.reading-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}


/*
.........
aBoUt
........*/

.about-body {
    font-family: 'romande_adf_stdregular', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: auto;
    background-image: url(imgs/:about/about.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
}

@media only screen and (max-width: 450px) {
    .about-body {}
}

.blurred-backdrop {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: auto;
    background-image: url();
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;

    /* blurred backg */
    background: rgba(41, 11, 11, 0.07);
    border-radius: 1%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(13.5px);
    -webkit-backdrop-filter: blur(13.5px);
}

.blurred-backdrop2 {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: auto;
    background-image: url();
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;

    /* blurred backg */
    background: rgba(41, 11, 11, 0.07);
    border-radius: 1%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
}

/*
.........
<333
........*/