@import 'https://fonts.googleapis.com/css?family=Montserrat:400,500,600i,700,900';
:root{
    --main-color: #172f3a;
    --box-color: rgb(250, 209, 98);
    --title-color-1: #333333;
    --title-color-2: gray;
    --text-color: #ffffff;
    --bg-1: #ffffff;
    --bg-2: #333333;
    --box-shadow: 5px 5px 5px #000;
}

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
}

h3{
    font-weight: 700 !important;
    letter-spacing: 2px;
}

h4{
    font-weight: 600 !important;
    letter-spacing: 2px;
}

h5{
    font-weight: 500 !important;
    letter-spacing: 2px;
}

h6{
    font-size: 12px !important;
    font-style: italic;
    color: var(--text-color-2);
}

p{
    font-weight: 400 !important;
    font-size: 15px;
}

/* header */
header{
    width: 100%;
    background-color: var(--bg-1);
    padding: 2em;
    padding-bottom: 0em;
    align-content: center;
}

header>.logo{
    color: var(--text-color);
}

header>div.logo{
    float: left;
}

header nav{
    background: transparent !important;
}

.logo{
    width: 500px;
    color: var(--text-color-1);
    text-align: center;
    float: left;
    display: block;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 35px;
    letter-spacing: 2px; 
}

.logo:hover{
    color: var(--box-color);
    text-decoration: none;
}

/* nav */
nav{
    display: inline;
    text-align: center;
}

nav ul li{
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    color: var(--main-color);
    display: inline-block;
    padding: 1em;
    margin-right: 22px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s;
}

nav a{
    color: var(--title-color-1);
}

nav a:hover{
    opacity: 0.8;
    color: var(--main-color);
    text-decoration-color: var(--box-color) !important;
    /* text-decoration: 2px; */
}

#toggle, .label{
    display: none;
}

form{
    padding: 5em;
    justify-content: center;
}

#form{
    align-content: center;
}

.contactform{
    margin-top: 2em;
    padding: 3em;
    background-color: rgb(235, 235, 235);
}

footer{
    width: 100%;
    padding: 2.6em;
    text-align: center;
    background-color: var(--bg-2);
    color: var(--text-color);
}

/* ILLUSTRATIONS */
.title{
    padding: 3.5em;
    text-align: center;
}

.main-padding{
    padding: 7em;
    padding-top: 5em;
}

.item>a>img{
    width: 100%;
    height: 100%;
}

.item>a>img:hover{
    filter: blur(1px) brightness(85%);
    box-shadow: 0 8px 16px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);
    cursor: pointer;
}

.item{
    width: 330px;
    display: inline-block;
    margin: 1rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.item > img{
    width: 100%;
    height: 100%;
}

.item > img:hover{
    box-shadow: 0 8px 16px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);
    cursor: pointer;
    filter: blur(2px) brightness(60%);
}

@media(max-width: 992px){
    .label{
        display: block;
        cursor: pointer;
    }

    nav ul{
        text-align: center;
        display: none;
        flex-direction: column;
        padding-top: 2.2em;
        background-color: transparent;
    }

    nav li{
        width: 100%;
        text-align: center;
        flex: auto;
        background-color: rgba(0,0,0,0.8);
        position: relative;
        top: 1em;
    }
    
    nav a{
        opacity: 1;
    }

    #toggle:checked+.menu{
        display: block;
    }

    .logo{
        width: 250px;
    }
   
    .item{
        width: 100%;
    }
}