/* ==========================================================================
   Default style settings for the complete site
   ========================================================================== */

/* Layout */
html, body {
    background-color: #362f2d;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

a {
    text-decoration: none;
}

#page-container {
}

#background-header {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: height 0.3s;
    background-color: #362f2d;
    z-index: -1;
}

/* Helpers */
.center {
    height: 100%;
    text-align: center;
}

.inner-center {
    display: inline-block;
}

.input-text::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    opacity: 0.7;
}

.input-text:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    opacity: 0.7;
}

.input-text::-moz-placeholder { /* Mozilla Firefox 19+ */
    opacity: 0.7;
}

.input-text:-ms-input-placeholder { /* Internet Explorer 10-11 */
    opacity: 0.7;
}

.rounded-button {
    /* height: 47px; */
    cursor: pointer;
    padding: 5px 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: 4px solid #FFF;
    background-color: transparent;
    color: #FFF;
    font-family: 'RobotoThin', sans-serif;
    font-size: 3em;

    transition: color 0.1s, background-color 0.1s;
}

.rounded-button:hover {
    background-color: #FFF;
    color: #2d92aa;

    transition: color 0.1s, background-color 0.1s;
}

/* Headroom */

.headroom--bottom {
    height: 140px !important;
    transition: height 0.3s;
}

.headroom--top {
    height: 140px !important;
    transition: height 0.3s;
}

.head-margin {
    padding: 20px;
    transition: padding 0.3s;
}

.headroom--top .head-margin {
    padding: 40px;
    transition: padding 0.3s;
}

.headroom--bottom .head-margin {
    padding: 40px;
    transition: padding 0.3s;
}

/* Color accent */
.myColor-text {
    color: #f26d7d;
    transition: color 0.3s;
}

.myColor-text-hover:hover {
    color: #f26d7d;
    transition: color 0.3s;
}

.myColor-background {
    background-color: #f26d7d;
    transition: background-color 0.3s;
}

.myColor-background-hover:hover {
    background-color: #f26d7d;
    transition: background-color 0.3s;
}

.myColor-border {
    border-color: #f26d7d;
    transition: border-color 0.3s;
}

.myColor-fill {
    fill: #f26d7d;
    transition: fill 0.3s;
}

#dropdown-switch {
    position: absolute;
    display: none;
}

#dropdown-switch ~ label {
    cursor: pointer;
    text-rendering: geometricPrecision;
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
    width: 100px;
    height: 100px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    transition: width 0.3s, height 0.3s;
}

.headroom--top #dropdown-switch ~ label, .headroom--bottom #dropdown-switch ~ label {
    width: 140px;
    height: 140px;
}

#icon-wrapper {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 25px;

    transition: margin 0.3s;
}

.headroom--top #icon-wrapper,
.headroom--bottom #icon-wrapper {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 45px;
}

#dropdown-switch ~ label img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

#dropdown-switch:checked ~ label #cross-icon {
    visibility: visible;
}

#dropdown-switch:not(:checked) ~ label #burger-icon {
    visibility: visible;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */
@media only screen and (max-width: 1310px) {
    #head-name {
        width: auto;
    }

    #head-name-container {
        pointer-events: none;
    }

    #page-head #color-selection-container {
        position: absolute;
        z-index: -1;
        margin-left: 158px;
    }

    #color-selection-container .color-selector:before {
        content: '';
        background-color: rgba(3, 3, 6, 0.53);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    #home #color-arrow-container {
        margin-left: 121px;
    }
}

@media only screen and (max-width: 1175px) {
    #page-head #background-header {
        visibility: visible;
    }

    #navigation-bar {
        position: absolute;
        height: 100px;
        width: 100vw;
        top: 0;
        left: 0;
        margin-top: 0;
        z-index: -2;
        opacity: 0;
        visibility: hidden;
        padding: 15px 30px;
        box-sizing: border-box;
        background-color: rgba(25, 25, 25, 0.81);
        -webkit-transition: margin-top 0.5s, opacity 0.5s, visibility 0s linear 0.5s; /* Safari */
        transition: margin-top 0.5s, opacity 0.5s, visibility 0s linear 0.5s;
    }

    .headroom--top #dropdown-switch:checked ~ #navigation-bar,
    .headroom--bottom #dropdown-switch:checked ~ #navigation-bar {
        margin-top: 140px;
    }

    #dropdown-switch:checked ~ #navigation-bar {
        margin-top: 100px;
    }

    #dropdown-switch:checked ~ #navigation-bar {
        visibility: visible;
        opacity: 1;
        -webkit-transition: margin-top 0.5s, opacity 0.5s, visibility 0s linear 0s; /* Safari */
        transition: margin-top 0.5s, opacity 0.5s, visibility 0s linear 0s;
    }

    #dropdown-switch ~ label {
        display: block;
    }

    #dropdown-switch {
        display: block;
        visibility: hidden;
        width: 0;
        height: 0;
    }
}

@media only screen and (max-width: 780px) {
    #navigation-bar {
        height: 100vh;
    }

    #navigation-bar li {
        float: right;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
}

@media only screen and (max-width: 421px) {
    #page-head #color-selection-container {
        margin-left: 10px;
    }

    #head-name-container #head-name {
        line-height: 36px;
        width: 140px;
    }

    #home #color-arrow-container {
        margin-left: 0;
    }
}
