@font-face {
  font-family: 'InfiniteEnergy';
  src: url('InfiniteEnergyItalic.woff2') format('woff2'), /* Modern Browsers */
       url('InfiniteEnergyItalic.woff') format('woff'); /* Older Browsers */
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('background.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}


.container {}

a {
    color: #f93863;
    text-decoration: none;
    transition: color 0.5s;
}

a:hover {
    color: #e8d8c2;
}

header {
    height: 195px;
    display: flex;
    position: relative;
    background-color: #000000c2;
    border-bottom: 1px solid #7d7d7d;
}

h1{
    font-family: 'InfiniteEnergy';
    font-weight: 300;
    color: black;
    text-shadow: -1px 0 #ffffff63, 0 1px #ffffff61, 1px 0 white, 0 -1px #ffffff94;
    font-size: 59px;
    letter-spacing: 10px;
    margin: 0;
}

h2, h3, h4, h5, h6 {
    font-family: 'Faster One', sans-serif;
    color: #fff;
    margin: 0;
    font-style: italic;
    letter-spacing: normal;
    text-align: center;
}
h4 {
    font-weight: 100;
    font-size: 24px;
}
h3 {
    font-weight: 100;
    font-size: 25px;
    text-align: left;
}

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

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

nav ul li a:hover {
    color: #8B0000;
}

.container {
    max-width: 956px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

h2 {
    color: #8B0000;
    font-weight: 100;
    font-size: 44px;
}

section {
    padding: 1px 0;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 50px 0;
    border-bottom: 1px solid #7d7d7d;
    border-top: 1px solid #7d7d7d;
}

section p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 0;
}

footer {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
}

.overlay h2 {
    font-size: 2em;
    margin: 0 0 10px;
    font-weight: 700;
}

.overlay p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background-color: #8B0000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    margin-top: 20px;
    font-weight: 700;
}

.cta-button:hover {
    background-color: #6B0000;
}

.blur {
    backdrop-filter: blur(4px);
}

.about {
    display: flex;
    align-items: center;
    margin-bottom: 98px;
}

.about .profile-image {
    border-radius: 5%;
    margin-right: 20px;
    flex-shrink: 0; /* Damit das Bild nicht schrumpft */
    max-height: 287px;
    float: none;
    position: absolute;
	
}
.about .profile-image:hover{
    cursor:pointer;
	transform: scale(1.05); 
}
.about .text {
    flex-grow: 1;
    text-align: left;
}

.about h2 {
    /* font-size: 1.5em; */
    margin-bottom: 10px;
}

.about p {
    font-size: 1em;
    line-height: 1.8;
    margin: 31px 0px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    padding-top: 60px;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.profile-image-behind {
    float: left;
    min-height: 279px;
    margin: 0px 203px;
    border-radius: 50%;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: #fff;
    padding: 100px 0;
}

#contact {
    background-image: url('background-contact.jpg');
    background-attachment: fixed;
    background-size: 1019px;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    min-height: 279px;
}
#contact .container {
    background: #00000085;
    text-align: left;
    border: solid #a8384e 1px;
    border-radius: 13%;
}

/* Responsive Styles for Smartphones */
@media (max-width: 767px) {
	body {
        background-size: 1109px;
		background-repeat:no-repeat;
		background-color:black;
}
    header {
        height: 180px;
    }

    h1 {
        font-size: 36px;
        letter-spacing: 5px;
    }

    nav ul li {
        margin-left: 10px;
    }

    nav ul li a {
        font-size: 1em;
    }

    .container {
        padding: 10px;
		text-align:left;
    }

    section {
        padding: 50px 0;
    }

    section p {
        font-size: 1em;
    }

    .overlay h2 {
        font-size: 1.5em;
    }

    .overlay p {
        font-size: 1em;
    }

    .cta-button {
        font-size: 1em;
    }
}