*, *::before, *::after {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --primary-light-hsl: 200, 100%, 91%;
    --primary-hsl: 200, 100%, 50%;
    --primary-dark-hsl: 200, 100%, 6%;
    --success-hsl: 100, 60% 50%;
    --error-hsl: 0, 60% 50%;
}

body {
    margin: 0;
    background-color: #f3f3f3;
    margin:0;
}

/* Style the header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  /*  padding: 10px 16px;*/
    background: #555;
    color: #f1f1f1;
    margin:0;
    z-index:10;
  }
.header-right a{
    float:right;
}

.lang-text{
    color: white;
    font-size: 1 rem;
    background-color: inherit;
    padding:0.5rem;
    margin:0;
}

  /* Page content */
  .content {
    padding: 16px;
  }
  
  /* The sticky class is added to the header with JS when it reaches its scroll position */
  .sticky {
    position: fixed;
    top: 0;
    width: 100%
  }
  
  /* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
  .sticky + .content {
    padding-top: 102px;
  }


.navbar-right{
    float: right;
}
.navbar-right-container{
    display:flex;
    align-items: center;
    border:none;
    cursor:pointer;
    appearance:none;
    background-color: inherit;
}
.user-text{
    color: white;
    font-size: 1rem;
    padding-right: 0.5rem;
    background-color: inherit;
    margin-right:1rem;
}
.profile-avatar{
    width: 2rem;
    height: 2rem;
    outline: none;
    padding:1px;
    margin:0;
    background-color: none;
    cursor: pointer;
}
.profile-button{
    border:none;
    cursor:pointer;
    appearance:none;
    background-color: inherit;
}
.profile-text {
    color: white;
    font-size: 0.5rem;
    background-color: inherit;
    padding:0;
    margin:0;
}
.profile-button:active {
    transform: translateY(1px);
}
.logout-button{
    border:none;
    cursor:pointer;
    appearance:none;
    background-color: inherit;
}
.logout-text {
    color: white;
    font-size: 1rem;
    background-color: inherit;
    padding:0;
    margin:0;
}

.login-box{
    display:flex;
    border:none;
    cursor: pointer;
    background-color: inherit;
    font-size: 1 rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    z-index: 10;
}

.brand-title {
    font-size: 1.5rem;
    margin:.5rem;
}

.navbar-links ul {
    margin: 0;
    padding: 0;
    display:flex;
}

.navbar-links li {
    list-style:none;
}

.navbar-links li a {
    text-decoration:none;
    color: white;
    padding: 1rem;
    display: block;
}

.navbar-links li:hover {
    background-color: #555;
}

.toggle-button{
    position: absolute;
    top:.75rem;
    right:1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width:30px;
    height:21px;
}

.toggle-button .bar{
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .toggle-button {
        display: flex;
    }
    .navbar-links {
        display:none;
        width:100%
    }

    .navbar {
        flex-direction: colum;
        align-items:flex-start;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column; 
    }
    .navbar-links li {
        text-align: center;
    }
    .navbar-links li a {
        padding:.5rem 1rem;
    }
    .navbar-links.active {
        display: flex;
    }
}

.full-screen-container-registration {
    background-image: url("/content/registration_background.jpg");
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-screen-container-login {
    background-image: url("/content/login_background.jpg");
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-screen-container-index {
    background-image: url("/content/floor_960_720.jpg");
    height: 100vh;
    width: 100vw;
 /*   opacity: 0.6; */
    background-size: cover;
    background-position: center;
 /*   
    display: flex;
    justify-content: center;
    align-items: center;*/

    display: grid;
    grid-template-columns: [main-start] 5% [content-start] 70% [content-end] 25% [main-end];
    grid-template-rows: [main-start] 10% [content-start] 90% [content-end] 0% [main-end];
}

.title-box{
    grid-column-start:content-start;
    grid-row-start:main-start;
    grid-row-end: content-start;
    position: relative;
    isolation: isolate;  
    display: flex;
    justify-content: center;
    align-items: center;
}
.title-box::after{
    content:"";
    position:absolute;
    inset: 0;
    background-color: grey;
    opacity: 0.7;
}
.title-box-text{
    margin: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    text-align: center;
    z-index: 2;
  }

.main-content-box{
    grid-column-start: content-start;
    grid-row-start: content-start;
    grid-row-end: content-end;
    position: relative;
    isolation: isolate;  
    display: grid;
    align-items: center;
    text-align: center;
}
.main-content-box::after{
    content:"";
    position:absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* Black background with 0.5 opacity */
    /*
    background-color: rgb(102, 99, 92);
    opacity: 0.6;*/
}
.main-content-box-text{
    margin: 20px;
    font-weight: normal;
    /*color: #000000;*/
    color: #f1f1f1; /* Grey text */
    display:grid;
    text-align: center;
    gap:1rem;
    z-index: 2;
  }

.left-site-box{
    grid-column-start: main-start;
    grid-column-end: content-start;
    grid-row-start: main-start;
}
.right-site-box{
    grid-column-start: content-end;
    grid-column-end: main-end;
    grid-row-start: main-start;
}

.thumbnail{
    width:40%;
    margin:auto;
    display:block;
    /*border: 2px solid #ddd;  Gray border */
    border:none;
    border-radius: 4px;  /* Rounded border */
    padding: 0px; /* Some padding */
    width: 240px; /* Set a small width */
    background-color: none;
    z-index: 2;
    cursor: pointer;
}
/* Add a hover effect (blue shadow) */
.thumbnail:hover {
    box-shadow: 0 0 2px 8px rgba(0, 140, 186, 0.5);
  }


  



.login-container, 
.registration-container {
    --color: hsl(var(--primary-dark-hsl),.7);
    background-color: var(--color);
    box-shadow: 0 0 15px 0 var(--color);
    padding: 40px 30px;
    width: 80%;
    max-width:500px;
    border-radius:20px; 
}

.login-title,
.registration-title {
    margin:0;
    color: white;
    text-align: center;
    font-size: 2rem;
    font-weight: normal;
}

.form {
    display:flex;
    flex-direction: column;
    color:white;
    gap:20px;
    margin-top:40px;
}

.input-group {
    display:flex;
    flex-direction: column;
    gap: 7px;
}

.input-group label {
    color: white;
    font-weight: ligther;
}

.input-group input{
    font-size: 1.25rem;
    padding: .5em;
    background-color: hsl(var(--primary-light-hsl), .3);
    border:none;
    outline:none;
    border-radius: .25em;
    color: white;
    font-weight: lighter;
}

.input-group.success input {
    box-shadow: 0 0 0 2px hsl(var(--success-hsl));
}

.input-group.success input {
    box-shadow: 0 0 0 2px hsl(var(--error-hsl));
}

.input-group input.success {
    box-shadow: 0 0 0 1px hsl(var(--success-hsl));
}

.input-group .msg {
    display: none;
    font-size: .75rem;
}

.input-group.success .msg,
.input-group.success .msg {
    display: block;
}

.input-group.error{
    color: hsl(var(--error-hsl));
}

.input-group.error .msg {
    color: hsl(var(--error-hsl));
}

.input-group.input-group.success .msg {
    color: hsl(var(--success-hsl));
}

.login-button,
.registration-button {
    padding: .5em 1em;
    font-size: 1.5rem;
    font-weight: lighter;
    color: white;
    background-color: hsl(var(--primary-hsl),.3);
    border: 1px solid hsl(var(--primary-hsl),1);
    border-radius: .25em;
    outline: none;
    cursor: pointer;
}

.login-button:hover,
.login-button:focus,
.registration-button:hover,
.registration-button:focus {
    background-color: hsl(var(--primary-hsl),.4);
}


.register-link {
    color: white;
    font-weight: ligther;
    gap:20px;
    margin-top:40px;
}


.footer{
    display: flex;
    margin:0;
    justify-content: space-between;
    align-items: center;
   /* padding: 10px 16px; */
    background: #555;
    color: #f1f1f1;
}



.footer ul {
    margin: 0;
    padding: 0;
    display:flex;
}

.footer li {
    list-style:none;
}

.footer li a {
    text-decoration:none;
    font-size: 0.7rem;
    color: white;
    padding: 1rem;
    display: block;
}