* {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1 {
    font-family: 'Monoton', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: black;
}

.navlink {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    color: rgba(0,0,0,0.5);
}
.navlink:hover,
.active {
    color: black;
}

.sticky-top {
    width: 100%;
    background-color: white;
}

.message,
.error {
    font-family: 'Monoton', sans-serif;
    font-weight: 400;
}
.message {
    font-size: 5rem;
}
.error {
    font-size: 7rem;
}


/* Portfolio page */

#overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    /* Bootstrap uses z-index up to 1080 */
    z-index: 1100;
    cursor: zoom-out;
}

#viewer {
    text-align: center;
    width: 100%;
    height: 100%;
    background-image: url(photos/1.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

#viewer p {
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
}

.photo {
    background-size: cover;
    background-repeat: no-repeat;
    cursor: zoom-in;
}
.portrait {
    height: 32rem;
    background-position: center;
}
.landscape {
    height: 16rem;
    background-position: bottom;
}

/* Bootstrap md breakpoint */
@media (min-width: 768px) {
    .landscape {
        height: 32rem;
    }
}

.fade-in-1 {
    opacity: 0;
    animation: fade-in 0.3s 0s ease-in forwards;
}
.fade-in-2 {
    opacity: 0;
    animation: fade-in 0.3s 0.3s ease-in forwards;
}
.fade-in-3 {
    opacity: 0;
    animation: fade-in 0.3s 0.6s ease-in forwards;
}
.fade-in-4 {
    opacity: 0;
    animation: fade-in 0.3s 0.9s ease-in forwards;
}
.fade-in-5 {
    opacity: 0;
    animation: fade-in 0.3s 1.2s ease-in forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* Socials page */

#jl {
    color: white;
    background-color: black;
    width: 100%;
    height: 100%;
}
#jl p {
    font-family: 'Monoton', sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 7rem;
}

.clickable {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    display: block;
    color: white;
    background-color: black;
    border: 5px solid black;
}
.clickable:hover {
    color: black;
    background-color: white;
}


/*  Contact page */

input:focus,
textarea:focus {
    outline: none !important;
    border-radius: 0 !important;
}
.field {
    color: black;
    background-color: white;
    border: 5px solid black;
}
.field::placeholder {
    color: whitesmoke;
    font-weight: 400;
}
.field:placeholder-shown {
    color: white;
    background-color: black;
    border: 5px solid white;
}
.field:hover,
.field:focus,
.submit:hover,
.submit:focus {
    color: black;
    background-color: white;
    border: 5px solid black;
}
.field:hover::placeholder,
.field:focus::placeholder {
    color: grey;
}
.submit {
    font-weight: 400;
    border: 5px solid white;
}

.attribution {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    color: rgba(0,0,0,0.7);
}
.attribution:hover {
    color: black;
}