body {
    background-color: #373737;
    font-family: "Roboto", sans-serif;
    color: #dddddd;
    margin: 0;
}

.block {
    max-width: 1140px;
    margin: 0 auto;
}
 
header {
    max-width: 1140px;
    margin: 0 auto;
    .top {
        display: flex;
        align-items: stretch;
        aside img {
            width: 250px;
        }
        nav {
            flex-grow: 1;
            text-align: right;
            ul {
                list-style: none;
                float: right;
                li {
                    padding-top: 40px;
                    float: left;
                    position: relative;
                    ul {
                        display: none;
                    }
               }
                li:hover {
                    ul {
                        position: absolute;
                        display: block;
                            list-style: none;
                            padding: 0;
                            padding-top: 45px;
                        li {
                        
                            background-color: rgb(90,90,90);
                            display: block;
                            padding: 0;
                            margin: 0;
                                width: 100%;
                            a {
                                display: block;
                                padding: 0;
                               padding: 20px;
                                text-decoration: none;
                                color: rgb(200,200,200);
                                font-weight: 500;
                            }
                            a:hover {
                                text-decoration: underline;
                                color: white;
                            }
                        }
                    }
                }
            }
            .item > a {
                    color: white;
                    text-decoration: none;
                    font-size: 15px;
                    font-weight: 500;
                    padding: 20px;
                }
            .item:hover {
                    padding-bottom: 40px;
                    color: #F20707;
                    border-bottom: 4px solid #F20707;
                }
        }
    }
    .gallery {
        display: flex;
        align-items: stretch;
        width: 100%;
        img {
            align-self: start;
            width: 25%;
            height: auto;
        }
    }
}
main {
    .block {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    section[class=grey] {
        background-color: rgb(85,85,85); 
    }
    h1,h2 {
        color: white;
        margin: 0;
        padding-top: 30px;
    }
    h1 {
        font-weight: 500;
        font-size: 32px;
        padding-bottom: 15px;
    }
    h2 {
        padding: 25px 0px;
        margin: 0px;
        font-weight: 400;
        font-size: 32px;
    }
    h2:after {
        content: '';
        display: block;
        height: 4px;
        width: 25%;
        position: relative;
        left: -2em;
        background-color: red;
    }
    p {
        margin: 0;
        padding-bottom: 15px;
        margin-block-start: 0;
        line-height: 1.5;
        text-align: justify;
        text-justify: inter-word;   
        a, a:visited {
            color: white;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
    }
    .post {
        padding-bottom: 10px;
        a, a:visited {
            color: white;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
            color: #bbb;
        }
        p {
            padding-top: 5px;
        }
    }
}
footer {
    section[class=extended] {
        padding: 50px;
        background-color: black;
        display: flow-root;
        .submitblog {
            float: left;
            width: 40%;
            line-height: 24px;
            a {
                display: block;
                background-color: rgb(97, 206, 112);
                color: white;
                font-weight: 500;
                text-align: center;
                padding: 8px;
                border-radius: 15px;
                text-decoration: none;
            }
            a:hover {
                background-color: rgb(87, 196, 102);
                text-decoration: underline;
            }
            p {

                text-align: justify;
                text-justify: inter-word;   
            }
        }
        .shortcuts {
            float: right;
            ul {
                list-style: none;
                padding: 0;
            }
            a, a:visited {
                display: block;
                color: rgb(170, 170, 170);
                text-decoration: none;
                margin-bottom: 8px;
            }
            a:hover {
                color: rgb(150, 150, 150);
                text-decoration: underline;
            }
        }
    }

    section[class=copyright] {
        background-color: #333333; 
        width: 100%;
        line-height: 50px;
        color: rgba(255,255,255,0.37);
        .copyright {
            float: left;
        }
        .sponsor {
            float: right;
        }
    }
}


@media only screen and (max-width: 1150px) {
    body {
    
    }
    .block {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    header {
        .gallery {
            display: none;
        }
        nav[class=classic] {
            display: none;
        }

        nav.burger {
            display: block;
            position: absolute;
            right: 25px;
            top: 40px;
        }


        #menuToggle {
            display: block;
            position: relative;
            top: 0px;
            left: 0px;

            z-index: 1;

            -webkit-user-select: none;
            user-select: none;
        }

        #menuToggle input {
            display: block;
            width: 40px;
            height: 32px;
            position: absolute;
            top: -7px;
            left: -5px;
    
            cursor: pointer;

            opacity: 0;
            z-index: 2;

            -webkit-touch-callout: none;
        }


        #menuToggle span {
            display: block;
            width: 33px;
            height: 4px;
            margin-bottom: 5px;
            position: relative;

            background: #cdcdcd;
            border-radius: 3px;

            z-index: 1;

            transform-origin: 4px 0px;

        }

        #menuToggle input:checked~ul {
            display: block;
        }

        #menuToggle span:first-child {
            transform-origin: 0% 0%;
        }

        #menuToggle span:nth-last-child(2) {
            transform-origin: 0% 100%;
        }

        #menuToggle input:checked~span {
            opacity: 1;
            transform: rotate(45deg) translate(-2px, -1px);
            background: #bbb;
        }

        #menuToggle input:checked:hover~span {
            background: white;
        }

        #menuToggle input:checked~span:nth-last-child(3) {
            opacity: 0;
            transform: rotate(0deg) scale(0.2, 0.2);
        }

        #menuToggle input:checked~span:nth-last-child(2) {
            transform: rotate(-45deg) translate(0, -1px);
        }

        #menu {
            position: fixed;
            top: 0;
            right: 0;
            display: none;
            width: auto;
            padding-top: 75px;
            padding-bottom: 50px;
            width: 100%;
            list-style-type: none;
            -webkit-font-smoothing: antialiased;
            background-color: black;
        }

        #menu li {
            padding: 10px 0;
            font-size: 1.8rem;
            width: calc(100% - 50px);
            color: #bbb;
            padding-left: 25px;
            padding-right: 25px;
        }
        #menu a:hover li {
            color: white;
            background-color: #666;
        }
    }
    .footer {
            .submitblog {
                width: 30%;
                float: left;
            }
    }

    footer {
        section[class=extended] {
            padding: 0;
        .submitblog, .shortcuts {
            float : none !important;
            width: 100% !important;
        }
        .shortcuts {
            margin-top: 125px;
            text-align: center;
            li {
                display: block;
                padding: 0px 25px;
            }
        }
        }
        section[class=copyright] {
            .copyright {
                text-align: center;
                width: 100% !important;
            }
            .sponsor {
                display: none;
            }

         } 
    }
}
@media only screen and (min-width: 1150px) {
    nav[class=burger] {
        display: none;
    }
} 


.submenu::after
{
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background-size: 10px 10px;
    background-image: url('/assets/icons/?icon=carret-down&fill=white&stroke=white');
}
.submenu:hover::after
{
    background-image: url('/assets/icons/?icon=carret-down&fill=black&stroke=black');
}
