/* Font */
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

/* Variables */
:root {
    --c-brand: #002D71;
    --c-brand-rgb: 248, 54, 145;
    --c-dark: #FF590F;
    --c-body: #636383;
    --c-light: #f6f6f6;
    --f-main: "Bai Jamjuree", sans-serif;
    --transition: all .4s cubic-bezier(.165, .84, .44, 1);
    --shadow: 0px 15px 40px rgba(0, 0, 0, 0.1);
}

/* Verhindert das horizontale Scrollen */
html, body {
    overflow-x: hidden;
}

/* Reset & Helpers */
body {
    font-family: var(--f-main);
    color: var(--c-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 700;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-dark);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand);
}

img {
    width: 100%;
}

.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.text-brand {
    color: var(--c-brand);
}

.section-title {
    max-width: 560px;
    margin: 0 auto 60px auto;
}

.section-title .line {
    width: 60px;
    height: 2px;
    background-color: var(--c-brand);
    display: inline-block;
}

.section-connector {
    position: relative;
}

.section-connector::after {
    content: '';
    width: 2px;
    height: 100px;
    background-color: var(--c-brand);
    position: absolute;
    top: -50px;
    left: 50%;
}

/* Navbar */
.navbar {
    padding-top: 30px;
    padding-bottom: 30px;
    transition: var(--transition);
}

.navbar.scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: white;
    box-shadow: var(--shadow);
}

.navbar-toggler {
    border-radius: 0;
    outline: none; /* Add this line */
    border: none; /* Add this line */
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none; /* Add this line */
    border: none; /* Add this line */
}

.logo {
    height: 100px;
    width: auto;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
    }

}

.navbar .navbar-nav .nav-link {
    font-weight: 700;
    color: var(--c-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active  {
    color: var(--c-brand);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-dark);
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--c-brand);
    color: white;
    border: 2px solid var(--c-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.social-icon:hover {
    background-color: transparent;
}

/* Btn */
.btn {
    padding: 10px 24px;
    border-radius: 0;
    border-width: 2px;
    font-weight: 500;
}

.btn-brand,
.btn-brand:focus {
    background-color: var(--c-brand);
    color: white;
    border-color: var(--c-brand);
}

.btn-brand:hover {
    background-color: transparent;
    color: var(--c-brand);
    border-color: var(--c-brand);
}

/* Home */
#home {
    background-image: url(../images/herosec1.jpg);
    background-position: center;
    background-size: cover;
}

/* Services */
.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--c-brand);
    color: white;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.service-link {
    text-decoration: none;
    color: inherit;
}

.service-link:hover .service {
    background-color: #f8f9fa; /* Beispiel-Hintergrundfarbe für Hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Schatten-Effekt für Hover */
    transform: translateY(-5px); /* Optional: Leichte Verschiebung beim Hover */
    transition: all 0.3s ease;
}

.custom-link {
    display: inline-flex;
    align-items: center;
}

.custom-link span {
    font-weight: 700;
}

.custom-link i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-brand);
    border-radius: 100px;
    color: white;
    margin-left: 6px;
    transition: var(--transition);
}

.custom-link:hover i {
    transform: translateX(6px);
}




#about .about-image-wrapper {
    width: 100%;
    padding-top: 100%; /* Macht das Bild quadratisch */
    position: relative;
}

#about .about-image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Zentriert das Gesicht im Bild */
    transform: translate(-50%, -50%); /* Bildmitte */
}



/* Mobile Optimierung */
@media (max-width: 768px) {
    #about .about-content {
        text-align: left;
    }

    #about .col-md-6:first-child {
        margin-bottom: 2.5rem; /* Größerer Abstand auf Mobilgeräten */
    }
}

/* Project */
.project {
    overflow: hidden;
    position: relative;
}

.project .content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--c-brand);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project img,
.project .content {
    transition: var(--transition);
}

.project:hover .content {
    top: 0;
}

.project:hover img {
    transform: translateY(-100%);
}

/* Client */
.client {
    margin-top: -1px;
    margin-left: -1px;
}

.client img {
    opacity: 0.7;
    height: 80px;
}

/* Resume */
.eduexp {
    position: relative;
}

.eduexp::before {
    content: '';
    height: 100%;
    width: 1px;
    background-color: rgba(var(--c-brand-rgb), 0.4);
    position: absolute;
    left: 0;
    top: 0;
}

.eduexp::after {
    content: '';
    width: 14px;
    height: 14px;
    background-color: var(--c-brand);
    position: absolute;
    left: -7px;
    top: 0;
}

#contact .form-control {
    border-radius: 0;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

#contact input.form-control {
    height: 44px;
}


.pt-large {
    padding-top: 200px; /* Passen Sie den Wert bei Bedarf an */
}


/* Footer */
footer {
    background-color: #ffffff;
    padding-top: 80px;
}

footer h4 {
    color: #002D71;
    margin-bottom: 24px;
}

footer p,
footer li,
footer li a {
    color: #002D71;
}

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

footer ul li {
    margin-top: 6px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgb(210, 210, 210);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.footerp {
    margin-top: 30px;
}

.footer-bottom a {
    color: var(--c-brand);
}

.footer-font {
    font-size: small;
    color: #565656;
    align-items: center;
    text-align: center;

    p {
        color: #565656;
    }

    a {
        color: dodgerblue;
    }
}
