html, body {
    font-family: Montserrat;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    min-height: 100svh;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #343434;
    background-color: #eeeeee;
    background: linear-gradient(45deg, #bcb8e8, #fefefe);
    scroll-behavior: smooth;
    line-height: 1.5rem
}

header {
    padding: 1rem;
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 2rem;
    background-color: white;
    border-bottom: 1px solid #02001b;
    width: calc(100% - 2rem);
    position: fixed;
    z-index: 1;
    height: 1.5rem;
}

header h2 {
    margin-right: auto;
    font-size: x-large;
    font-weight: normal;
}

header * {
    font-size: large;
    margin: 0;
    text-decoration: none;
    color: #343434;
}

header a:hover {
    text-decoration: underline;
}

main {
    padding-top: 3.5rem;
}

#landing {
    height: 100svh;
    margin-bottom: 10rem;
}

#landing-text {
    font-size: 5rem;
    margin: 0;
}

#landing-secondary-text {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    font-weight: 300;
    margin-top: 3rem;
}

.button {
    display: block;
    text-decoration: none;
    color: #343434;
    padding: 1rem 2.5rem;
    border-radius: 15rem;
    background-color: transparent;
    width: fit-content;
    border: 2px solid #1200d8;
    transition: all .3s ease-in-out;

    &:hover {
        background-color: #1200d8;
        border: 2px solid transparent;
        color: white;
    }
}

#landing-group {
    position: absolute;
    width: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#landing-text span {
    background: transparent;
    border-left: 4px solid #565656;
    animation: blinking 1s infinite;
}

@keyframes blinking {
    0%   { border-color: transparent; }
    50% { border-color: #454545; }
    100% { border-color: transparent; }
}

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-block: 2rem;
}

.card {
    width: 20rem;
    min-height: 17rem;
    /*box-shadow: -.15rem .15rem .5rem rgba(220, 220, 220, 0.8) inset;*/
    padding: .5rem;
    border-radius: .6rem;
    border: 2px solid grey;
    background-color: white;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

    &:hover .card-desc {
        opacity: 1;
    }

    &:hover .card-title {
        text-decoration: underline;
    }

    &:hover {
        box-shadow: .2rem .2rem .5rem .1rem rgba(0, 0, 0, 0.4);
    }
}

.card-desc {
    opacity: 0;
    transition: all .25s;
    background-color: #1200d8;
    text-decoration: none;
    color: white;
    display: block;
    text-align: center;
    padding-block: .5rem;
    border-radius: 3rem;
    margin-block: 1rem;
    width: 90%;
    border: 2px solid #1200d8;
    margin-inline: auto;

    &:hover {
        box-shadow: .1rem .1rem .4rem .1rem rgba(0, 0, 0, 0.3);
    }
}

.card-title {
    font-size: large;
    margin-bottom: 2rem;
    color: #343434;
    display: block;
    width: fit-content;
    text-decoration: none;
    font-size: larger;
    font-weight: 500;
}

.card-type {
    margin-bottom: 1rem;
}

.card-label * {
    height: 2rem;
}

.subtitle {
    width: fit-content;
    margin: 8rem auto 4rem auto;
    font-size: 4rem;
    font-weight: normal;

    &::after {
        content: '_';
        animation: blink 1.8s linear infinite;
    }
}

@keyframes blink {
    25% {
        opacity: 0.7;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 0.7;
    }
}

.general-block {
    border-radius: .6rem;
    margin-inline: auto;
    width: 70%;
    padding: 2rem;
    border: 2px solid grey;
    text-align: justify;
}

footer {
    width: 100%;
    padding-block: 1.5rem;
    background-color: #02001b;
    margin-top: 10rem;
    color: white;
    text-align: center;
}

footer * {
    color: #fefefe;
}

#footer-socials {
    margin-top: 1rem;
}

#link-button {
    margin-inline: auto;
}


.gallery {
    width: 90%;
    margin-inline: auto;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 80%;
    flex-wrap: wrap;
    gap: .5rem;
}

.gallery img {
    width: 14rem;
    border-radius: .2rem;
    max-width: 95%;
}

.back-button {
    margin: 2rem;
}

#disclaimer {
    font-size: small;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 0;
    width: fit-content;
}

.flex {
    display: flex;
}

.flex img {
    width: 17rem;
    height: 17rem;
    aspect-ratio: 1/1;
    justify-content: space-between;
    align-items: center;
}

#szb-card {
    background-image: url("./assets/sz-card-bg.jpg");
    background-position: center;
    background-size: cover;
}

#rcs-card {
    background-image: url("./assets/rcs-card-bg.jpg");
    background-position: center;
    background-size: cover;
}

#vetessy-card {
    background-image: url("./assets/vetessy-card-bg.png");
    background-position: center;
    background-size: cover;
}

#dns-card {
    background-image: url("./assets/dns-card-bg.jpg");
    background-position: center;
    background-size: cover;
}

