body {
    font-family: "Mulish", sans-serif !important;
}

p {
    color: rgb(117, 117, 117);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: none !important;
    width: 60% !important;
}

/*
* Header
*/

.header {
    height: 620px;
    background-size: cover;
    background-position: 50% 65%;
}

.header-moving {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 3s ease;
}

.header-moving.header-scrolled_white {
    background-color: rgba(250, 250, 250, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    backdrop-filter: blur(3px); 
    -webkit-backdrop-filter: blur(3px);
}

.header-moving.header-scrolled_purple {
    background-color: rgba(29,36,81, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.header-moving.header-scrolled_white p,
.header-moving.header-scrolled_white a{
    color: rgb(117, 117, 117);
    text-shadow: none;
}

.header-moving .container {
    width: 60% !important;
    margin: 0 auto;
}

.header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); 
    z-index: -1;
}

.header-navbar-links {
    color: white;
    margin-top: 45px;
    text-shadow: 0px 0px 2px black;
    float: right;
}

.header-navbar-links li {
    float: left;
    list-style-type: none;
    margin-left: 26px;
}

.header-navbar-links a {
    color: white;
    text-decoration: none;
}

.header-navbar-links a:hover {
    text-decoration: underline;
    color: rgb(225, 181, 116);
    transition: all 0.5s;
}

.header-brand-wrapper {
    padding-top: 50px;
    float: left;
}

.header-brand {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 150%;
    display: block;
    margin-top: -10%;
    text-shadow: 0px 0px 2px black;
}

.slogan {
    padding-top: 135px;
    text-shadow: 0px 0px 2px black;
    color: white;
    text-align: center;
}

.slogan-title {
    font-size: 200%;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 3px 1px 1px black;
}

.slogan .button {
    color: white;
    text-shadow: 0px 0px 2px black;
    margin-top: 20px;
}

.slogan .button:hover {
    color: white;
    text-shadow: 0px 0px 2px black;
    border: solid 2px rgb(225, 181, 116);
    text-align: center;
}

/*
* About me
*/

.about {
    padding-top: 100px;
    padding-bottom: 85px;
    background-color: white;
}

.about h2 {
    font-weight: lighter;
   /* margin-top: 15%; */
}

.about p {
    margin-bottom: 0%;
}

.about-profile {
    width: 100%;
    border-radius: 100%;
    border: 2px solid rgb(255, 255, 255);
}

/*
* Education
*/

.about-more {
    padding-top: 100px;
    padding-bottom: 85px;
    background-color: white;
}

.about-more .row {
    display: flex;
    align-items: stretch;
}

.about-more i {
    color: rgb(224, 224, 224);
    font-size: 1250%;
    text-align: center;
    margin-bottom: -20%;
    margin-left: 25px;
}

.education-panel {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.education-logo img{
    width: 60px;
    object-fit: contain;
    padding: 8px;
}

.education-content {
    display: flex;
    flex-direction: column;   
    flex: 1;                 
}

.education-main h5 {
    margin-bottom: 4px;
    color: rgb(117, 117, 117);
    font-weight: bold;
}

.education-date {
    margin-bottom: 2px;
    font-weight: bold;
}

.education-place {
    margin-bottom: 4px;
    font-weight: bold;
}

.education-main hr {
    margin-top: 8px;
    margin-bottom: 8px;
    border-top: 1px solid;
}

.education-details {
    color: rgb(117, 117, 117);
    margin-bottom: 10px;
}

.education-details li {
    margin-left: 2.5%;
    margin-bottom: 0%;
}

.education-icon-col{
    display: flex;
    justify-content: center;
    align-items: center;
}


.education-icon-wrapper {
    position: relative;
}

.education-icon i {
    display: block;
    font-size: 220px;
    color: rgb(224,224,224);
}


/*
* Skills
*/

.skills {
    padding-top: 100px;
    padding-bottom: 85px;
    background-color: white;
}

.skills-header {
    display: flex;
    align-self: flex-start;  
}

.skills-header > .columns {
    overflow: visible;
}

.skills-title {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.skills-title-wrapper {
    position: sticky;
    top: 250px;
}

.skills .container {
    width: 60% !important;
}

.skills h2 {
    font-weight: lighter;
    text-align: center;
}

.skills-panel {
    display: flex;
    width: 100%;
    align-items: center;    
    gap: 40px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    padding: 20px 26px;
    border-radius: 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 
        transform 0.6s ease,
        box-shadow 0.6s ease;
}

.skills-panel:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(240, 238, 238, 0.6),
        0 0 20px rgba(225, 181, 116, 0.6);
}

.skills-panel:hover .skills-type h5 {
    color: rgb(225, 181, 116);
}

.skills-panel:hover .skill-item img {
    transform: rotate(360deg) scale(1.05);
    filter: none;
}

.skills-panel:hover .skill-item i {
    color: rgb(225, 181, 116);
    transform: rotate(360deg);
}

.skills-type {
    min-width: 180px;
    display: flex;
    align-items: center;   
}

.skills-type h5 {
    margin: 0;
    font-weight: 600;
    color: rgb(117, 117, 117);
    transition: color 0.5s ease;
}

.skills-items {
    display: flex;
    flex: 1;
    gap: 28px;
    flex-wrap: wrap;
}

.skill-item {
    text-align: center;
}

.skill-item i {
    display: inline-block;
    font-size: 250%;
    color: rgb(117,117,117);
    margin-bottom: 6px;
    transition: all 0.5s;
}

.skill-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: -4px;
    transition: all 0.5s;
    filter: grayscale(100%) brightness(0.9);
}

.skill-item p {
    margin: 0;
    color: rgb(90,90,90);
}

/*
* Certificates
*/

.certificates {
    padding-top: 100px;
    padding-bottom: 85px;
    background: white;
}

.certificates-header {
    display: flex;
    align-self: flex-start;
}

.certificates-header > .columns {
    overflow: visible;
}

.certificates-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificates-title-wrapper {
    position: relative;
}

.certificate-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.certificate-panel a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.certificate-panel a:hover {
    color: rgb(225, 181, 116);
    font-weight: bold;
}

.certificate-panel h5,
.certificate-panel p {
    margin-bottom: 1%;
}

.certificate-button:hover {
    background: transparent;
    border: 1px solid rgb(225, 181, 116);
    color: rgb(255, 181, 116);
}

#certificateModal {
    display: none;
}

.certificate-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(5, 8, 25, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-modal-content {
    max-width: 50%;
    max-height: 50%;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.certificate-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 95%;
    text-align: center;
    background: rgba(0,0,0,0.45);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}

.certificate-close {
    position: absolute;
    top: 150px;
    right: 350px;
    color: gray;
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s ease;
}

.certificate-close:hover {
    color: rgb(225, 181, 116);
    transform: scale(1.15);
}

/*
* Projects
*/

.projects-divider {
    height: 220px;
    position: relative;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255) 0%,
        rgb(141, 145, 173) 100%
    );
}

.projects-divider::after {
    backdrop-filter: blur(6px);
}

.projects::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 200px;

    background: linear-gradient(
        to bottom,
        rgb(198, 200, 214)  0%,
        rgb(167, 170, 190) 100%,
    );
}

.projects {
    margin-top: -2px;
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
    background: linear-gradient(
        to bottom,
        rgb(141,145,173) 0%,
        rgb(110,118,160) 10%,
        rgb(78,88,135) 18%,
        rgb(47,55,106) 25%,
        rgb(38,46,95) 32%,
        rgb(29,36,81) 40%,
        rgb(20,26,65) 50%,
        rgba(11,15,42,1) 65%,
        rgb(9,13,36) 80%,
        rgb(7,10,28) 100%
        );
        overflow: hidden;
}


.projects .container {
    position: relative;
    z-index: 2;
}

.projects h2 {
    color: rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 60px;
}

.sim-grid {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sim-panel {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 30px;
    height: 700px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.4),
        inset 0 0 20px rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.sim-panel:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        0 0 25px rgba(120, 80, 255, 0.6);
}

.sim-panel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

.sim-panel:hover img {
    transform: scale(1.05);
}

.sim-panel h5 {
    color: rgb(194, 196, 211);
    margin-top: 12px;
    margin-bottom: 12px;
}

.project-text p{
    color: rgb(194, 196, 211);
    text-align: justify;
    hyphens: auto;
}

.project-text li{
    color: rgb(194, 196, 211);
    text-align: justify;
    hyphens: auto;
    margin-bottom: 0;
}

.project-links {
margin-top: auto;
display: flex;
gap: 16px;
flex-wrap: wrap;
}

.project-link-button {
padding: 10px 18px;
border-radius: 8px;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(255,255,255,0.08);
color: rgb(194, 196, 211);
text-decoration: none;
font-size: 90%;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
transition: all 0.4s ease;
}

.project-link-button:hover {
border: 1px solid rgb(225, 181, 116);
color: rgb(225, 181, 116);
transform: translateY(-4px);
box-shadow: 0 0 25px rgba(120, 80, 255, 0.4);
}


/*
* Contact
*/

.contact {
    padding-top: 100px;
    padding-bottom: 85px;
    background-color: rgb(7, 10, 28);
}

.contact h2 {
    color: rgb(194, 196, 211);
    font-weight: lighter;
}

.contact-socials {
    width: 75%;
    margin-top: 50px;
}

.contact-socials li {
    color: rgb(194, 196, 211);
    list-style-type: none;
    font-weight: lighter;
    height: 2em;
    font-size: 110%;
}

.contact-socials i {
    font-size: 150%;
}

.contact-socials a:hover {
    color: rgb(225, 181, 116);
}

.contact-icon {
    display: inline-block;
    width: 40%;
    text-align: center;
    color: rgb(194, 196, 211);
}

.contact-formular {
    margin-bottom: 0%;
}

.contact-input {
    width: 100%;
    margin-bottom: 28px;
    background-color: rgb(194, 196, 211);
}

.contact input.contact-input,
.contact textarea.contact-input {
    background-color: rgb(194, 196, 211);
}

.contact input.contact-input::placeholder,
.contact textarea.contact-input::placeholder {
    color: rgb(90, 90, 90);
    opacity: 1;
}

.contact-input:focus,
input.contact-input:focus,
.contact textarea.contact-input:focus {
    border-color: rgb(30, 30, 30) !important;
    background-color: rgb(230, 230, 230);
}

.contact textarea {
    height: 140px;
}

input.contact-submit[type="submit"] {
    background-color: rgb(194, 196, 211);
    margin-bottom: 0%;
}

.contact-button {
    text-align: right;
}


/*
* Footer
*/

.footer {
    background-color: rgb(7, 10, 28);
    text-align: center;
    font-weight: lighter;
}

.footer hr {
    margin-top: 0%;
    margin-bottom: 25px;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    color: white;
    display: inline-block;
}

.footer-text a {
    color: white;
    text-decoration: none;
}

.footer-text a:hover {
    color: rgb(225, 181, 116);
}

.footer-source:hover {
    text-decoration: underline;
}