body {
    width: 100vw;
    overflow-x: hidden !important;
}

/* width */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar:hover {
    width: 12px;
}


/* Handle */
::-webkit-scrollbar-thumb {

    border-radius: 10px;

    border-left: 0;
    border-bottom: 0;
    border-top: 0;
    transition: all 0.2s;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {

    width: 12px;
}

.button {
    display: flex;
    gap: 10px;
    backdrop-filter: blur(2px);
    backdrop-filter: brightness(60%);
    border-radius: 15px;
    padding: 8px 20px;

    text-decoration: none;

    transition: all 0.5s ease-in-out;
}

.button::after {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 14px;
}


.button.accent::after {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 14px;
}

.button:hover {

    transform: scale(106%);
}

.button.accent:hover {

    transform: scale(106%);
}

.linkedin {
    background-image: url('../img/Icons/Filled/Linkedin.svg');
    background-size: contain;
}

.github {
    background-image: url('../img/Icons/Filled/Github.svg');
    background-size: contain;
}

.twitter {
    background-image: url('../img/Icons/Filled/Twitter.svg');
    background-size: contain;
}

.view-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    outline: none;
    border: 0;

    opacity: 0.4;
    transition: all 0.4s;
}

.view-all:hover {
    opacity: 0.6;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.collapsible.icon::after {
    content: '▢';
    font-size: 16px;

    float: right;
    margin-right: 15px;
}

.icon.active::after {
    content: "▥";
}

#footer-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 1400px;
    border-radius: 10px;

    margin: auto;
    margin-bottom: 10vh;
    padding: 40px 30px;
}

.footer-card-content {
    margin-left: 3rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.footer-card-description {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.footer-card-logo {
    margin-right: 5rem;
}

footer {
    margin-top: 15vh;
    padding-bottom: 10px;
}

.text-normal {
    text-decoration: none;

}

.navbar-logo {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav {
    align-items: center;
}

.nav-link {

    margin-left: 10px;
}

.nav-link.active {

    font-weight: 700;
}

.acrylic-button {
    text-decoration: none;
    /*Note: backdrop-filter has minimal browser support;*/
    border-radius: 35px;
    padding: 9px 22px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: none;
    transition: all 0.5s;
    width: fit-content;
    gap: 10px;
}

.nav-button svg {
    margin-right: 7px;
    height: 18px;
    width: 18px;
}

.acrylic-button:hover {
    transform: scale(105%);
}

.acrylic-button img,
.acrylic-button svg {
    height: 1rem;
    width: auto;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 7vw;
}

.footer-links,
.external-links {
    display: flex;
    flex-direction: row;
    gap: 3vw;
}

.contact-card {
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2rem 3rem;
    height: fit-content;
    max-width: 650px;
    margin: 1rem;
}

.contact-card-logo {
    width: 10rem;
    height: 10rem;
    margin-right: 1.5rem;
}

.seperator {
    display: block;
    min-height: 100px;
    width: 2px;
    align-self: stretch;
    justify-self: stretch;

}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1.7rem;
}

.contact-link {
    text-decoration: none;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.contact-link img {
    width: 24px;
}

.footer-nav-links {
    font-size: 14px;
    font-weight: 400;
    line-height: 235.4%;
    letter-spacing: 0.96px;
}

.social-links {
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: auto auto;
    height: fit-content;
    width: fit-content;
    column-gap: 1rem;
    row-gap: 1rem;
    align-self: flex-end;
    margin-bottom: 2rem;


}

.social-link {
    width: 30px;
    height: 30px;
    border-radius: 20px;
    transition: all 0.5s;
}

.social-link:hover {
    transform: scale(120%);
    border-radius: 5px;
}

.external-links {
    align-self: stretch;
}

.sub-sites {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sub-site-logo {
    transform: scale(90%);
    border-radius: 10px;
}

.sub-site-logo:hover {
    cursor: pointer;
}

.copyright {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    margin-top: 2rem;
}

.plain-link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.6s;
}

/* The checkbox container */
.chb-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.chb-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 8px;
    transition: all 0.2s;
}


/* Create the checkmark/indicator (hidden when not checked) */
.chb-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chb-container input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.chb-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

form .button {
    margin-top: 10px;
    float: right;
}

.end-info {
    margin-top: 10px;
    opacity: 0.4;
    text-align: end;
}

@media screen and (max-width: 1420px) {
    .footer-content {
        flex-direction: row;
    }

    .contact-card {
        transform: scale(90%);
    }

    .footer-nav-links {
        font-size: small;
    }

    .external-links {
        flex-direction: column;
        align-self: center;
        width: fit-content;
    }

    .sub-sites {
        display: none;
    }

    #footer-card {
        max-width: 90vw;
        margin-left: auto;
        margin-right: auto;
    }

}

@media screen and (max-width:768px) {
    .navbar-nav {
        height: calc(100vh - 70px);
        align-items: start;
    }

    .nav-link {
        margin-top: 1rem !important;
    }

    .nav-button {
        padding: 0 !important;
        font-weight: 100;
        box-shadow: unset;
        backdrop-filter: unset;
        -webkit-backdrop-filter: unset;
        border: 0;
    }

    .sub-sites {
        display: flex;
    }

    .nav-button svg {
        display: none;
    }

    .nav-button:hover {
        box-shadow: unset;
        border: 0;
    }

    #footer-card {
        width: 90vw;
        flex-direction: column-reverse;
        padding: 1rem;
        align-items: center;
        justify-content: center;
        margin-left: 5vw !important;
    }

    .footer-card-logo {
        margin: 1rem;
        width: 80%;
    }

    .footer-card-content {
        margin: 1rem;
        width: 96%;
    }

    .footer-card-content,
    .footer-card-description {
        text-align: center;
    }

    .footer-card-description {
        font-size: small;
    }

    .footer-card-content a {
        align-self: center;
    }

}

@media screen and (max-width:717px) {

    h1 {
        font-size: xx-large;
    }

    .footer-content,
    .footer-links,
    .contact-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .page-links {
        align-self: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-nav-links {
        list-style: none;
        text-align: center;
        padding: 0;
    }

    .external-links {
        flex-direction: column;
        align-self: center;
    }

    .contact-card {
        padding: 2rem 2rem;
    }

    .contact-card-logo {
        margin-right: 0;
    }

    .seperator {
        min-height: 2px;
        min-width: 100px;
        width: 100%;
    }

    .sub-sites {
        align-items: center;

    }

    .sub-sites h4 {
        display: none;
    }

    .social-links {
        grid-template-columns: auto auto auto auto;
        grid-template-rows: auto auto;
        align-self: center;
        margin-top: 2rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

}