body {
    margin: 0;
}

.toppanel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    color: #ffffff;
    background-color: #101020;

    .loginbutton {
	padding: 12px 12px;

	a {
	    display: block;
	    background-color: #eeeeff;
	    text-decoration: none;
	    color: #000000;
	    padding: 5px 15px;
	    border-radius: 2px;
	    border: 1px solid rgba(255, 255, 255, 0.1);
	}
	a:hover {
	    background-color: #bbbbcc;
	}
    }
    .loginstatus {
	display: flex;
	flex-direction: column;
	justify-content: space-around;

	p {
	    display: block;
	    margin: 0;
	    padding: 10px 15px;
	}
    }
}

.directories {
    display: flex;
    flex-direction: column;

    .directory {
	a {
	    display: block;
	    color: #ffffff;
	    text-decoration: none;
	    text-align: center;
	    font-size: 18px;
	    position: relative;

	    width: 100%;
	    padding: 10px 0px;
  
	    transition: background-color 0.3s;
	    background-color: #242431;
	    border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
	a:hover {
	    background-color: #2e2e4f;
	}
    }
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    background: #eeeeee;
    width: 100%;

    .image{
	width: 400px;
	padding:20px;	    
	transition: transform .2s ease-in;
	position: relative;
	
	&:hover {
	    transform: scale(1.05);
	}
	
	a {
	    img {
		width: 400px;
		border-radius: 5px;
	    }
	}
	.description {
	    position: absolute;
	    bottom: 37px;
	    text-overflow: ellipsis;
	    overflow: hidden;
	    width: 400px;
	    white-space: nowrap;
	    text-decoration: none;
	    color: black;
	    box-sizing: border-box;
	    background: rgba(255, 255, 255, 0.4);
	    backdrop-filter: blur(5px);
	    border: 1px solid rgba(255, 255, 255, 0.3);
	    text-align: center;
	    padding-left: 5px;
	    padding-right: 5px;
	    padding-bottom: 2px;
	    padding-top: 2px;

	    &:visited {
		text-decoration: none;
	    }
	}
    }
}


.loginpage {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

form {
    color: #ffffff;
    font-size: 16px;
    background-color: #101020;
    padding: 40px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    .inputdiv {
	display: flex;
	flex-direction: column;
	gap: 5px;

	input {
	    color: #ffffff;
	    background-color: #444455;
	    width: 100%;
	    box-sizing: border-box;
	    padding: 10px 10px;
	    border: 1px solid rgba(255, 255, 255, 0.1);
	    border-radius: 6px;
	    transition: border-color 0.3s ease;
	}
	input:focus {
	    border-color: #007bff;
	    outline: none;
	}
    }

    button {
	color: #ffffff;
	font-size: 16px;
	padding: 10px 10px;
	background-color: #242431;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s ease;
    }
    button:hover {
	background-color: #2e2e4f;
    }
}
