/* the css of my actual Websitwe 28.09.24 for the index */
/* General Styles */
html, body {
    height: 100%; /* Make sure the body and HTML stretch to full height */
    margin: 0;
}

#main {
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    padding-top: 40px;
}

body {
    display: flex;
    flex-direction: column; /* Stack children vertically */
}

/* Title Styles */
/* Title */
.title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0 ;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Document Layout */
.document {
  margin: 3em;
}

.document.p {
  text-indent: 1em;
  text-align: center;
  padding: 30px;
  font-size: 1.1em; 
}


/* Image Styling */
img {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: 100%;
}

/* Image Styling with Gradient Background */
.image {
    display: block; /* Flexbox for centering */
    justify-content: center; /* Horizontally center the image */
    align-items: center; /* Vertically center the image */
    height: 60vh; /* Full viewport height */
    padding: 10px;
    position: relative; /* Allow child elements (image) to be positioned relative to this container */
}

/* Image itself */
.image .picture {
    display: block;
    max-width: 100%; /* Ensures the image respects the container's size */
    height: auto; /* Maintain aspect ratio */
    margin: auto; /* Center the image */
    border-radius: 50%; /* Make the image itself circular */
    position: relative; /* Make it movable */
    top: -1.5cm; /* Move the image upwards by 5cm */
}
/*image for dh architecture*/
  .main-image {
    display: block;
    justify-content: center; /* Horizontally center the image */
    align-items: center; /* Vertically center the image */
    width: 710px;
    height: 440px;
    margin: 20px auto;
    position: relative; 
  }

  .subpictures {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 10px auto;
    max-width: 1000px;
  }

  .subpictures img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #ccc;
    transition: transform 0.2s ease;
  }

  .subpictures img:hover {
    transform: scale(1.05);
    cursor: pointer;
  }

/* Credits Section */
#credits {
    background-color: #f9f9f9; /* Subtle grey background */
    padding: 10px 0; /* Adjust spacing around the text */
    text-indent: 7em;
    text-align: center; /* Center-align the content */
    font-family: 'Georgia', serif; /* Consistent font family */
    font-size: 14px; /* Balance text size */
    border-top: 2px solid #ccc; /* Visual separation with a top border */
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in total width calculation */
    margin: 0; /* Remove margins */
}

/* Align text within a single line, optionally with text overflow ellipsis */
#credits p {
    margin: 0; /* Remove margins around the paragraph */
    white-space: nowrap; /* Keep text on one line */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis (...) for overflowing text */
    color: #555; /* Neutral grey for text */
}

#credits strong {
    color: #111; /* Bold text in black for key highlights */
}


/* Footer */
#footer {
    background-color: black;
    padding: 10px 40px;
    color: white;
    text-align: center; /* Optional: center the text or content */
}

.logos {
    display: flex; /* Use Flexbox for layout */
    justify-content: space-between; /* Space the logos evenly (left, center, right) */
    align-items: center; /* Vertically align the logos */
    padding: 10px 100px;
}

/* Style each logo with appropriate height */
.logo {
    height: 80px;
    width: auto;
}

.logo2 {
    height: 60px;
    width: auto;
}

.logo3 {
    height: 60px;
    width: auto;
}


/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px; 
}

.sidebar a {
  padding: 8px 32px;
  text-decoration: none;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

/* Buttons */
.closebtn {
     position: absolute;
     top: 0;
     right: 25px;
     font-size: 36px;
     margin-left: 50px;
   }

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
  text-decoration: none;
}

.openbtn:hover {
  background-color: #444;
}

.openbtn a {
  color: white;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 1.2;
}

.download {
  float: right;
}

.download .openbtn {
  margin-left: 10px;
}

