/*!
Theme Name: Cuco
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.10
Tested up to: 5.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cuco
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Cuco is based on Underscores https://underscores.me/, (C) 2012-2022 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
1 Fonts:
----------------------------------------------------------------*/
body {
    font-family: 'acumin', sans-serif;
    font-size: 32px;
}

h1 {
    margin-top: 0;
    font-size: 66px;
    line-height: 70px;
}

h2 {
    font-size: 50px;
    line-height: 50px;
}

@media only screen and (max-width: 900px) {
    h1 {
        font-weight: 700;
        font-size: 24px;
        line-height: 29px;
    }
}

/*--------------------------------------------------------------
2 Grid/Structure:
----------------------------------------------------------------*/
body {
    margin: 0;
}

footer {
    margin-top: 250px;
}

.mt-0 {
    margin-top: 0 !important;
}

.grid-2 {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.container {
    margin: 0 10%;
}

body.page:not(.home) #primary, body.single {
    margin-top: 164px;
}

body.page:not(.home) #primary {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.cc-container {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

p {
    font-size: 22px;
    font-weight: 100;
    line-height: 34px;
}

.only-mobile {
    display: none;
}

@media only screen and (max-width: 900px) {
    .grid-2 {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }

    .only-mobile {
        display: block;
    }

    .cc-container {
        margin-top: 200px;
    }
}

/*--------------------------------------------------------------
3 Header/Navigation/Logo:
----------------------------------------------------------------*/
.logo {
    position: fixed;
    top: 0;
    z-index: 2;
}

body.home header:not(.white) .website-name a {
    color: white;
}

.website-name a {
    color: black;
    text-decoration: none;
}

body.home .logo, .logo.white {
    -webkit-filter: invert(1);
    filter: invert(1);
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 160px;
}

header {
    position: absolute;
    z-index: 1;
    top: 0;
    width: 80%;
    height: 160px;
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
}

body.home header, body.home header .main-navigation ul li a, header.white, header.white .main-navigation ul li a {
    color: white;
}

header ul {
    list-style: none;
}

header .main-navigation ul {
    display: inline-block;
}

header .main-navigation ul li {
    float: left;
    margin-right: 50px;
}

header .main-navigation ul li a {
    font-size: 36px;
    font-weight: 600;
    text-decoration: none;
    color: black;
}

.main-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

#site-navigation {
    margin-left: auto;
}

.navToggle {
    margin-top: -30px;
}

.navToggle:hover {
    cursor: pointer;
}

.hamburger, .hamburger:before, .hamburger:after {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 3px;
    background: black;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

header.white .hamburger:before, header.white .hamburger:after {
    background: white;
}

body.home .hamburger, body.home .hamburger:before, body.home .hamburger:after {
    background: white;
}

.hamburger:before, .hamburger:after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger:before {
    top: 9px;
}

.hamburger:after {
    bottom: 9px;
}

header .navToggle .menuOn {
    background: transparent;
}

.menuOn:before {
    top: 0;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
}

.menuOn:after {
    bottom: 0;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
}

.overlay {
    /* display: none; */
    position: fixed;
    z-index: -1;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    color: #fff;
}

.overlay a {
    color: #fff;
    text-decoration: none;
}

.overlay a:hover {
    color: red;
}

.overlay.navOn {
    display: block;
    left: 0;
    background-color: black;
}

.overlay .menu-full-page-menu-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    height: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 10%;
}

.overlay ul {
    text-align: right;
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay ul li {
    margin-bottom: 20px;
}

.overlay ul li a {
    font-weight: 600;
    font-size: 36px;
    line-height: 40px;
}

.overlay ul li a:hover {
    color: white;
}

body.no-scroll {
    overflow: hidden;
}

@media only screen and (max-width: 900px) {
    header {
        height: 65px;
        font-size: 24px;
        line-height: 29px;
    }

    .overlay .menu-full-page-menu-container {
        padding-top: 80px;
        padding-right: 16%;
        -webkit-box-align: unset;
        -ms-flex-align: unset;
        align-items: unset;
    }

    .overlay ul li {
        margin-bottom: 5px;
    }

    .overlay ul li:nth-of-type(2) {
        margin-bottom: 30px;
    }

    .overlay ul li a {
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
    }

    .overlay ul li.only-mobile a {
        font-weight: 700;
        font-size: 24px;
        line-height: 29px;
    }

    .main-head {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-left: 50px;
    }

    .logo img {
        max-height: 65px;
    }

    header .main-navigation {
        display: none;
    }

    .navToggle {
        margin-top: -15px;
    }
}

/*--------------------------------------------------------------
3 Images:
----------------------------------------------------------------*/
img {
    width: 100%;
    height: auto;
}

/*--------------------------------------------------------------
4 Stuff:
----------------------------------------------------------------*/
.quote {
    font-size: 33px;
    font-weight: 100;
    line-height: 44px;
}

.description {
    font-size: 22px;
    font-weight: 100;
    line-height: 34px;
}

/*--------------------------------------------------------------
4 Related:
----------------------------------------------------------------*/
.related.grid-2 {
    grid-gap: 160px;
    margin-bottom: 300px;
}

.related h2 {
    font-size: 40px;
    line-height: 50px;
}

.related a {
    text-decoration: none;
    color: black;
}

@media only screen and (max-width: 900px) {
    .related.grid-2 {
        grid-gap: 70px;
    }

    .related h2 {
        margin: 10px 0;
    }
}