@font-face {
    font-family: robotoLight;
    src: url(../fonts/Roboto-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: robotoRegular;
    src: url(../fonts/Roboto-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: robotoMedium;
    src: url(../fonts/Roboto-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: robotoBold;
    src: url(../fonts/Roboto-Bold.ttf);
    font-display: swap;
}

html,
body {
    font-family: robotoRegular, sans-serif !important;
}

.header-link {
    /* font-size: 1.2em; */
    text-transform: uppercase;
}

/* override bootstrap styles */
.nav-link {
    color: black;
}

.nav-item {
    margin-left: 10px;
    margin-right: 10px;
}

.navbar-toggler {
    border: none;
    border-radius: 0;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggle-icon {
    border-color: black;
}

/* general */
.rounded-corners {
    border-radius: 10px;
}

h1 {
    font-family: robotoBold;
    font-size: 64px;

    line-height: normal;
}

h2 {
    font-family: robotoMedium;
    font-size: 48px;

    line-height: normal;
}

h3 {
    font-family: robotoBold;
    font-size: 40px;

    line-height: normal;
}

h4 {
    font-family: robotoBold;
    font-size: 32px;

    padding-top: 1rem;

    line-height: normal;
}

.leading-light-text {
    font-family: robotoLight;
    font-size: 22px;

    line-height: normal;
}

.regular-light-text {
    font-family: robotoLight;
    font-size: 20px;

    line-height: normal;
}

.text-white {
    color: white;
}

.primary-button {
    height: 50px;
    width: 200px;

    border-radius: 25px;
    border: 1px solid white;
    background-color: white;
    color: black;

    font-size: 16px;
}

.secondary-button {
    height: 50px;
    width: 200px;

    border-radius: 25px;
    border: 1px solid white;
    background-color: transparent;
    color: white;

    font-size: 16px;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.font-bold {
    font-weight: bold;
}

/* section 1 */
.background-image-top-section {
    background-image: url('../images/flying-hat.png');
    background-position: center;
    background-size: cover;
    min-height: 400px;
}

/* section 2 */
.background-image-hat-2-parallax {
    background-color: rgb(0, 0, 0);
    background:
        /* top, transparent black, faked with gradient */
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        /* bottom, image */
        url('../images/hat-2.jpg');

    /* background-attachment property is set in media query due to no support on ios */
    background-position: center;
    background-repeat: no-repeat;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

/* section 3 */
.my-section-3 {
    margin-top: 7rem;
    margin-bottom: 7rem;
}

.background-image-process-1 {
    background: url('../images/meetandgreet.png');

    background-position: center;
    background-size: cover;

    min-height: 300px;

    border-radius: 10px;
}

.background-image-process-2 {
    background: url('../images/creation.png');

    background-position: center;
    background-size: cover;

    min-height: 300px;

    border-radius: 10px;
}

.background-image-process-3 {
    background: url('../images/handover.png');

    background-position: center;
    background-size: cover;

    min-height: 300px;

    border-radius: 10px;
}

/* section 4 */
.background-image-3-parallax {
    background-color: rgb(0, 0, 0);
    background:
        /* top, transparent black, faked with gradient */
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        /* bottom, image */
        url('../images/machine.jpg');

    /* background-attachment property is set in media query due to no support on ios */
    background-position: center;
    background-repeat: no-repeat;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

/* section 5 */
.background-image-person {
    background-image: url('../images/about-me.png');
    background-position: center;
    background-size: cover;
    min-height: 500px;
}

/* footer section */
.footer-section {
    margin-top: 5em;
    margin-bottom: 5em;
}

/* copyright section */
.copyright-section {
    margin-top: 5em;
    margin-bottom: 5em;
}

.copyright-text {
    color: 545454;
}


/* up to x-tra small break point */
@media only screen and (max-width: 576px) {
    .navbar-brand {
        margin-left: 0.3em;
    }

    h1 {
        font-size: 36px;
    }

    /* section paddings */
    #top {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    #divider1 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #iWantAHat {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    #iHaveAHat {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #about {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    #contact {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }

    #gallery {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .instagram-image {
        width: 33.3vw;
        height: 33.3vw;

        margin-right: 2px;

        filter: brightness(90%);
    }

    #galleryImage4 {
        visibility: hidden;
    }

    #galleryImage5 {
        visibility: hidden;
    }
}


@media only screen and (min-width: 577px) {

    /* section paddings */
    #top {
        padding-top: 5rem;
        padding-bottom: 9rem;
    }

    #divider1 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #iWantAHat {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #iHaveAHat {
        padding-top: 5rem;
        padding-bottom: 8rem;
    }

    #about {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #contact {
        padding-top: 0rem;
        padding-bottom: 7rem;
    }

    #gallery {
        margin-top: 0rem;
        margin-bottom: 7rem;
    }

    .instagram-image {
        width: 20vw;
        height: 20vw;

        margin-right: 2px;

        filter: brightness(90%);
    }

    #galleryImage4 {
        visibility: visible;
    }

    #galleryImage5 {
        visibility: visible;
    }
}

/* small to large break point */
@media only screen and (min-width: 1200px) {

    /* section paddings */
    #top {
        padding-top: 9rem;
        padding-bottom: 13rem;
    }

    #divider1 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #iWantAHat {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #iHaveAHat {
        padding-top: 9rem;
        padding-bottom: 10rem;
    }

    #about {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    #contact {
        padding-top: 0rem;
        padding-bottom: 7rem;
    }

    #gallery {
        margin-top: 0rem;
        margin-bottom: 7rem;
    }
}

/* parallax fix for safari on ios */
@supports (-webkit-touch-callout : none) {
    .background-image-hat-2-parallax {
        background-attachment: scroll
    }

    .background-image-3-parallax {
        background-attachment: scroll
    }
}

@supports not (-webkit-touch-callout : none) {
    .background-image-hat-2-parallax {
        background-attachment: fixed;
    }

    .background-image-3-parallax {
        background-attachment: fixed
    }
}