body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121216; /* Dark background color */
    color: #fff; /* Light text color */
}

p ,h3, h2, section{
    max-width: 900px;
    margin:auto
}

#about-me{
}

section{
    margin-top: -20px
}

header {
    background-image: url('pictures/Saitis_Photos/XT300825_23.jpg');
    background-size: cover; /* Ensures full section coverage */
    background-position: center; /* Centers image */
    background-repeat: no-repeat;

    /*background-color: #004d40; /* Dark green header background color */
    color: #fff;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header:hover {
    background-image: url('pictures/Saitis_Photos/XT300825_23.jpg');/* Image when hovered */
    background-size: cover; /* Ensures full section coverage */
    background-position: center; /* Centers image */
    background-repeat: no-repeat;
    
}

#headerphotography {
    background-image: url('pictures/Saitis_Photos/XT300825_23.jpg');
    background-size: cover; /* Ensures full section coverage */
    background-position: center; /* Centers image */
    background-repeat: no-repeat;
    padding: 40px 20px; /* Adds spacing inside */
    color: white; /* Adjust text color for readability */
    display: flex;
    flex-direction: column;
    align-items: left;


    text-align: center;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-picture img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;

    border-color: #331c67;
    border-style: solid;
    border-width: 3px;
}

.profile-picture2 img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;
    border-width: 5px;
    border-style: solid;
    filter: grayscale(100); 
    border-color: #331c67;
}

.spider-picture img {
   
    width: 320px;
    height: 200px;
    object-fit: cover;
    margin: auto;
    margin-top: 20px;
    
}

.header-content {
    text-align: center;
}

nav {
    background-color: #00695c; /* Dark green nav background color */
    color: #fff;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
    margin-right: 15px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

section {
    padding: 40px;
}

footer {
    background-color: #004d40; /* Dark green footer background color */
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* ....*/
#emailAdress{
    color:#28cb87;
    word-break: keep-all;
}

.topics{
    color:#027360;
    margin-top: 50px;
    margin-bottom: 10px;
    text-decoration: underline;
}

.kursiv{
    font-style: italic;
}

.bold{
    font-weight: 600 ;
}

.link{
    color: rgb(165, 163, 163);
}

.publikation{
    color:#74d3c8
}

li{
    padding-bottom: 15px;
}

.firstWord{
    font-size: 1.8rem;
    font-weight: 700;
    color: #027360;
    padding-right: 5px;
}

#linkToResearch{
    color: rgb(163, 197, 153);
    text-decoration: none;
}

.inProgress{
    font-style: italic;
    color: rgba(255, 255, 255, 0.459);
    font-size: 0.8rem;
}

.photo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.photo-container img {
    max-width: 500px;
    height:200px;
    margin: 5px;
}

.photo-container p {
   
    min-width: 350px;
    margin-top: 20px;
    color: grey;

}

.smaller{
    font-size: 0.8rem;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.img1{
    height: 200px !important;
    max-width: 500px !important
}



/* Responsive Styles */
@media screen and (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
    }
}

#photo_page{
    color:#ffffff7a;
    word-break: keep-all;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr; /* One column, so images stack */
    gap: 20px; /* Space between images */
    justify-items: center; /* Center images horizontally */
}

.gallery img {
    width: 100%; /* Makes images responsive */
    max-width: 600px; /* Adjust maximum width as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Optional: Adds rounded corners */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); /* Soft shadow for aesthetics */
}


.spiderweb img {
    width: 100%; /* Makes images responsive */
    max-width: 600px; /* Adjust maximum width as needed */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Optional: Adds rounded corners */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); /* Soft shadow for aesthetics */
}

/* Floating Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;  /* Distance from bottom */
    right: 20px;  /* Distance from right */
    background-color: #02483c;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
  
    transition: opacity 0.3s, transform 0.3s;
}

#back-to-top:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}



/* Video element */
.vid {
    width: 100%; /* Makes video responsive */
    max-width: 200px; /* Adjust max size */
    height: auto;
    border-radius: 5px; /* Optional: Adds rounded corners */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); /* Soft shadow */
    margin-top: 30px;
}

/* Video caption */
.vidU {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}


.vidContainer{
    justify-content: center;
    margin: auto;
    display: block;
}

#cats {
    background-color: rgba(9, 30, 48, 0.3);
    padding: 5px;
    border-radius: 10px;
}