html, body {
    height: 100%;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.dashlet {
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.12),
                0 2px 4px 0 rgba(0,0,0,0.08);
    border-radius: 0.2rem;
    overflow: hidden;
    margin: 0.3rem;
}

/*
FONTS
*/

@font-face {
    font-family: Denmark;
    src: url(denmark.ttf);
}

/*
TOP NAVIGATION BAR
*/

.navigation-bar {
    background-color: #8495bb;
    height: 2.5rem;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
}

.navigation-bar>div {
    display: flex;
    align-items: center;
}

.navigation-bar>.left>.logo {
    font-family: Denmark;
    color: white;
    margin-left: 1rem;
    font-size: 1.4rem;
    text-decoration: none;
}

.logo>span {
    font-size: 1.7rem;
}

.navigation-bar>.right a {
    color: white;
    text-decoration: none;
    margin-right: 2rem;
    font-weight: lighter;
}

.navigation-bar>.right .active {
    font-weight: inherit;
}

/*
MAIN PAGE
*/

.main {
    background-color: #f7f7f7;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.main>.content {
    max-width: 60rem;
    width: calc(100% - 2rem);
    margin: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.main>.content>p {
    color: #717171;
}

.main>.content>h3 {
    color: #717171;
}

.main>.content>.contact-button {
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 2rem auto;
    border: none;
    color: white;
    background: #8495bb;
    border-radius: 0.2rem;
    font-size: 0.9rem;
    outline: none;
}

.main>.content>.contact-button:hover {
    cursor: pointer;
}

.main>.content>.contact-info {
    text-align: center;
    line-height: 1.4rem;
}

.main>.content>.contact-info a {
    text-decoration: none;
    color: #8495bb;
}

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

/*
CAROUSEL
*/

.carousel {
    height: 20rem;
}

.swiper-container {
    height: 100%;
}

.carousel .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.carousel .overlay>.text {
    color: white;
    position: absolute;
    left: 10%;
    top: 20%;
}

.carousel .overlay>.text>.top {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel .overlay>.text>.bottom {
    font-size: 1.2rem;
}

.categories {
    height: 15rem;
    display: flex;
}

.categories>.dashlet {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.categories>.dashlet>img {
    height: 100%;
}

.categories>.dashlet>a {
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.3rem;
    transition: 0.2s;
    text-decoration: none;
}

.categories>.dashlet>a:hover {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}


/*
GALLERY
*/

.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery>.cell {
    flex-basis: calc(33.33% - 0.5rem);
    margin: 0.25rem;
}

.gallery>.cell>img {
    width: 100%;
    height: 100%;
}


/*
CONTACT FORM
*/

.form {
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
    max-width: 22rem;
    width: calc(100% - 2rem);
    height: 16.5rem;
    padding: 1rem;
}

.form>* {
    margin: 0.4rem auto;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.form>input {
    width: 60%;
    background-color: #f7f7f7;
    padding: 0.5rem;
}

.form>textarea {
    width: 90%;
    background-color: #f7f7f7;
    height: 4rem;
    padding: 0.5rem;
}

.form>button {
    width: 3rem;
    height: 3rem;
    color: white;
    background-color: #a7d68b;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4.4rem;
    font-size: 1.2rem;
}

.form>button>i {
    position: relative;
    left: -0.1rem;
}

.form>button:hover {
    cursor: pointer;
}

.form>.server-response {
    color: grey;
}


/*
FOOTER
*/

footer {
    float: left;
    width: calc(100% - 40px);
    background-color: black;
    font-size: 10px;
    color: white;
    opacity: 0.7;
    padding: 10px 20px 10px 20px;
}

footer div {
    display: inline-block;
}

#trademark_note h1 {
    text-decoration: underline;
    font-size: 13px;
}

#trademark_note {
    width: 40%;
}

#contact_information {
    float: right;
}

/*
MEDIA QUERIES
*/

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

    .navigation-bar>.right>.buttons a:not(:last-child) {
        display: none;
    }

    .carousel .overlay>.text>.top {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel .overlay>.text>.bottom {
        font-size: 1rem;
    }
}

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

    .carousel {
        height: 10rem;
    }

    .categories {
        flex-direction: column;
        flex-grow: 1;
    }

    .categories>.dashlet>img {
        height: inherit;
        width: 100%;
    }

    .swiper-slide>img {
        height: 100%;
    }

    .carousel .overlay>.text>.top {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .carousel .overlay>.text>.bottom {
        font-size: 0.8rem;
    }

    .contact-header {
        font-size: 1rem;
    }

    .contact-info {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }

    footer {
        display: none;
    }
}