/*
    Intro styling
*/
#intro {
    background-image: none;
}

section {
    position: relative;
}

section .hexagon-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*z-index: -1;*/
}

.above-svg {
    backdrop-filter: blur(1px);
}

/* 
    Split styling
*/
.flex-container {
    display: flex;
    align-items: flex-start;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    min-height: 100%;
    justify-content: space-between;
}

@media (max-width: 600px) {
    .flex-container {
        flex-wrap: wrap;
    }
    .flex-container.intro {
        flex-wrap: nowrap;
    }
}

.flex-container > div {
    padding-left: 10px;
    padding-right: 10px;
}

.flex-container {
    &.intro {
        align-items: center;
    }
    .grow {
        flex: 1;
    }
    .grow.intro {
        padding-right: 10vw;
    }
}

.flex-container > .shrink {
    flex-shrink: 1;
}

.flex-container > .center {
    justify-content: center;
    align-items: center;
}

.small-pad {
    padding: 20px;
}

.inner p {
    text-align: justify;
}

/*
    Footer styling
*/
#footer {
    > .inner {
        padding: 1em;
        > .menu {
            margin: 0em;
        }
    }
}

/*
    Image container styling (face)
*/
.image-container {
    position: relative;
    aspect-ratio: 1;
    width: 20vw;
    border-radius: 50%;
    box-shadow: 10px 10px 30px black;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.image-container:hover {
    animation-play-state: paused;
}

.image-container:hover {
    box-shadow: 10px 10px 40px black;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-out;
}

.image-container img:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 100px black;
}

#face-div {
    display: flex;
    align-items: end;
    @media (max-width: 500px) {
        align-items: center;
    }
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .flex-container.intro {
        flex-wrap: wrap;
    }
    .flex-container .grow.intro {
        padding-right: 0;
    }
    .image-container {
        width: 60%;
    }
}

/*
    Figure styling
*/
.figcontainer {
    max-width: 33%;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 600px) {
    .figcontainer {
        max-width: 100%;
    }
}

.fig {
    border: 1px solid hsla(0, 0%, 100%, 0.5);
    border-radius: 5px;
    background-color: hsla(0, 0%, 100%, 0.1);
    padding: 5px;
}

.fig > img,
video,
div {
    max-width: 100%;
}

.fig > img {
    max-width: 100%;
}

.fig > figcaption {
    text-align: center;
    font-size: small;
}

/*
    Wrapper style
*/
.wrapper.style1 {
    background-color: #5b5aa0;
}

.wrapper.stylegrad1 {
    background-image: linear-gradient(to top right, #8f5aa0, #155083);
}

.wrapper.stylegrad2 {
    background-image: linear-gradient(to top left, #8f5aa0, #155083);
}

/* 
    Videos are clickable.
*/
.vid {
    cursor: pointer;
}

/*
    Quadruple image flexbox
*/
.quadruple-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.quadruple-flex > .fig {
    flex-basis: 25%;
}

@media (max-width: 1000px) {
    .quadruple-flex > .fig {
        flex-basis: 50%;
    }
}

@media (max-width: 500px) {
    .quadruple-flex > .fig {
        flex-basis: 100%;
    }
}
