/*
=============================================================================================================================================
 ██████  ███████ ███    ██ ███████ ██████   █████  ██          ███████ ██ ████████ ███████     ███████ ████████ ██    ██ ██      ███████ 
██       ██      ████   ██ ██      ██   ██ ██   ██ ██          ██      ██    ██    ██          ██         ██     ██  ██  ██      ██      
██   ███ █████   ██ ██  ██ █████   ██████  ███████ ██          ███████ ██    ██    █████       ███████    ██      ████   ██      █████   
██    ██ ██      ██  ██ ██ ██      ██   ██ ██   ██ ██               ██ ██    ██    ██               ██    ██       ██    ██      ██      
 ██████  ███████ ██   ████ ███████ ██   ██ ██   ██ ███████     ███████ ██    ██    ███████     ███████    ██       ██    ███████ ███████ 
=============================================================================================================================================
*/

@font-face {
  font-family: FiraSans;
  src: url("../fonts/fira_sans.ttf");
}

html {
    scrollbar-width: thin;
    overflow: auto;
    font-family: "FiraSans", sans-serif, Arial, Helvetica;
    /*Inter*/
}

body {
    background-color: rgb(5, 5, 5);
    background-image: url("../media/lamp.png");
    background-position: center;
    background-size: cover;
    background-blend-mode:soft-light;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: #EAEAEA;
    -webkit-user-select:none;
    -moz-user-select:-moz-none;
    -ms-user-select:none;
    user-select:none;
}

main {
    flex-grow: 1;
}

/*
.topbar {
    background-color: #131313; /*#111111
}
*/

header {
    background-color: #11111181;
    backdrop-filter: blur(5px);
}

.topbar-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    margin-right: 4%;
}


.link-holder { 
    flex: 1;
    justify-content: center;
    display: flex;
    gap: 20px;
}

.middle { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
    margin-left: 20%;
    margin-right: 20%;
    text-align:center;
    background-color: #11111100;
}


.home-middle {
    display: flex;
    gap: 20px;
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
    align-items: center;
}

.middle-about { 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: 100%;
    margin-left: 20%;
    margin-right: 20%;
    text-align:center;
    background-color: #11111100;
}

.default-text {
    text-align:justify;
    padding: 0% 10%;
}

article {
    width: 100%;
}

/*
section {
    background-color: #13233f00;
    border-radius: 5px;
}
*/

i {
    background-color: rgb(150, 33, 33);
    padding: 2px;
    border-radius: 5px;
}

li {
    margin-top: 5px;
}


p {
    font-size: 1em;
}

tr {
    border: 1px solid white;
}

a:not(.active):not(.inactive) {
    color: #00BFFF;
    text-decoration: underline;
    transition: color 0.3s;
}

a:not(.active):not(.inactive):visited {
    color: #503e70;
    text-decoration: underline;
}

.home-text {
    font-size: 1.8em;
}

.bottom {
    padding: 1%;
    background-color: #11111100;
    text-align: center;
}s

.emp {
    background-color: rgb(150, 33, 33); /*rgb(150, 33, 33)*/
    padding: 2px;
    border-radius: 5px;  
}

/*
=============================================================================================================================
████████  ██████  ██████  ██████   █████  ██████      ███████ ██      ███████ ███    ███ ███████ ███    ██ ████████ ███████  
   ██    ██    ██ ██   ██ ██   ██ ██   ██ ██   ██     ██      ██      ██      ████  ████ ██      ████   ██    ██    ██       
   ██    ██    ██ ██████  ██████  ███████ ██████      █████   ██      █████   ██ ████ ██ █████   ██ ██  ██    ██    ███████   
   ██    ██    ██ ██      ██   ██ ██   ██ ██   ██     ██      ██      ██      ██  ██  ██ ██      ██  ██ ██    ██         ██  
   ██     ██████  ██      ██████  ██   ██ ██   ██     ███████ ███████ ███████ ██      ██ ███████ ██   ████    ██    ███████                                                                             
=============================================================================================================================
*/

/*
.active {
    border-bottom: 3px solid #00BFFF;
    border-top: 3px solid #00bfff80;
    color: azure;
    background-color: rgba(0, 191, 255, 0.603);
    border-bottom-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    text-decoration: none;
    font-weight: bold;
}
*/
.active {
    background-color: #fcfcfd;
    border-radius: 4px;
    border-width: 0;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: #000000; /* #36395A */
    cursor: pointer;
    display: inline-flex;
    font-family: "JetBrains Mono",monospace;
    line-height: 1;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    will-change: box-shadow,transform;
}

.active:focus {
    box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.active:hover, .inactive:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    transform: translateY(-2px);
}

.active:active {
    box-shadow: #D6D6E7 0 3px 7px inset;
    transform: translateY(2px);
}


.inactive, .active {
    font-size:1.5em;
    padding: 0.5%;
}

.inactive {
    border-radius: 4px;
    border-width: 0;
    box-sizing: border-box;
    color: #ffffff;
    font-family: "JetBrains Mono",monospace;
    justify-content: center;
    line-height: 1;
    list-style: none;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: box-shadow .15s,transform .15s;
    will-change: box-shadow,transform;
}

.logo img {
    width: 100%;
    transition: filter 0.35s, rotate 0.55s;
    position: relative;
}

.logo {
    width:5%;
    flex-shrink: 0;
}

.icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
}

.p-bar {
    width: 100%;
    height: 50%;
    border: 3px solid gray;
}

.logo:hover img{
    rotate: 360deg;
}

#clock {
    position: absolute;
    right: 0;
    font-size: 2em;
    margin-right: 1%;
}

/*
=======================================================================================================
███████ ██ ████████ ███████     ███████ ██      ███████ ███    ███ ███████ ███    ██ ████████ ███████  
██      ██    ██    ██          ██      ██      ██      ████  ████ ██      ████   ██    ██    ██       
███████ ██    ██    █████       █████   ██      █████   ██ ████ ██ █████   ██ ██  ██    ██    ███████  
     ██ ██    ██    ██          ██      ██      ██      ██  ██  ██ ██      ██  ██ ██    ██         ██  
███████ ██    ██    ███████     ███████ ███████ ███████ ██      ██ ███████ ██   ████    ██    ███████  
=======================================================================================================
*/

video {
    align-self: center;
    cursor: pointer;
    border-radius: 15px;
}

video:focus {
    cursor: default;
}

.play {
    position: absolute;
    transform: translate(-50%,-50%);
    top: 70%;
    left: 50%;
}

figure {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

figure img {
    width: 150px; /* Thumbnail size */
    border-radius: 10px;
    transition: transform 0.3s;
}

figure img:hover {
    transform: scale(1.05);
}

table {
    /* width: 80%; */
    margin: 20px auto;
    text-align: center;
    /* border-collapse: collapse; */
    background-color: #2222225b;
    color: #EAEAEA;
    border-radius: 10px;
}

th {
    background-color: #333;
    color: #EAEAEA;
    font-weight: bold;
    padding: 10px;
}

form {
    background-color: #222;
    color: #EAEAEA; 
    border: 1px solid #00BFFF; /*#00BFFF;*/
    border-radius: 10px;
    padding: 20px;
    width: 50%;
    margin: 20px auto;
}

input[type="text"],input[type="email"], textarea {
    width: 80%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #00BFFF;
    border-radius: 5px;
    background-color: #333;
    color: white;
}

input:focus, textarea:focus {
    outline: none;
    border: 2px solid #00FFFF;
    box-shadow: 0 0 8px #00FFFF;
}

button {
    background-color: #005580; /* 00BFFF*/
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #007ACC;
    color: black;
}

#contrast-toggle {
    position: absolute;
}

td {
    padding: 15px;

}


input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

label {
    cursor: pointer;
}

textarea { 
    resize: none; 
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: #000;
    color: #FFF;
    padding: 10px 15px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
}

/*
============================================================================================
███    ███ ███████ ██████  ██  █████      ███████  ██████ ██████  ███████ ███████ ███    ██ 
████  ████ ██      ██   ██ ██ ██   ██     ██      ██      ██   ██ ██      ██      ████   ██    
██ ████ ██ █████   ██   ██ ██ ███████     ███████ ██      ██████  █████   █████   ██ ██  ██ 
██  ██  ██ ██      ██   ██ ██ ██   ██          ██ ██      ██   ██ ██      ██      ██  ██ ██ 
██      ██ ███████ ██████  ██ ██   ██     ███████  ██████ ██   ██ ███████ ███████ ██   ████ 
============================================================================================
*/

@media screen and (max-height: 950px) {
    html {
        overflow: auto;
        height: 100%;
    }

    .middle-about {
        height: 150%;
        gap: 0px;
    }
}

@media screen and (max-width: 600px) {
    .topbar-box {
      flex-direction: row;
      align-items: center;
      gap: 10px;
    }
  
    .logo {
      width: 80px;
      height: auto;
    }
  
    .link-holder {
      display: flex;
      flex-direction: row;
      align-items: center;
    }
  
    .middle {
      margin: 10px;
      padding: 0 10px;
    }
  
    .default-text {
      font-size: 0.95rem;
      line-height: 1.5;
    }
  
    table {
      width: 100%;
      font-size: 0.9rem;
    }
  
    table td {
      padding: 4px;
    }
  
    .icon {
      width: 30px;
      height: 30px;
    }
  
    footer.bottom {
      text-align: center;
      font-size: 0.9rem;
      padding: 10px 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .topbar-box {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .middle {
      flex-direction: column;
      align-items: center;
      margin: 5%;
    }
  
}

  
@media screen and (max-width: 600px) {
    html {
        overflow: visible;
    }
    .middle {
      flex-direction: column;
      text-align: center;
    }
  
    .middle h1 {
      font-size: 1.5rem;
    }
}


/* Közepes Kijelzők (pl. tabletek) */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .home-middle {
        flex-direction: column;
        justify-content: center;
    }

    .home-middle figure {
        grid-column: span 2;
    }

    .home-middle p {
        font-size: 1.2em;
    }
}

/* Kisebb Kijelzők (pl. mobilok) */
@media screen and (max-width: 600px) {
    .home-middle {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-top: 15%;
    }

    .home-middle p {
        font-size: 1em;
    }

    .icon {
        width: 30px;
        height: 30px;
    }

    .middle-about {
        margin: 0;
    }
  
    table {
        width: 100%;
        font-size: 0.9rem;
    }

    table td {
        padding: 4px;
    }
  
    footer.bottom {
        text-align: center;
        font-size: 0.9rem;
        padding: 10px 0;
    }
}