:root {
  --content-width: 95%;
  --max-content-width: 1400px;
  --fulltext-max-content-width: 800px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  word-spacing: 0.15rem;
  letter-spacing: 0.03em;
  line-height: 1.5em;
  font-size: 1rem;
}

h1 {
    margin: 0px 0px 50px 0px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    gap: 10px;
    margin: 0px 0px 15px 0px;
}

.text-block h1 {
    margin: 50px 0px 25px 0px;
    text-align: left;
    justify-content: left;
    align-items: left;
}

.text-block h2 {
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    text-align: left;
    gap: 10px;
    margin: 30px 0px 15px 0px;
}

p {
    margin-bottom: 15px; 
}

a.navbar {
    color: #000;
    text-decoration: none;
    font-weight: 100; 
}

a {
    color: #000;
    text-decoration: underline;
}

td {
    padding: 3px 5px 0px 0px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background: white;
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 75px;
}

.logo {
    height: 50px;
}

.menu {
    display: flex;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu li {
    display: inline-block;
}

.menu a {
    text-decoration: none; 
    color: black; 
    font-weight: 500; 
}

.buttons {
    display: flex;
    margin-left: auto;
    gap: 15px;
}

.btn {
    padding: 12px 18px;
    font-size: 0.9rem;  
    border: 2px solid #275C93;
    border-radius: 15px;
    cursor: pointer;
}

.btn.transparent {
    background: transparent;
    color: #275C93;
}

.btn.solid {
    background: #275C93;
    color: white;
}

.hero-image {
    width: 100%;
    height: 90vh;
    margin-top: 0px;
    background: url('img/celle.jpeg') no-repeat center center/cover;
}

.hero-text {
  position: relative;
  top: 65%;
  left: 5%;
  text-align: left;
  display: inline-block;
}

.hero-text p {
  color: #FFF;
  font-size: 5em;
  font-weight: 300;
  line-height: 1;
}

.content-section {
    padding: 50px 20px;
    display: flex;            /* Use Flexbox */
    justify-content: center;  /* Horizontally center the child */
    align-items: center;      /* Vertically center the child (optional) */          
}

.inside-section {
    width: var(--content-width);
    max-width: var(--max-content-width);
}

.fulltext-section {
    max-width: var(--fulltext-max-content-width);
}

.info-section {
    display: flex;
    flex-direction: row;           /* Columns aligned horizontally by default */
    justify-content: center;       /* Centers the columns horizontally */
    gap: 50px;
    padding: 75px 20px;
    width: var(--content-width);
    max-width: var(--max-content-width);
    margin: 0 auto;                /* Center the section on the page */
}

.col {
    flex: 1;                        /* Each column takes equal space */
    min-width: 0;                   /* Prevent columns from overflowing */
    text-align: left;
}

.team-section {
    background-color: #f9f9f9;
}

.team-carousel-wrapper {
    position: relative;
}

.team-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

/* Hide scrollbar in Webkit browsers (Chrome, Safari) */
.team-carousel::-webkit-scrollbar {
    display: none;
}

.team-member {
    flex: 0 0 auto;
    text-align: left; /* left-align the name/role text */
}

.team-member img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.team-member p {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.4;
    padding: 0 5px;
    width: 300px;
}


.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 18px;
    background-color: #275C93;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    z-index: 1;
    border-radius: 4px;
    opacity: 0.4;
}

.scroll-btn.left {
    left: 0;
    border-radius: 0 4px 4px 0; /* Left button with left rounded corner */
}

.scroll-btn.right {
    right: 0;
    border-radius: 4px 0 0 4px; /* Right button with right rounded corner */
}

/* Show buttons when hovering over the carousel */
.team-carousel-wrapper:hover .scroll-btn {
    opacity: 1;
}

.praxis-slideshow {
    position: relative;
    width: 100%;
    max-width: 100%; /* Limit the max width of the slideshow */
    max-height: 600px;
    margin: 0 auto;
    overflow: hidden; /* Hide images that are outside of the container */
}

.praxis-images {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding images */
}

.praxis-images img {
    width: 100%; 
    height: auto; 
    display: block;
}

footer {
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
    font-size: small;
}

.footer-links a {
    color: #000; /* Link color */
    text-decoration: none;
    font-weight: 300;
    margin: 0 15px;
}

@media (max-width: 1024px) {

    .hero-text p {
        color: #FFF;
        font-size: 4em;
        font-weight: 300;
        line-height: 1;
    }

    .info-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .menu {
        display: none;
    }

    .buttons {
        flex-direction: column;     /* Stack buttons vertically */
        gap: 5px;
    }

    .btn {
        padding: 6px 5px;

    }

    .hero-text p {
        color: #FFF;
        font-size: 3em;
        font-weight: 300;
        line-height: 1;
    }

    .team-member p {
        margin-top: 10px;
        line-height: 1.4;
        padding: 0 5px;
        width: 150px;
    }

    .team-member img {
        width: 150px;
        height: 200px;
        object-fit: cover;
        border-radius: 0;
    }

    .info-section {
        flex-direction: column;     /* Stack columns vertically */
    }

    .info-section .address-column,
    .info-section .left-column,
    .info-section .right-column {
        width: var(--content-width);          
        margin-bottom: 20px; /* Add space between the columns when stacked */
    }
}

