/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700);

@font-face {
  font-family: Bebas Neue Book;
  src: url(../font/bebasneue_book.eot);
  src: url(../font/bebasneue_book.eot?#iefix) format('embedded-opentype'), url(../font/bebasneue_book.woff2) format('woff2'), url(../font/bebasneue_book.woff) format('woff'), url(../font/bebasneue_book.ttf) format('truetype'), url(../font/bebasneue_book.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Bebas Neue Regular;
  src: url(../font/bebasneue_regular.eot);
  src: url(../font/bebasneue_regular.eot?#iefix) format('embedded-opentype'), url(../font/bebasneue_regular.woff2) format('woff2'), url(../font/bebasneue_regular.woff) format('woff'), url(../font/bebasneue_regular.ttf) format('truetype'), url(../font/bebasneue_regular.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
}

* {
    box-sizing: border-box;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Marken styles
   ========================================================================== */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    background-color: #000;
    position: relative;
    padding-bottom: 80px;
    /*height: 100%;*/
}

.container {
    width: 90%;
    max-width: 500px;
    margin: auto;
}

.site-logo {
    border: 1px solid #cecece;
    background-image: url(../img/mister-and-miss-logo.svg);
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    width: 90%;
    max-width: 350px;
    margin: 75px auto;
    border-radius: 50%;
}

.map-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.map-toggle {
    width: 100%;
    text-align: center;
    height: 50px;
    background-color: #fff;
    font-family: 'Bebas Neue Regular';
    font-size: 24px;
    line-height: .5;
    padding: 13px;
    cursor: pointer;

}

.arrow {
    height: 30px;
    width: 50px;
    margin: auto;
    background: url(../img/mister-and-miss-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.map {
    width: 100%;
    background-color: #000;
    height: 400px;
    display: none;
}

.row {

}

.col-1-2 {
    width: 50%;
    padding: 0 30px;
    float: left;
}

.text-sub {
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.text-main {
    font-family: 'Bebas Neue Book';
    font-size: 24px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.email {
    margin-top: 50px;
    font-size: 16px;
    font-family: 'Open Sans';
    font-weight: 300;
}

.social-icons {
    margin: 10px auto;
    display: table;
}

.social-icon {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: transparent;
    border-radius: 50%;
    background-size: 17px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 5px;-webkit-transition: all 250ms cubic-bezier(0.575, 0.06, 0.455, 0.925);
    -moz-transition: all 250ms cubic-bezier(0.575, 0.06, 0.455, 0.925);
    -o-transition: all 250ms cubic-bezier(0.575, 0.06, 0.455, 0.925);
    transition: all 250ms cubic-bezier(0.575, 0.06, 0.455, 0.925);
    -webkit-transition-timing-function: cubic-bezier(0.575, 0.06, 0.455, 0.925);
    -moz-transition-timing-function: cubic-bezier(0.575, 0.06, 0.455, 0.925);
    -o-transition-timing-function: cubic-bezier(0.575, 0.06, 0.455, 0.925);
    transition-timing-function: cubic-bezier(0.575, 0.06, 0.455, 0.925);
    border: 1px solid #fff;
}

.instagram {
    background-image: url(../img/mister-and-miss-instagram.svg);
}

.instagram:hover {
    background-color: #3f729b;
    border: 1px solid #3f729b;
}

.facebook {
    background-image: url(../img/mister-and-miss-facebook.svg);
}

.facebook:hover {
    background-color: #3b5998;
    border: 1px solid #3b5998;
}

@media screen and (max-width: 560px) {
    .col-1-2 {
        width: 100%;
        padding: 30px;
        float: none;
    }

    .site-logo {
        margin: 30px auto;
        border: 0px solid;
        height: 100px;
        border-radius: 0;
    }

    .email {
        margin-top: 30px;
    }
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

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

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
