@import url("https://fonts.googleapis.com/css2?family=Borel&family=Fustat:wght@200..800&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");

:root {
    --blue: #0f3bea;
}

body {
    font-family: Fustat;
    margin: 0px;
    padding: 0px;
    background-color: #fff;
}

.container {
    display: flex;
    height: 100vh;
    flex-wrap: wrap;
    justify-content: center;
}

.container-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 0px 90px 0px;
    border: 3px dashed var(--blue);
    width: 300px;
    margin: 15px;
    max-height: 100vh;
    background-color: rgba(255, 255, 255, 0.916);
}

.container-right {
    background-image: url("src/bg.png");
    background-color: rgba(255, 255, 255, 0.5);
    /* White with 50% opacity */
    background-blend-mode: lighten;
    /* Optional: blend mode */
    background-size: 350px;
    width: calc(100% - 415px);
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 40px;
    border-width: 2px;
    border-style: solid;
    border-color: #ddd;
    margin-top: 15px;
    margin-bottom: 15px;
}

.profile {
    width: 100px;
    margin: 0px;
}

.antuntune {
    font-family: Borel;
    font-size: 1.7rem;
    margin: 0;
    font-weight: 400;
}

.main-info i {
    padding-right: 10px;
    font-size: 0.9rem;
    color: var(--blue);
}

.link-icons-main {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
}

.link-icons-main i:hover {
    cursor: pointer;
    color: black;
}

.link-icons-main a:visited {
    cursor: pointer;
    color: var(--blue);
}

.container-right h2 {
    color: var(--blue);
    font-weight: 950;
    text-decoration: underline;
    font-size: 1.8rem;
}

.cv-button {
    width: 152px;
    height: 35px;
    margin-top: 30px;
    background: linear-gradient(180deg, var(--blue) 0%, #133ad5 100%);
    border: 1px solid #274de5;
    box-shadow: 1px 2px 1.6px rgba(0, 0, 0, 0.2);
    border-radius: 11px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.cv-button:hover {
    cursor: pointer;
    background: linear-gradient(180deg, #2b4edd, #0a31ca);
    font-weight: 600;
}

.cv-button i {
    padding-right: 8px;

}

.card,
.card:visited {
    width: 300px;
    height: 310px;
    border: 5px solid #121212;
    box-shadow: 9px 8px 0px #000000;
    opacity: 0.92;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    position: relative;
    transition:
        transform 200ms,
        box-shadow 200ms;


}

a>* {
    text-decoration: none;
}

a,
a:visited {
    text-decoration: none;
    color: black;

}

.card:hover {
    transform: translate(7px, 7px);
    box-shadow: 2px 1px 0px #000000;
    cursor: pointer;
    opacity: 1;
}

.project-name {
    padding: 5px 3px;
    color: white;
    font-weight: 950;
    font-size: 1.1rem;
}

.project-tech {
    background-color: black;
    color: white;
    font-weight: 950;
}

.project-description {
    font-size: 0.8rem;
    background-color: white;
    font-weight: 500;
    padding: 8px 8px;
    border-top: solid #000000 4px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.card-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.card-wash .project-name {
    background-color: #0f3bea;
}

.card-wash {
    background-image: url(src/card-wash.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.card-denkaweb .project-name {
    background-color: #EA750F;
}

.card-denkaweb {
    background-image: url(src/card-denkaweb.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-denka .project-name {
    background-color: #EAB00F;
}

.card-denka {
    background-image: url(src/card-denka.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-teamsmic .project-name {
    background-color: #464EB8;
}

.card-teamsmic {
    background-image: url(src/card-teamsmic.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-biber .project-name {
    background-color: #006B3C;
}

.card-biber {
    background-image: url(src/card-biber.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.card-management .project-name {
    background-color: #4F39F6;
}

.card-management {
    background-image: url(src/card-management.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 768px) {
    .container-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 90px 0px 90px 0px;
        border: 3px dashed var(--blue);
        width: 100%;
        margin: 15px;
    }

    .container-right {
        background-image: url("src/bg.png");
        background-size: 350px;
        padding-left: 30px;
        padding-top: 30px;
        width: 100%;
    }

    .card-grid {
        justify-content: center;
    }
}

#canvas {

    position: fixed;
    /* Position fixed to cover the viewport */
    top: 0;
    left: 0;
    width: 100vw;
    /* Cover full width of viewport */
    height: 100vh;
    /* Cover full height of viewport */
    z-index: -1;
    /* Ensure it is below other content */
}

/* Turnstile Challenge Overlay */
.challenge-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.challenge-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.challenge-container {
    text-align: center;
    padding: 40px;
    border: 3px dashed var(--blue);
    background-color: rgba(255, 255, 255, 0.98);
    max-width: 400px;
    width: 90%;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.challenge-container h2 {
    color: var(--blue);
    font-weight: 950;
    text-decoration: underline;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}

.challenge-container p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Turnstile Widget Container */
.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.challenge-error {
    color: #dc3545;
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
}

/* Main Content */
.main-content {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-content.hidden {
    opacity: 0;
    pointer-events: none;
    height: 100vh;
    overflow: hidden;
}