* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Arial";
}

body {
    transition: margin-left 0.5s ease;
}

body.menu-open {
    margin-left: 300px;
}


#ArrowUp
{
    position: fixed;
    bottom: 20px;
    right: 20px;
}

/*HEADER*/

#head
{
    background-color: #2192fd;
    position: relative;
    min-height: 150px;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
}

#menuButton {
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
	background-color: transparent;
    cursor: pointer;
    padding: 5px;
}

#menuButton img
{
    margin-left: 6px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

#menuButton:hover {
    opacity: 0.8;
}

#logo {
    position: absolute;
    top: 60px;
    left: 100px;
}

#logo img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

#head.menu-open
{
    border-radius: 10px;
}

#head h1
{
	text-align: center;
	font-size: 300%;
	color: rgb(57, 4, 149);
}

#Text h1
{
	font-size: 200%;
	color: rgb(57, 4, 149);
}

#socialmedia
{
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    flex-direction: row;
}

#socialmedia a {
    display: inline-block;
    line-height: 0;
}

#socialmedia  a  img {
    display: block;
    width: 30px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
}

#socialmedia a img:hover
{
    background-color: #085dac;
	cursor: pointer;
}

/*SIDEBAR MENU*/

#menu {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    transition: left 0.5s ease;
    overflow-y: auto;
    background-color: #41415c;
    align-content: center;
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.479);
}

#menu.active
{
    left: 0;
}

#menu li
{
    margin-bottom: 50px;
    text-align: center;
}

#menu details ul {
    margin-top: 15px;
}

#menu details ul li {
    margin-bottom: 10px;
}

#menu details ul li a {
    min-width: 100px;
    padding: 8px;
}

#menu li a
{
	color: white;
	text-decoration: none;
	background-color: #070716;
	padding: 10px;
	border-radius: 5px;
	display: inline-block;
	min-width: 150px;
	text-align: center;
}

#menu li a:hover
{
	background-color: #303032;
}

#menu details ul li a:hover
{
	background-color: #303032;
}

summary::marker {
    color: rgb(0, 191, 255);
}

details
{
	cursor: pointer;
}

/*PROJEKT LINKS IN HEADER*/

#projekt-links {
    position: absolute;
	padding-top: 6%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
}

#projekt-links a {
    color: white;
    text-decoration: none;
    background-color: #2a2a77;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    font-weight: bold;
}

#projekt-links a:hover {
    background-color: #272739;
    transition: background-color 0.3s ease;
}


/*CONTENT*/

#Content > div {
    max-width: 1200px;
    width: 100%;
}

#Content > div > img {
    width: 100%;
    aspect-ratio: 750 / 600;
    object-fit: cover;
}

#Text {
    width: 100%;
    aspect-ratio: 750 / 550;
    /*background-color: #f0f0f0;*/
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.Text h1
{
    text-align: center;
}

.Text p
{
    padding-top: 10%;
    width: 100%;
}

.Text:hover
{
    background-color: #d0d0d0;
}

#Content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#Content
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#Content > div
{
    margin-top: 5%;
}

#Content-Left
{
	display: flex;
}

#Content-Left img
{
	border-radius: 10px;
	max-width: 500px;
    max-height: 500px;
	object-fit: contain;
}

/* Videos für Projektvorschau -- kleiner halten, Seitenverhältnis beibehalten */
.project-video {
    width: 560px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

#Content-Left #Text
{
	border-radius: 10px;
	display: flex;
	flex-direction: column;
}

.Content-Left
{
    display: flex;
}

.Content-Left img
{
    border-radius: 10px;
    max-width: 500px;
    max-height: 500px;
    object-fit: contain;
}

.Content-Left .Text
{
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.Content-Left .Text a
{
    margin-top: auto;
}
table thead {
	background-color: #2192fd;
	color: white;
}

table th {
	padding: 12px;
	text-align: left;
	font-weight: bold;
}

table th:nth-child(1) {
	width: 15%;
}

table th:nth-child(2) {
	width: 40%;
}

table th:nth-child(3) {
	width: 20%;
}

table th:nth-child(4) {
	width: 25%;
}

table td {
	padding: 12px;
	border: 1px solid #ddd;
	height: auto;
}

table tbody tr:hover {
	background-color: #f5f5f5;
}

td a
{
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

form {
  max-width: 420px;
  font-family: system-ui, sans-serif;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

input,
select {
  width: 150%;
  max-width: 600px;
  padding: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
}

input[type="submit"] {
  width: auto;
  padding: 0.6rem 1.2rem;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background: #1d4ed8;
}

#form-section
{
	margin-top: 5%;
}

#contact-container
{
	padding-left: 2%;
	padding-bottom: 5%;
	background-color: #3d3d43;
	border-radius: 10%;
	margin-bottom: 10%;
	color: white;
}

footer
{
	padding-top: 5%;
}

textarea
{
  width: 150%;
  max-width: 600px;
  padding: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  aspect-ratio: 420/160;
  box-sizing: border-box;
  resize: none;
}