/* GENERAL ––––––––––––––––––––––––––––––––––– */

:root {
    --fontsize: 2rem;
    --color: rgba(255, 0, 0, 0.995);
    --backgroundcolor: #ffffff;
    --backgroundcolornight: #ffed00;
    --backgroundcolornight: #7b00ff;
}

/* @font-face {
    font-family: 'Swezzz';
    src: url(/SuisseIntl-Book.otf);
} */

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

html {
    height: 100%;
    width: 100%;
    font-size: 16px;
    overflow: hidden;
}

body {
    font-family: 'Arial';
    font-size: var(--fontsize);
    font-weight: var(--fontweight);
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--backgroundcolor);
    -webkit-transition: .4s;
    transition: .4s;
}

h1 {
    font-family: 'Arial';
    font-size: var(--fontsize);
    font-weight: bold;
}

p {
    font-family: 'Arial';
    font-size: var(--fontsize);
    font-weight: bold;
}

form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

form label {
    font-size: var(--fontsize);
    font-weight: bold;
}

input {
    font-family: 'Arial';
    font-weight: bold;
    paint-order: stroke fill;
}

a {
    color: var(--color);
    font-weight: bold;
    /* -webkit-text-stroke: 2px black;
    text-stroke: 2px black;
    paint-order: stroke fill; */
}

a:hover {
    color: blue;
}

/* STRUCTURE ––––––––––––––––––––––––––––––––––– */

#wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

}

#menu {
    padding: 0rem 2rem;
    display: none;
    gap: 2rem;
    height: 7%;
    width: 100%;
    align-items: center;
    color: var(--color);
    justify-content: space-between;
    text-transform: uppercase;
}

#contenthouse {
    text-align: left;
    height: 86%;
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    scrollbar-color: var(--color);
    flex-grow: 1;
    position: relative;
}

/* SCROLLBARHIDING */
#contenthouse::-webkit-scrollbar {
  display: none;
}

#contenthouse {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.headline-wrapper {
    height: 80%;
    width: auto;
    flex-grow: 1;

}

.headline-wrapper svg {
    height: 100%;
    width: 100%;
    overflow: visible;
}

#bottombar {
    height: 7%;
    width: 100%;
    background: none;
    display: none;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
}


.audiocontainer {
  height: fit-content;
  width: fit-content;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: auto;
  z-index: 9999;
  transform: translateX(-50%) translateY(-50%);
}

#radiobutton {
  color: black;
  background-color: white;
  padding: 2px;
}



/*not in use*/
.borderhor {
    background-color: var(--color);
    width: 100%;
    height: 2%;
    background-image: url("borderhor.png");
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: 100% 100%;
}

/* CONTENT ––––––––––––––––––––––––––––––––––– */

.contentblockje {
    height: 100%;
    /*background-color: black;
    background-image: url("fullborder.png");
    background-position: center; 
    background-repeat: no-repeat; 
    background-size:100% 100%;*/
}

/* TEXT ––––––––––––––––––––––––––––––––––– */

.messagewrapper {
    height: 100%;
    width: 30vw;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center;
}

.message {
    width: 95%;
    height: auto;
    max-height: 80%;
    line-height: calc(var(--fontsize) * 1.1);
    font-size: calc(var(--fontsize) * 0.9);
    color: var(--color);
    text-align: center;
    border-radius: 20px;
    padding-top: 1.2rem;
    padding-right: 0rem;
    padding-bottom: 1rem;
    padding-left: 0rem;
    text-transform: none;
    overflow-y: scroll;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

.whisper {
    font-size: 0.7rem;
}

.link {
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    width: 80%;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    max-height: 85%;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* IMAGE ––––––––––––––––––––––––––––––––––– */

.imgwrapper {
    height: 100%;
    /* width: 40vw; */
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.imgwrapper img {
    height: auto;
    max-height: 95%;
    width: auto;
    /* padding: 0rem .5rem;
    max-width: calc(40vw*0.8);
    border-radius: 25px; */
}

/* IFRAMES ––––––––––––––––––––––––––––––––––– */

.youtubeframe {
    aspect-ratio: 16 / 9;
    height: 100%;
}

.pdfframe {
    aspect-ratio: 1;
    height: 70%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    cursor: all-scroll;
    margin: 0 0;
}

.iframewrapper {
    height: 100%;
    width: 40vw;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
}

.iframewrapper iframe {
    width: 100%;
}

/* BORDER STUFF ––––––––––––––––––––––––––––––––––– */

.top {
    display: none;
    height: 5%;
    width: 100%;
    background-image: url("./assets/svgs/top.svg");
    background-position: bottom;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: 100% 100%;
    /*margin-bottom: -3%;*/
    z-index: 3;
    pointer-events: none;
}

.left {
    display: none;
    width: 10%;
    background-image: url("./assets/svgs/left.svg");
    background-position: left;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: 100% 95%;
}

.right {
    display: none;
    width: 10%;
    background-image: url("./assets/svgs/right.svg");
    background-position: right;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: 100% 95%;
}

.bottom {
    display: none;
    height: 13%;
    width: 100%;
    background-image: url("./assets/svgs/bottom.svg");
    background-position: top;
    /* Center the image */
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: 100% 100%;
    z-index: 3;
    position: relative;
    pointer-events: none;
}

.borders {
    fill: var(--color);
}

/* UPLOADPAGE ––––––––––––––––––––––––––––––––––– */

.uploadinput {
    color: var(--color);
}

.input-wrapper {
    padding: 0 1rem;
}

.inputfields {
    flex: 1;
    border: 2px solid var(--color);
}

.inputbtn {
    background: white;
    border: 2px solid var(--color);
    color: var(--color);
    padding: 4px 10px;
    font-weight: bold;
}

/* MOBILE NOTICE ––––––––––––––––––––––––––––––––––– */

#notice {
    height: 93%;
    width: 100%;
    text-align: center;
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: var(--color);
}

#notice img {
    height: 30%;
    width: auto;
}

#name {
    border: 2px solid black;
    padding: 2px 8px;
}

/* SCROLLBARS ––––––––––––––––––––––––––––––––––– */

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    width: 5px;
    height: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
    border-radius: 20px;
    background: var(--color);
    /* box-shadow:
-1px -1px 0 #000,
 0   -1px 0 #000,
 1px -1px 0 #000,
 1px  0   0 #000,
 1px  1px 0 #000,
 0    1px 0 #000,
-1px  1px 0 #000,
-1px  0   0 #000; */

}

/* TOGGLES ––––––––––––––––––––––––––––––––––– */


.switchwrapper {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 7%;
}

.switch {
    position: relative;
    display: inline-block;
    height: 50%;
    aspect-ratio: 3.1 / 1;
    margin-right: 0;
    margin-left: 0;

}

.switchlabel {
    color: var(--color);
    font-size: calc(var(--fontsize)/2);
    /* padding-right: .3rem; */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--backgroundcolor);
    -webkit-transition: .4s;
    transition: .4s;
    box-shadow:
        -1px -1px 0 var(--color),
           0 -1px 0 var(--color),
         1px -1px 0 var(--color),
            1px 0 0 var(--color),
          1px 1px 0 var(--color),
            0 1px 0 var(--color),
         -1px 1px 0 var(--color),
           -1px 0 0 var(--color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 80%;
    aspect-ratio: 1;
    left: 2px;
    bottom: 10%;
    background-color: var(--color);
    -webkit-transition: .4s;
    transition: .4s;
    box-shadow:
        -1px -1px 0 var(--color),
           0 -1px 0 var(--color),
         1px -1px 0 var(--color),
            1px 0 0 var(--color),
          1px 1px 0 var(--color),
            0 1px 0 var(--color),
         -1px 1px 0 var(--color),
           -1px 0 0 var(--color);
}

input:checked+.slider {
    background-color: var(--backgroundcolor);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--color);
}

input:checked+.slider:before {
    -webkit-transform: translateX(270%);
    -ms-transform: translateX(270%);
    transform: translateX(270%);
}

/* Rounded sliders */
.slider.round {
    border-radius: 0;
}

.slider.round:before {
    border-radius: 50%;
}

.telegramlink {
    text-decoration: underline;
    text-decoration-style: dotted;
}

.time {
    display: block;
    font-size: 0.7rem;
    color: var(--color);
    text-align: center;
    /* padding-top: 1rem;
     */
    width: 100%;
    padding-bottom: 1rem;
}

/* MEDIA-QUERIES ––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 600px) {

    #wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    #menu {
        height: 7%;
        flex-wrap: nowrap;
    }

    #contenthouse {
        text-align: left;
        height: 84%;
        overflow-x: hidden;
        overflow-y: scroll;
        display: flex;
        flex-direction: column;
        scrollbar-color: var(--color);
        flex-grow: 1;
    }

    #bottombar {
        display: none;
        height: 8%;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        border-top: 5px dotted var(--color)
    }

    #menu {
        display: none;
        height: 8%;
        gap: 0.5rem;
        padding: 0.2rem 0.4rem;
        border-bottom: 5px dotted var(--color);
    }

    .switchwrapper {
        padding-top: 0.3rem;
        gap: 0.2rem;
    }

    #notice {
        display: none;
        height: 93%;
        padding: 0rem 1rem;

    }

    .contentblockje {
        width: 100%;
        height: auto;
    }

    .messagewrapper {
        width: 100%;
        height: auto;
    }

    .iframewrapper {
        height: auto;
        width: 100%;
    }

    .imgwrapper {
        height: auto;
        width: 100%;
        justify-content: center;
    }

    .imgwrapper img {
        max-width: 100%;
    }

    .noticetext {
        font-size: 1.15rem;
    }



    .headline-wrapper {
        /* width: 40%; */
    }

    .top {
        height: 40px;
    }

    .time {
        padding-bottom: 0;
    }

    .bottom {
        height: 50px;
    }

    .pdfframe {
        aspect-ratio: 1 / 2;
        height: auto;
        width: 100%;
    }



}