@font-face {
    font-family: 'Electrolize';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/electrolize-v9-latin-regular.eot');
    src: local(''), url('../fonts/electrolize-v9-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/electrolize-v9-latin-regular.woff2') format('woff2'), url('../fonts/electrolize-v9-latin-regular.woff') format('woff'), url('../fonts/electrolize-v9-latin-regular.ttf') format('truetype'), url('../fonts/electrolize-v9-latin-regular.svg#Electrolize') format('svg');
}

:root {
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
    --dark: #00008B;
    --blue: #B0E0E6;
    --cream: #F5FFFA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3 {
    font-family: Electrolize;
}

h1, h2 {
    margin: 15px 0;
    text-align: center;
}


p {
    margin: 15px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

text-danger {
    color: darkred;
}

.text-success {
    color: darkcyan;
}

.main-text form {
    display: grid;
    min-width: 350px;
}

.main-text input {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    box-sizing: border-box;
}

.main-text textarea {
    width: 100%;
    height: 150px;
    padding: 12px;
    box-sizing: border-box;
}

.main-text label {
}

.main {
    padding: 80px 0 0 0;
}

.header {
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: fixed;
    top: 0;
    width: 100%;
    background-image: url("images/backimage.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: var(--blue);
}

.main-iframe {
    margin: 15px;
}

    .main-iframe iframe {
        width: 100%;
    }

.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px;
}

.logo {
    display: inline-block;
    color: var(--black);
    height: 80px;
    font-family: Electrolize;
    font-size: 30px;
    padding: 20px 5px 0 15px;
}

.nav {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
}

.menu a {
    display: block;
    font-family: Electrolize;
    padding: 30px;
    color: var(--dark);
}

    .menu a:hover {
        background-color: var(--blue);
    }

.nav {
    max-height: 0;
    transition: max-height .5s ease-out;
}

.hamb {
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}


.hamb-line {
    background: var(--black);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

    .hamb-line::before,
    .hamb-line::after {
        background: var(--black);
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
    }

    .hamb-line::before {
        top: 5px;
    }

    .hamb-line::after {
        top: -5px;
    }


.side-menu {
    display: none;
}

    .side-menu:checked ~ nav {
        max-height: 100%;
    }

    .side-menu:checked ~ .hamb .hamb-line {
        background: transparent;
    }

        .side-menu:checked ~ .hamb .hamb-line::before {
            transform: rotate(-45deg);
            top: 0;
        }

        .side-menu:checked ~ .hamb .hamb-line::after {
            transform: rotate(45deg);
            top: 0;
        }

@media (max-width: 1200px) {
    h3 {
        margin: 0 15px;
    }

    .nav {
        background-color: var(--cream);
    }

    .main-text img {
        padding: 45px;
        width: 100%;
    }

    .main-text form {
        margin: 15px;
    }
}

@media (min-width: 1200px) {
    h3 {
        margin: 15px 0;
    }

    .main-text {
        display: grid;
        grid-template-columns: auto auto;
        gap: 15px;
    }

        .main-text img {
            float: left;
            margin: 15px;
            border: 1px solid red;
            max-width: 400px;
        }

        .main-text .col-wide {
            grid-column: 1 / span 2;
        }

        .main-text .main-form {
            margin: 15px 15px 0 0;
        }

    .nav {
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li {
        font-size: 18px;
        font-weight: bold;
        background-color: var(--blue);
        float: left;
    }

    .menu a:hover {
        background-color: transparent;
        color: var(--black);
    }

    .hamb {
        display: none;
    }
}
