body {
        background-color: #111;
        color: khaki;
        margin: 0;
        padding: 1em;
        width: 95%;
            height: 100vh;
        font-family: Arial, sans-serif;
    }
    .center {
        text-align: center;
    }
    #subMenu {
        text-align: right;
        color:white;
        text-width:bold;
        text-transform: uppercase;
        margin-bottom: 1em;
        margin-right: 1em;
        padding: .5em;
    }
    #subMenu a {
        color: green;
        text-width:bold;
    }
    #colMenu, #ls {
        cursor:pointer;
        color: red;
        font-weight: bold;
    }
    a {
        color: #D4AF37;
        font-weight: bold;
        text-decoration: none;
    }
        ul li {
        margin-bottom: 0.9rem;
    }
    .head {
        border: none;
        width: 90%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1em;
    }
    .logo {
        height: 90px;
        width: 250px;
    }
    .header-text {
        flex-grow: 1;
        text-align: center;
        font-size: 1.5em;
    }
    .user-block {
        display: grid;
        grid-template-columns: auto auto;
        gap: 10px;
    }
    .main {
        position: relative;
        color: khaki;
        height: 100%;
        z-index: 9;
        padding: 20px;
        font-family:Tahoma;
        overflow:auto;
        height: calc(100vh - 100px);
        border-radius: 1em;
        padding: 1em;
        box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    }
    #bg-image {
        position: relative;
        height: 100%;
        overflow: hidden;
    }

        /* Image container on the right */
    .images-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        height: 100vh;
        padding: 0 10px;
    }

        /* Images inside the container */
    .images-container img {
        padding: 0;
        margin: 0;
        width: auto;
        height: 33%;
        object-fit: cover;
    }
    .gradient {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 99%;
        background: linear-gradient(to right, black, transparent);
        z-index: 6;
    }
    .white {
            color:white;
            line-height:1.3em;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.8);
    }
    .modal-content {
        background-color: #222;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 500px;
        color: khaki;
    }
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    .close:hover,
    .close:focus {
        color: #D4AF37;
        text-decoration: none;
        cursor: pointer;
    }
    input[type="text"], input[type="email"], input[type="password"] {
        width: 90%;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #666;
        border-radius: 5px;
        background-color: #333;
        color: khaki;
    }
    select{
        width: 90%;
        padding: 10px;
        margin-bottom: 1em;
        margin-bottom: 10px;
        border: 1px solid #666;
        border-radius: 5px;
        background-color: #333;
        color: khaki;
    }
    button {
        padding: 10px 15px;
        color: khaki;
        background-color: #444;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    button:hover {
        background-color: #D4AF37;
        color: #111;
    }
    input[type=reset], input[type=submit]{
        margin: 0.8em;
        padding: 10px 15px;
        color: khaki;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        background: linear-gradient(47deg, #111, #191114);
        border: none;
        color: #fff;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: bold;
        transition: background 0.3s, transform 0.2s;
    }
    input[type="submit"]:hover, input[type="reset"]:hover {
        background: linear-gradient(135deg, #ede5ca, #4a3e30);
        transform: scale(1.05);
    }
    input, select {
        border: 2px solid #222;
        transition: border-color 0.5s ease;
    }

    input:focus, select:focus {
        border-color: #777;
    }
/*-----------------------------------------*/
    .layers-container {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .layer img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0deg);
        transition: all 0.5s ease;
    }

    .layer img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform-origin: center;
}
    #layer1 {
        position:relative;
        top: -5em;
        left -25em;
    }
    #layer2 {
        position:relative;
        top:30%;
        left: -30%;
    }
    #layer1 {
        position:relative;
        top: 10%;
        left: -15%;
    }
    .main_content {
        line-height:150%;
        position:absolute;
        z-index:33;
        background-color: rgba(0, 0, 0, 0.4);
    }
    #modgallery {
        position:fixed;
        display:none;
        z-index: 98;
        cursor:pointer;
        background:#111;
        padding:1em;
        min-width:40%;
        min-height:30%;
        border-radius:1em;
        margin:0 auto;
    }    
    @media (max-width: 450px) {
    .main_content {
            margin:0 auto;
            padding:0;
        }
        #modgallery {
            left:50px;
            top:100px;
        }
        .logo {
            width:80%;
        }
    }
    @media (min-width: 451px) {
        .main_content {
            margin:0 auto;
            margin-left:15%;
            padding:1em 1% 1em 1%;
            max-width:600px;
        }
        #modgallery {
            left:20%;
            top:20%;
        }
    }
        @media (min-width: 1001px) {
        .logo {
            width:130%;
        }
        }
 #way {
     font-family:Verdana, Helvetica;
     color:grey;
     font-size:1.2em;
 }
#photogal {
    cursor:pointer;
    color:red;
    font-weight: bold;
}

@media screen and (orientation: portrait) {
  #horizontal-container,
  #vertical-container {
    max-width: 100%;
    height: auto;
    display: block;
  }
}