:root {
    --highlight: #a90111;
    /*#C51321*/
    --eggshell: #fff7ea;
}

@font-face {
    font-family: 'Montserrat';
    /* Name your font */
    src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    /* Path to your TTF file */
    font-weight: 100 900;
    /* Define the range of weights (if it's a variable font) */
    font-stretch: 50% 100%;
    /* Define the range of width (if applicable) */
}

@font-face {
    font-family: 'Versatile Azalea';
    /* Name your font */
    src: url('../fonts/Versatile Azalea/Versatile Azalea.ttf') format('truetype');
    /* Path to your TTF file */
    font-weight: 100 900;
    /* Define the range of weights (if it's a variable font) */
    font-stretch: 50% 100%;
    /* Define the range of width (if applicable) */
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat';
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--eggshell);
}

p, b, li{
    font-size: large;
}

main {
    margin-top: 8rem;
    flex-grow: 1;

    @media (min-width: 1921px) {
        margin-top: 150px;
    }
}

/* Mail icon behavior */
.icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    margin-inline: 2rem;
}

.icon-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

.icon-wrapper a {
    color: var(--highlight);
}

.icon-wrapper .hover-icon {
    opacity: 0;
}

.icon-wrapper:hover .default-icon {
    opacity: 0;
}

.icon-wrapper:hover .hover-icon {
    opacity: 1;
}

/* Praxis Carousel */
.carousel-container {
    max-height: 60vh;
    overflow: hidden;
}

.carousel-item img {
    max-height: 60vh;
    /* Constrain the image height */
    max-width: 100%;
    /* Ensure the image doesn't exceed the width */
    object-fit: contain;
    /* Ensure image retains aspect ratio and fits within the container */
    display: block;
    margin: 0 auto;
    /* Center the image horizontally */
}

button svg {
    color: var(--highlight);
}

.carousel-inner {
    padding-inline: 15%;
    
}

.carousel-control-next,
.carousel-control-prev {
    opacity: .5;
}

.carousel-control-next:focus,
.carousel-control-prev:focus {
    opacity: 0.5;
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
    opacity: 1;
}


.thumbnail-grid {
    margin-top: 20px;
}

.thumbnail-grid img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnail-grid img:hover {
    transform: scale(1.1);
}

nav {
    background-color: white;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    margin-block: 1rem;
    max-width: 120px;
    max-height: 50px;
    
    @media (min-width: 1921px) {
        max-width: 150px;
        max-height: 70px;
    }
}

.logo-small {
    max-width: 120px;
    max-height: 50px;
    margin-right: 1rem;
}

section {
    @media (min-width: 992px) {
        margin-bottom: 5rem;
    }
}

section:first-of-type:not(#praxis) h2 {
    margin-top: 2rem;
}

#ueber-mich a {
    color: inherit;
}

.link-with-icon:hover {
    color: var(--highlight) !important; 
}

li {
    margin-bottom: 0.5rem;
}

#kontakt-container {
    display: flex;
    flex-direction: row;
}

#kontakt-container div {
    flex-grow: 1;
}

.nav-link {
    color: black;
}

.nav-link.active {
    color: var(--highlight) !important;
}

h1 {
    font-family: 'Versatile Azalea';
    color: var(--highlight);
}

h2 {
    color: var(--highlight);
}

.col-md-6 {
    padding-inline: 2rem;
}

.col-md-6 h2 {
    @media (min-width: 1200px) {
        margin-top: 2rem;
    }
}

footer {
    background-color: white;
    padding-block: 1rem;
}

footer a {
    color: var(--highlight);
}

.hover-color{
    transition: ease-in-out;
    transition-duration: 150ms;
}

#parietal:hover {
    color: #c41120;
}

#visceral:hover {
    color: #448ecb;
}

#cranio:hover {
    color:#03ae52;
}

#osteopathie {
    @media(min-height: 1080px) {
        margin-bottom: 8rem;
    }
}