:root {
    --bg:  #FBFBFB;
    --boxbg: #CFCFCF;
    --wh: #000000;
    --red: #D24444;
    --purple: #8A72D1;
    --grey: rgba(22, 22, 22, 0.9); 
    --light-white: rgba(235, 212, 212, 0.613);
    --strich: #1e1d1d;
    --shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    --p-b: #000000;
    --p-hb: rgba(39, 39, 39, 0.192);
    --gradiant: linear-gradient(148deg, #2D2D2D 10%, #C22222 90%);
    --boxgradient: linear-gradient(to right, #7950F2, #f53b3b);
    --welcome-stroke: linear-gradient(to right, #D24444 0%, #7950F2 20%);
    --welcome-stroke-underline: linear-gradient(to right, #2D2D2D 0%, #C22222 100%);
}


/* Color change animation */
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body, html {
    margin: 0;
    padding: 0;
    text-shadow: var(--shadow);
    font-family: "Montserrat", sans-serif;
    animation: fadeInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}


/* Background Image */
.welcome-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/white-welcome-background.avif'); 
    background-size: cover;
    background-position: top center;
    z-index: -1;
    overflow: hidden;
}


/* Sidebar */
.scroll-line {
    position: fixed;
    top: 0;
    left: 75px;
    width: 2px;
    height: 100vh;
    background-color: var(--wh);
    z-index: 9999;
    box-shadow: var(--shadow);
}

.circle {
    position: fixed;
    z-index: 9998;
    margin-left: -12px;
    width: 26px;
    height: 26px;
    border-radius: 50%; 
    background-color: var(--boxbg); 
}

a {
    text-decoration: none;
}

p {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    color: var(--wh);
    font-size: 30px;
    font-weight: 400;
}

.side-title {
    text-shadow: var(--shadow);
    margin-left: 20px;
    font-size: 22px;
}


.side-title:hover {
    color: var(--red);
}

/* Responsive Sidebar */
@media (max-width: 1500px) {
    .scroll-line {
        display: none;
    }
    
    .circle {
        display: none;
    }
    
    
    .side-title {
        display: none;
    }
    
    
    .side-title:hover {
        display: none;
    }
}

/* Skeptic Systems Stroke */
.welcome-container {
    font-family: "Montserrat", sans-serif;
    position: relative;
    text-align: left;
    margin-left: 14%;
    margin-top: 26%;  
}

.welcome-stroke {
    font-size: 80px;
    color: var(--bg);
    text-transform: capitalize;
    background: var(--welcome-stroke);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-stroke: 7px transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 5px; 
}

.welcome-stroke::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px; 
    width: 40%;
    height: 4px; 
    background: var(--welcome-stroke-underline);
}

.welcome-subtitle {
    font-size: 25px; 
    color: var(--purple);
    position: relative;
}

.theme-toggle-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    background-color: #2D2D2D;
}


/* About */
.spacer {
    text-align: center;
    margin: 20px auto;
}

.welcome-spacer {
    margin-top: 18%;    
}

h3 {
    display: inline-block;
    position: relative;
}

h3::after {
    margin-left: 400px;
    left: 100%;
}
  
h3::before, h3::after {
    content: "";
    position: absolute;
    border-top: 2px solid var(--strich);;
    top: 50%;
    width: 200px;
}

h3::before {
    margin-right: 400px;
    right: 100%;
}

/* Responsive */
@media (max-width: 1400px) {
    h3::before, h3::after {
        all: unset;
    }
}

.title {
    font-family: "Montserrat", sans-serif;
    font-style: normal;    
    color: var(--wh);
    font-weight: 500;
    font-size: 50px;
}

.underline{
    border-bottom: 2px solid var(--red);
    width: 200px;
}


/* About Content */
.title-box {
    margin-bottom: 20px;
    margin-top: 10%;
    margin-left: 12%;
    font-style: normal;    
    color: var(--b);
    font-weight: 600;
    font-size: 50px;
}

.text-red {
    color: var(--red);
    text-shadow: var(--shadow);
}

.box-text {
    margin-left: 12%;
    color: var(--wh);
    font-style: normal;  
}


/* Skills content */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 15px;
    justify-content: center;
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 10px;
}

.grid-definer {
    position: relative; 
    background-color: #e0e0e0;
    border-radius: 8px; 
    padding: 4px;
}

.small {
    grid-column: span 1;
}

.large {
    grid-column: span 2;
}

.skills {
    background: var(--boxgradient);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.inner-content {
    background-color: var(--light-white);
    border-radius: 20px;
    padding: 40px;
    flex-grow: 1;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.box-titel {
    text-shadow: var(--shadow);
    margin-left: 20px;
    color: var(--wh);
    font-weight: 600;
    text-decoration: underline 2px solid var(--red);
    border-bottom: 2px solid var(--wh);
    width: 20px;
}

.skills-text, .button-skills-text {
    font-family: Arial, sans-serif;
    color: var(--wh);
    font-weight: 300;
    font-size: 25px;
    margin-left: 20px;
}

/* Responsive Skills section */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }

    .large {
        grid-column: span 2;
    }

    .circle-box {
        left: 250px; 
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .small, .large {
        grid-column: span 1;
    }

    .circle-box {
        left: 500px; 
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .small, .large {
        grid-column: span 1;
    }
}


/* Projekt section */
.project-vertical-spacer {
    margin-top: 7%;
}


/* Projekt content */
.project-tender {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
    padding: 0 50px;
}

@media (max-width: 1680px) {
    .project-tender {
        padding: 0 100px;
    }
}

.gradient-bg {
    background: var(--boxgradient);
    text-align: center;
    border-radius: 20px;
    width: 255px;
    padding: 3px 42px;
    min-height: 255px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
}

.project {
    position: relative; 
    background: var(--p-b);
    text-align: center;
    border-radius: 20px;
    width: 250px;
    padding: 40px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
    overflow: hidden; 
}

.img-bg {
    max-width: 400px;
    height: auto;
    background: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
}

.hb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px; 
    background-color: rgba(235, 212, 212, 0.3);
    border-radius: 0 0 20px 20px; 
}

.p-content {
    margin-left: 2rem;
    text-align: left;
    background: none;
    color: var(--background);
    position: absolute;
    z-index: 3; 
}

.p-title{
    color: var(--bg);
    background: none;
    font-size: 2rem;
}

.p-title::selection {
    background: var(--purple);
    color: var(--background);
}


.p-info{
    color: var(--bg);
    background: none;
    font-size: 1rem;
}

.p-info::selection {
    background: var(--purple);
    color: var(--background); 
}


/* Footer content */
footer {
    border-top: 2px solid var(--red); 
    background-color: var(--bg); 
    color: var(--wh);
    padding: 20px 0;
    margin-top: 5%;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-section {
    margin: 10px 0; 
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    text-align: center;
}

.footer-left {
    text-align: left;
    margin-left: 5%; 
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-content a {
    font-size: 20px;
    text-decoration: none;
    color: var(--wh);
    margin: 0 10px;
}

.footer-content a:hover {
    text-decoration: underline;
}