

:root {
    --dark: black;
    --color: white;
    --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: Arial, Helvetica, sans-serif;
    --font-titles: "Roboto", sans-serif;
}


* {
    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 */
}



.underline_hover {
    text-decoration: none;
    color: var(--color);
    font-weight: bold;

    display: inline-block;
    position: relative;
}

.underline_hover:hover {
    color: gray;
}

.underline_hover::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--red-underline);
    transition: width 0.3s ease-out;
}

.underline_hover:hover::before{
    width: 100%;
}



.fonttitle {
    font-family: var(--font-titles);
}









#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%
    }
}






/*
#betolto #forgo h1 {
    font-size: 150px;
    color: white;
    margin: 0px;
}

#betolto #forgo {
    animation-name: forgas;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

@keyframes forgas {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
*/


.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: ")";
}









/*----------------------------------------------------------------------------------------------------------------------------------------------------*/

#homepage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

#homepage a {
    text-decoration: none;
    color: white;
}



#bbfelirat {
    text-align: center;
    position: relative;
    font-size: 100px;
    font-weight: bolder;
    mix-blend-mode: difference;
    color: white;
}





video {
    position: absolute;
    right: 0px;
    bottom: 0px;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    filter: contrast(120%) brightness(40%);
}
















#upperbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 10px;
    height: fit-content;
    max-height: 10%;
    min-height: 45px;

    width: 100%;

    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 5;


    animation-name: upperbar_shrink;
    animation-duration: 1s; /* Firefox requires */
    animation-direction: alternate;
    animation-timeline: scroll();
}



@keyframes upperbar_shrink {
    0% {
        height: fit-content;
    }
    40% {
        height: 5%;
    }
    41% {
        box-shadow: 0px 1px 2px var(--red-theme);
        background-color: var(--bg-color);
        height: 5%;
    }
    100% {
        box-shadow: 0px 1px 2px var(--red-theme);
        background-color: var(--bg-color);
        height: 5%;
    }
}




#upperbar .left {
    width: 50%;
    max-width: 50%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

#upperbar > .left > a {
    position: relative;
    width: fit-content;
    height: 100%;
    margin: 10px;
}

#upperbar > .left > a > img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;


    animation-name: img_shrink;
    animation-duration: 1s; /* Firefox requires */
    animation-direction: alternate;
    animation-timeline: scroll();
}


@keyframes img_shrink {
    10% {
        height: 40px;
        width: 40px;
    }
    100% {
        height: 40px;
        width: 40px;
    }
}






#upperbar_name {
    font-size: 30px;
}






#upperbar .right {
    width: 50%;
    max-width: 50%;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}


#upperbar .right a {
    font-size: 25px;
    border-left: 2px solid var(--red-underline);

    position: relative;
    width: fit-content;
    height: 100%;
    margin: 10px;
    padding: 5px;
}




.scroll {
    bottom: 0px;

    margin-top: 100px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;

	width: 60px;
	height: 60px;
	border: 2px solid var(--color);
	border-radius: 50%;
	position: relative;
	animation: down 1.5s infinite;
	-webkit-animation: down 1.5s infinite;
	&::before {
		content: '';
		position: absolute;
		top: 15px;
		left: 18px;
		width: 18px;
		height: 18px;
		border-left: 2px solid var(--color);
  	    border-bottom: 2px solid var(--color);
		transform: rotate(-45deg);
	}
}


@keyframes down {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translateY(15px);
	}
	40% {
		transform: translate(0);
	}
}

@-webkit-keyframes down {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translateY(15px);
	}
	40% {
		transform: translate(0);
	}
}













.bg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}

.bg img {
    position: fixed;
    z-index: -2;
    min-width: 100vw;
    min-height: 100vh;

    max-width: 100vh;
    max-height: 100vh;
}


.bg #bgfade {
    position: fixed;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.7);
    background-size: cover;
    min-width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
}








#content {
    position: relative;
}














#info {
    position: relative;

    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;

    margin-top: 0px;
    margin-bottom: 50px;

    background-color: var(--dark-gray);
    border-radius: 20px;
    border: 2px solid var(--red-underline);

    padding: 30px;
}


#info h1 {
    margin-bottom: 25px;
}
#info h1::before, #info h1::after {
    content: " ! ";
    color: red;
}


#info ul {
    list-style-type: circle;
    list-style-position: inside;
}


#info li {
    font-size: 20px;
    margin-top: 5px;
}




















.termektype {
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    width: fit-content;
    min-width: 15%;
    max-width: 30%;
    
    left: 0px;

    padding: 15px;
    text-align: center;
    
    border-radius: 0px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: 2px solid var(--red-theme);
    border-right: 2px solid var(--red-theme);
    border-bottom: 2px solid var(--red-theme);

    margin-bottom: 50px;
    margin-top: 150px;
}


.termektype h2 {
    margin: 0px;
}




.termekek {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    align-content: flex-start;
    justify-content: space-evenly;
}







.termekek .card {
    overflow: hidden;
    max-width: 500px;
    text-align: center;

    min-height: 750px;
    max-height: fit-content;

    border-radius: 23px;
    border: 2px solid var(--red-theme);
    margin: 20px;
    margin-bottom: 150px;

    background-color: rgba(20, 20, 20, 0.7);


    transition: 0.3s;


    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    animation-name: none;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}

.termekek .card:hover {
    box-shadow: 0 0 50px -20px var(--red-underline);
    transition: 0.3s;
}




.termekek .card hr {
    width: 100%;
    height: 5px;
    background-color: white;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}


.card .fo {
    min-width: 500px;
    max-width: 500px;
    border-right: 3px solid white;
    border-top-right-radius: 22px;
}





.termekek img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 17px;
}


.termekek .showcaseimg {
    max-width: 500px;
    max-height: auto;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 10px;
}

.termekek .showcaseimg img {
    transition: 0.5s;
}

.termekek .showcaseimg img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}



.termekek .title {
    font-weight: bolder;
    font-size: 35px;
}



.card .details {
    padding: 10px;
    line-height: 150%;

    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    overflow: hidden;
}


.card .details button {
    position: relative;

    margin-top: 30px;
    margin-bottom: 10px;
    border: 1px solid var(--red-theme);
    background-color: var(--dark-gray);
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    font-size: large;
}

.card .details a {
    position: relative;

    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--red-theme);
    background-color: var(--dark-gray);
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    font-size: larger;
}






.showcaseimgs {
    overflow-y: auto;
    overflow-x: hidden;
}


.showcaseimgs > hr {
    display: none;
}


.showcaseimgs > img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 90%;
    object-fit: contain;

    border: 2px solid var(--gray);
    margin: 30px;
}


.showcaseimgs h3 {
    margin: 20px;
}













@keyframes elemgrow {
    0% {
        max-width: 500px;
    }

    50% {
        max-width: 60%;
    }

    99% {
        max-width: 79%;
    }

    100% {
        max-width: 80%;
    }
}


@keyframes elemshrink {
    0% {
        max-width: 80%;
    }

    99% {
        max-width: 50%;
    }

    100% {
        max-width: 500px;
    }
}








.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}


.show {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0%);
}



.card:nth-child(1) {
    transition-delay: 100ms;
}
.card:nth-child(2) {
    transition-delay: 300ms;
}
.card:nth-child(3) {
    transition-delay: 500ms;
}





.card .ar {
    margin-top: 35px;
    margin-bottom: 5px;
    font-size: 20px;
    color: var(--light-gray);
}

.card .ar hr {
    height: 2px;
    color: var(--gray);
    border: none;
    background-color: var(--gray);
}

.card .ar .osszeg {
    font-size: 25px;
    margin-left: 5px;
    color: var(--color);
    font-weight: bolder;
}



img:not(.loaded) {
    image-rendering: pixelated;
    filter: blur(10px);
}

img.loaded {
    image-rendering: auto;
    filter: blur(0px);
}







.card .adatok {
    width: fit-content;
    max-width: 100%;
    height: fit-content;
    margin-top: 35px;
    margin-bottom: 5px;
}

.card .adatok h2 {
    font-size: 25px;
}

.card .adatok hr {
    height: 2px;
    color: var(--gray);
    border: none;
    background-color: var(--gray);
}


.card .adatok ul {
    list-style-type: circle;
    list-style-position: inside;
}

.card .adatok li {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
    height: fit-content;
}

.card .adatok li .ertek {
    font-weight: normal;
    font-size: 20px;
}