/* https://gwfh.mranftl.com/fonts/source-sans-3?subsets=latin */
/* @font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-sans-3-v20-latin-regular.woff2') format('woff2');
} */

/* sintony-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Sintony';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/sintony-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.disable-pointer {
    pointer-events: none;
}

/* checkboxes */
/* https://codepen.io/GeoffreyCrofte/pen/ALxorW */

:root {
  --outline-color: #ff6973;
  --box-color: #ffeecc;
  --background-color: #46425e;
  --background-highlight-color: #00b9be; 
}

.force-flex {
    display: flex !important;
}

.center-text {
    text-align: center;
}

iframe {
    border: 0;
}

ul {
    margin: 0;
}

p, li {
    font-size: 1rem;
}

a {
    color: var(--background-highlight-color);
}

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

#recent-projects, #highlighted-projects {
    justify-content: center;
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-button:hover {
    cursor: pointer;
    background: var(--outline-color);
    border: var(--background-highlight-color) 4px solid;
}

.contact-button {
    padding: .2rem;
    width: 6rem;
    height: 6rem;
    background: var(--background-highlight-color);
    display: flex;
    align-items: center;
    border-radius: 2rem;
    border: var(--outline-color) 4px solid;
}

.contact-button img {
    height: auto;
    width: 100%;
}

.glide {
    box-sizing: border-box;
    border: 4px solid var(--outline-color);
    border-radius: 1rem;
    padding-bottom: 3rem;
    padding-top: 1rem;
}

#glide-container {
    align-self: normal;
    width: 100%;
}

.glide__slides {
    align-items: center;
}

#bullets {
    pointer-events: all;
}

.glide__bullet {
    background-color: var(--background-color);
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    cursor: pointer;
    line-height: 0;
    -webkit-box-shadow: 0 .25em .5em 0 rgba(0,0,0,.1);
    box-shadow: 0 .25em .5em 0 rgba(0,0,0,.1);
    margin: 0 .25em;
}

.glide__bullet--active {
    background-color: var(--background-highlight-color);
}

.glide__bullets {
    position: absolute;
    z-index: 2;
    /* top: 1rem; */
    left: 50%;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    list-style: none;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.glide__arrows {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    margin-top: -9px;
}

.slider__arrow {
    pointer-events: all;
    border-radius: 1rem;
    background-color: var(--outline-color);
    border: 3px solid var(--box-color);
    padding-top: 4px;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
}

.slider__arrow:hover {
    background: var(--background-highlight-color) !important;
}

#project-big-photo {
    object-fit: contain;
    max-width: 100%;
    border-radius: 15px;
    border: solid 4px var(--outline-color);
}

#project-big-photo-container {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slide-photo-container {
    display: flex;
    justify-content: center;
}

.caption {
    padding: 0 1rem;
}

.slide-photo {
    max-width: 100%;
    max-height: 50vh;

}

#project-name {
    margin: 10px 0 0;
}

#project-date {
  font-size: 1rem;
}

.bio-photo {
    height: 300px;
    width: auto;
    margin-top: 30px;
    border-radius: 15px;
    border: solid 4px var(--outline-color);
}

.bio {
    margin-top: -1.2rem;
    display: flex;
    gap: 2rem;
}

.bio-info {
    margin-top: 1rem;
}

/* https://codepen.io/bernethe/pen/dorozd */
/* Spinner Circle Rotation */

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.sp {
  width: 64px;
  height: 64px;
  margin: 20px auto;
}

.sp-circle {
  border: 4px rgba(255, 255, 255, 0.25) solid;
  border-top: 4px white solid;
  border-radius: 50%;
  -webkit-animation: spCircRot 0.6s infinite linear;
  animation: spCircRot 0.6s infinite linear;
}

@-webkit-keyframes spCircRot {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@keyframes spCircRot {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

#single-project {
    display: none;
}

.project-title {
    border-radius: 0 0 5px 0;
}

.project-meta {
    right: 0;
    bottom: 0;
    border-radius: 5px 0 0 0;
}

.project-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: #000000bb;
    text-align: center;
    color: white;
    border: #ffffffaa solid 2px;
    height: 100px;
    margin: auto;
    position: absolute;
    line-height: normal;
    vertical-align: middle;
    top: 0; left: 0; bottom: 0; right: 0;
    visibility: hidden;
    opacity: 0;
    width: 75%;
    padding: 20px;
    border-radius: 20px;
    transition: opacity .2s, visibility .2s;
}

.image-container:hover .project-desc {
  visibility: visible;
  opacity: 1;
}

.image-container-tall:hover .project-desc {
  visibility: visible;
  opacity: 1;
}

.project-label {
    position: absolute;
    background-color: var(--background-color);
    /* opacity: 0.5; */
    color:white;
    padding: 0 5px;
}

.image-container {
    position: relative;
    width: 300px;
    background: var(--outline-color);
    border: 2px solid #333;
    border-color: hsla(0, 0%, 0%, 0);
    border-radius: 5px;
}

.image-container-tall {
    position: relative;
    height: 300px;
    background: var(--outline-color);
    border: 2px solid #333;
    border-color: hsla(0, 0%, 0%, 0);
    border-radius: 5px;
}


.unlabelled-image {
    height: 100%;
    width: auto;
    display: block;
}

.labelled-image {
    width: 100%;
    height: auto;
    display: block;
}

.form-select {
    margin-left: 10px;
    background-color: var(--box-color);
    border-radius: 6px;
    padding: .5rem;
    font-size: 1rem;
}

.form-projects {
   	border: 1px solid white; 
}

.form-home {
	border: 2px solid var(--outline-color);
}

.controls {
    display: none;
    margin-bottom: 15px;
    /* display: flex; */
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05em;
    color: white;
    white-space: nowrap;
}

select option {
  margin: 40px;
  background: var(--box-color) !important;
}

/* set correct box model */
* {
    box-sizing:border-box;
}

.color-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.color-selector {
    justify-content: center;
    display: flex;
    width: fit-content;
    padding: 10px;
    gap: 5px;
    border-radius: 10px;
}

.dot {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  box-shadow: 0 0 5px #000a;
  display: inline-block;
}

label,option {
    font-size: 1rem;
}

.box {
    background-color: var(--box-color);
}
.outline {
    background-color: var(--outline-color);
}
.background {
    background-color: var(--background-color);
}
.background-highlight {
    background-color: var(--background-highlight-color);
}

#projects-title {
    display: none;
}

.plain-title {
    margin-bottom: 1rem;
    background-color: var(--box-color);
    border-radius: 20px;
    padding-left: 20px;
}

.filter-label {
    color: white;
}

.filterable-gallery {
    margin-top: 40px;
}

.gallery-container {
    display: flex;
    justify-content: center;
}

#gallery-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 1rem;
}

#gallery {
    margin-left: 2rem;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-item {
  float: left;
  background: var(--outline-color);
  border: 2px solid #333;
  border-color: hsla(0, 0%, 0%, 0);
  border-radius: 5px;
  margin-bottom: 10px;
}

.grid-item:hover {
  border-color: white;
  cursor: pointer;
}

.sidenav-box-bg {
    background-color: var(--background-color);
    padding: 10px;
}


body, input, select, textarea {
    color:#3e3e3e;
    font-family: "Sintony", Helvetica, sans-serif;
    font-size: 16pt;
    font-weight: 300;
    line-height: 1.75;
}

body {
    margin: 0;
    background-color: var(--background-color);
    overflow-x: hidden;    
}


/* Add a black background color to the top navigation */



.holy-grail-flexbox > .header {
    background: var(--background-color);
    padding: 0;
    width: 100vw;
}

/* Style the links inside the navigation bar */
.header a {
    font-weight: 600;
    width: 100%;
    float: left;
    color: #ddd;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border: 0;
    border-bottom: solid 4px;
    border-color: var(--outline-color) ;
}

.hamburger-container {
    display: none;
    justify-content: center;
    border-bottom: solid 4px var(--outline-color);
    padding: .2rem 0;
    cursor: pointer;
}

.hamburger-line {
  width: 35px;
  height: 5px;
  background-color: var(--outline-color);
  margin: 6px 0;
}

/* Change the color of links on hover */
.header a:hover {
    background-color: var(--outline-color);
    color: var(--box-color);
}

.header {
    z-index: 2;
    position: fixed;
}

#dark-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--background-color);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity .25s ease-in-out;
}

#nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: none;
}

#mobile-nav {
    display: none;
    width: 100%;
    transition: opacity .2s ease-in-out;
    pointer-events: none;
}

.nav-open {
    pointer-events: all !important;
}

.nav-active {
    background-color: var(--outline-color);
    color: var(--background-color) !important; 
}
  
.heart-border-pink {
    border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAADEElEQVR4Xu2WQYpcQQxDM8fNOufIOsdNKBgaIoV+iLK/K0O9VVOWJduLT398u5Ty8fp1KeEetJh70GKOO+jv7z9+v6ZbA/76+deMVJ/mqGEWdDCqT3PUMAs6GNWnOWqYBR2M6tPYMLsDp/2q3yXNI71C/WZGDUTar/pd0jzSK9RvZtRApP2q3yXNI71C/WZGDUTar/pd0jzSK9QfmXWgA+6iCz7NaPjiHrSYe9BivtxBdaHqb1Dqr3oi9SN9ivnbQ3cg+KueSP1In2L+9tAdCP6qJ1I/0qeYvz10B4K/6onUj/Qp5m8PENitV57uT/NMbw+pQbFeebo/zTO9PaQGxXrl6f40z/T2kBoU65Wn+9M8079+faICRQNS/TTpvKnelk0NUv006byp3pZNDVL9NOm8qd6WTQ1S/TTpvKn+qGW/AvegxdyDFnMPWgweVD/K+hGm+unQ/FRX3hYXZEj106H5qa68LS7IkOqnQ/NTXXlbXJAh1U+H5qe6YkU12IUGeJru/WzZ7sBpuvezZbsDp+nez5btDpymez9btjtwmu79bNnuwGm697NluwOn6d7Plu0OnKZ7P1w2HUADTqd6v7fFRXXgaVTv97a4qA48jer93hYX1YGnUb3f2+K/0AEo4H9jd79IvNgNPJ3d/SLxYjfwdHb3i8SL3cDT2d0vEl+Ye9Bi7kGLuQct5h60mHvQYu5Bi7kHLea4g9Ifa6pPc9QwCzoY1ac5apgFHYzq0xw1zIIORvVpbJjdgdN+1e+S5pFeoX4zowYi7Vf9Lmke6RXqNzNqINJ+1e+S5pFeoX4zowYi7Vf9Lmke6RXqj8w60AF30QWfZjR8cQ9azD1oMV/uoLpQ9Tco9Vc9kfqRPsX87aE7EPxVT6R+pE8xf3voDgR/1ROpH+lTzN8eugPBX/VE6kf6FPO3Bwjs1itP96d5preH1KBYrzzdn+aZ3h5Sg2K98nR/mmd6e0gNivXK0/1pnulfvz5RgaIBqX6adN5Ub8umBql+mnTeVG/Lpgapfpp03lRvy6YGqX6adN5U/wde+K4ihrSAOAAAABBkZUJHM0MzNUJBQTRGQkJGNEJEN3eB6LcAAAAASUVORK5CYII=") 28 /  28px / 0 round;
    border-width:  28px;
    border-style:  solid;
    /* min-width: 400px; */
}

.main-content, .main-content-projects {
    margin-top: 5rem;
}

.content-box {
    background-color: var(--box-color);
    gap: 20px;
    padding: 20px;
    margin: 1rem;
    /* margin: 10px; */
    border: solid .25rem var(--outline-color);
    border-radius: 20px;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation: in .5s;
}

#background-sketch {
    position: fixed;
    top: -60px;
    left: 0px;
    z-index: -1;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(transparent 0%, black 50%, transparent 100%);
    mask-image: linear-gradient(transparent 0%, black 50%, transparent 100%);
    overflow: hidden !important;
}

@keyframes out {
    from   { border-radius: 20px; }
    to { border-radius: 40px;}
}

@keyframes in {
    0%   { border-radius: 40px; }
    100% { border-radius: 20px; }
}

.content-box:hover{
    animation: out .5s;
    animation-fill-mode: forwards;
}

.image {
    max-width:100%;
    height: auto;
}

/* flexbox container */
.holy-grail-flexbox {
    display: flex;
    flex-wrap: wrap;
}

/* columns (mobile) */
.holy-grail-flexbox > * {
    width:100%;
    padding:.4rem;
}

/* background colors */

.holy-grail-flexbox > .left-sidebar {
    margin-top: 10px;
}
.holy-grail-flexbox > .right-sidebar {
    margin-top: 10px;
}


h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 1.8rem;
    margin: .2rem 0;
}

/* @media screen and (max-width: 1865px) {
    body>*:not(.content-box)  {
        zoom: 0.8;
    }
} */

@media screen and (max-width: 1180px) {
    .controls {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 2rem;
    }

    #gallery-filters {
        justify-content: center;
    }
}

@media screen and (max-width: 736px) {

    h1 {
        line-height: 1.25em;
    }
    .bio {
        margin-top: .1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .name {
        text-align: center;
    }

    #mobile-nav {
        display: flex;
    }

    #nav {
        display: none;
    }

    .hamburger-container {
        display: flex;
    }

    #mobile-nav {
        /* display: none; */
        opacity: 0;
        flex-wrap: wrap;
        position: absolute;
        top: 3rem;
        background-color: var(--background-color);
        z-index: 1;
    }

    .image-container-tall {
        height: 200px;
    }
    
    p {
        font-size: .75em;
    }

    .heart-border-pink {
        border-style: none;
        border-width: 0;
        border-image: none;
    }

    .bio-info {
        margin-top: -1rem;
    }

    .content-box{
        animation: none;
        animation-fill-mode: none;
    }

    .content-box:hover{
        animation: none;
        animation-fill-mode: none;
    }

    .main-content, .main-content-projects {
        margin-top: 2.5rem;
    }
}

/* tablet breakpoint */
@media (min-width:737px) {
    
    #nav {
        display: flex !important;
        opacity: 1 !important;
    }
    .holy-grail-flexbox > .left-sidebar,
    .holy-grail-flexbox > .right-sidebar {
        width:50%;
    }
}

/* desktop breakpoint */
@media (min-width:1500px) {
    .holy-grail-flexbox > .header {
        order:-2; /* header first */
    }
    .holy-grail-flexbox > .left-sidebar {
        /* left sidebar second (first in second row) */
        order:-1; 
    }
    .holy-grail-flexbox > .main-content-projects {
        width:100%;
        min-height: 100dvh;
    }
    .holy-grail-flexbox > .main-content {
        width:50%;
    }
    .holy-grail-flexbox > .left-sidebar,
    .holy-grail-flexbox > .right-sidebar {
        width:25%;
        margin-top: 5rem;
    }
}