
:root {
    --dark: black;
    --color: lightgray;
    --dark-gray: rgb(20, 20, 20);
    --gray: rgb(50, 50, 50);
    --light-gray: rgb(100, 100, 100);
    
    --bg-color: rgb(30, 30, 30);
    --red-theme: rgb(100, 0, 0);
    --red-underline: rgb(250, 30, 30);

    --font-main: 'Segoe UI', sans-serif;

    --red: rgb(100, 0, 0);
    --green: rgb(10, 155, 10);
    --blue: rgb(100, 150, 255);
    --orange: rgb(255, 135, 80);
}


* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}



body {
    min-width: 100%;
    max-width: 100%;

    /*min-height: 100vh;
    max-height: 100vh;*/

    background-color: var(--bg-color);

    font-family: var(--font-main);
    color: var(--color);

    overflow-x: hidden;
}



::-webkit-scrollbar {
    width: 10px;
}
  

::-webkit-scrollbar-track {
    background: var(--bg-color);
}
  

::-webkit-scrollbar-thumb {
    background: var(--red-theme);
}
  
::-webkit-scrollbar-thumb:hover {
    background: var(--red-underline);
}




.cant_select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}







#fuggony {
    height: 100%;
    z-index: 10;
    position: fixed;
    top: 0px;
    right: 0px;
}

#fuggony {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.99);
    animation-fill-mode: forwards;
    animation-name: fuggony;
    animation-duration: 0.5s;
    animation-delay: 0.5s;
}

@keyframes fuggony {
    from {width: 100%;}
    to {width: 0px;}
}


#betolto {
    position: fixed;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 9;

    background: linear-gradient(-45deg, var(--red-theme), black, black);
    background-size: 200% 200%;

    animation: betoltoanim 15s ease infinite;
}


@keyframes betoltoanim {
    0% {
        background-position: 100% 100%
    }

    50% {
        background-position: 20% 20%
    }

    100% {
        background-position: 100% 100%
    }
}





.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}






#betolto #betolto_szoveg {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;

    color: var(--color);
}

#betolto #betolto_szoveg h3 {
    font-style: italic;
    font-weight: normal;
    margin-top: 20px;
}

#betolto #betolto_szoveg h3::before {
    content: "(";
}
#betolto #betolto_szoveg h3::after {
    content: ")";
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------*/


.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.main h1#fotitle {
    margin-bottom: 100px;
    font-size: 40px;
    text-decoration: underline;
}

hr {
    min-width: 100vw;
    max-width: 100vw;
    background-color: var(--gray);
    border-color: var(--gray);
}



.bad {
    color: var(--red);
}

.good {
    color: var(--green);
}


#visszajelzes {
    font-size: 20px;
    font-weight: bolder;
    text-align: center;

    margin: 30px;
    text-decoration: overline;
}


.filename {
    font-weight: bolder;
    font-size: larger;
}




input[type="file"] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}


#filelabel {
    max-width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 30px;
    font-weight: bold;
    color: white;
    background-color: black;
    padding: 10px;
    border: 2px solid var(--gray);
    border-radius: 50px;
    transition: 0.5s;
}


input[type="file"]:focus + #filelabel,
input[type="file"] + #filelabel:hover {
    background-color: var(--red-theme);
}

input[type="file"] + #filelabel {
	cursor: pointer; /* "hand" cursor */
}


input[type="file"]:focus + #filelabel {
	outline: 1px dotted black;
	outline: -webkit-focus-ring-color auto 5px;
}


input[type="file"] + #filelabel * {
	pointer-events: none;
}





#infok {
    position: sticky;
    top: 5px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;

    margin-top: 40px;
    margin-bottom: 40px;

    background-color: var(--dark-gray);
    border-radius: 20px;
    border: 2px solid var(--red-underline);

    padding: 30px;
    text-align: center;
}


#infok h1 {
    margin-bottom: 25px;
}


#infok ul {
    list-style-type: circle;
    list-style-position: inside;
}


#infok li {
    font-size: 20px;
    margin-top: 5px;
}



#linkek {
    opacity: 0;
    
    margin-top: 50px;
    padding: 10px;

    max-width: 80%;
    max-height: fit-content;

    border: 3px solid var(--red-theme);
    border-radius: 20px;

    text-align: center;

    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: space-around;

}



#linkek hr {
    max-width: 100%;
    min-width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}


#linkek .controls {
    margin-top: 10px;
    margin-bottom: 10px;
}


#linkek .controls button {
    border: 2px solid white;
    background-color: black;
    color: white;
    transition: 0.5s;

    border-radius: 50px;
    padding: 5px;
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
}


#linkek .controls button:hover {
    background-color: var(--light-gray);
    color: black;
    transition: 0.5s;

    text-decoration: underline;
    font-size: 1.001em;
}




.összlinks {
    width: 100%;
    height: fit-content;
    text-align: left;

    list-style-type: circle;
    list-style-position: inside;
}



.összlinks li {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-width: 100%;
    padding: 10px;
}


.összlinks li a {
    text-decoration: none;
    color: var(--color);
    transition: 0.3s;
}


.összlinks li a:hover {
    text-decoration: underline;
    font-size: 1.03em;
    transition: 0.3s;
}