@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Titillium Web", Courier, monospace;
}

body {
    
    font-size: 1.2rem;
    min-height: 100vh;
    padding: 0px;
    background-color: #379bfffe;


}

html {
    scroll-behavior: smooth;

}

.grid-container>* {
    box-shadow: 0px 0px 1px 1px rgb(157, 255, 0);
    border-radius: 3px;
    padding: 0px;
    text-align: center;
    font-weight: 500;

}

.grid-container {
    display: grid;
    gap: 6px;
    grid-template:
        "header header header"  47px
        "navbar main sidebar" auto
        "footer footer footer" 200px/
        250px auto 250px;
    background-image: url("/img/sln.png");
    background-repeat: no-repeat;
    background-position: center;


    .header {
        grid-area: header;
        width: 100%;
        background-color: rgba(33, 129, 255, 0.576);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    .navbar {
        grid-area: navbar;
        background-color: rgba(0, 0, 0, 0.61);
        color: white;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);

    }

    .sidebar {
        grid-area: sidebar;
        background-color: rgba(0, 0, 0, 0.61);
        color: white;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    .main {
        grid-area: main;
        background-color: rgba(0, 0, 0, 0.61);
        color: white;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);

        .video {
            margin-top: 10px;
            width: 50%;
            
        }
    }

    .footer {
        grid-area: footer;
        background-color: rgba(0, 0, 0, 0.61);
        color: white;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);

        .corp {
            font-size: 1rem;
            margin-left: auto;
            margin-right: auto;
            background: #379bff7b;
            width: 320px;
            display: block;
            margin-top: 172px;
        }
    }

    @media (max-width: 1200px) {
        grid-template:
            "header header" 48px
            "sidebar main" auto
            "navbar navbar" 300px
            "footer footer" 200px/
            200px auto;

        .main {

            .video {
                margin-top: 10px;
                width: 60%;
                
            }
        }

        .navbar {
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
            z-index: -1;
        }

    }


    @media screen and (max-width: 855px) {
        grid-template:
            "header" 64px
            "navbar" 80px
            "main" auto
            "sidebar" 300px
            "footer" 140px;

            .main {

                .video {
                    margin-top: 10px;
                    width: 90%;
                    
                }
            }





        .header {

            .header_superior_rs {
                padding: 5px;
            }

            nav>ul {
                flex-direction: column;
                background-color: #0552aad0;
                /* -webkit-backdrop-filter: blur(0px);
                backdrop-filter: blur(40px); */
                position: absolute;
                left: 0;
                top: 66px;
                width: 100%;
                height: 0px;
                transition: all 300ms ease;
                z-index: 1;
                opacity: 0;
                visibility: hidden;
            }

            nav>ul>li>a {
                transform: scale(1);
                -webkit-backdrop-filter: blur(5px);
                backdrop-filter: blur(5px);
            }

            nav ul li ul {
                left: 120px;
                width: 220px;
                /* -webkit-backdrop-filter: blur(0px);
                backdrop-filter: blur(40px); */

            }

            nav>ul>li:hover ul {
                top: 50px;
            }

            .icon__menu {
                display: flex;
            }

            #check__menu:checked~nav>ul {
                height: 300px;
                visibility: visible;
                opacity: 1;
                /* -webkit-backdrop-filter: blur(0px);
                backdrop-filter: blur(40px); */
            }

            nav>ul>li>a {
                font-size: 20px;
            }

            nav ul li ul li a {
                font-size: 21px;
                /* -webkit-backdrop-filter: blur(0px);
                backdrop-filter: blur(40px); */
            }

            nav ul li ul li a:hover {
                font-size: 21px;
                transform: scale(1.3);
            }

            img {
                width: 45px;
                border: 2px solid #5eff00;
                border-radius: 100px;
            }

            .social_icons a {
                font-size: 20px;
                width: 45px;
                height: 45px;
                margin: 5px;

            }

            .social_icons a::before {
                width: 45px;
                height: 45px;

            }

        }

        /* .sidebar {
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
            z-index: -1;
        } */


    }


}



.header {
    grid-area: header;
    /* max-width: 1200px; */
    position: fixed;
    display: flex;
    align-items: center;
    /* width: 100%; */
    /* justify-content: space-between; */
    /* margin: auto; */
    /* height: 100%; */
    /* background-color: rgb(137, 43, 226); */
    z-index: 1;

    .header_superior_rs {
        /* max-width: 1200px; */
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    img {
        width: 40px;
        float: left;
        border: 2px solid #5eff00;
        border-radius: 100px;
        margin-right: 10px;
        cursor: pointer;

    }

    /* img {
        transition: 0.3s ease-in;
    } */

    img:hover {
        transform: scale(1.3);
        padding-top: 2px;
        margin-right: 10px;
        transition: 0.2s ease-in;
    }

    img {
        transform: scale(1);
    }

    p {
        font-size: 25px;
        margin-right: 5px;
        color: #fff;

    }

    .social_icons a {
        display: inline-flex;
        text-decoration: none;
        font-size: 20px;
        width: 40px;
        height: 40px;
        color: #ffffff;
        justify-content: center;
        align-items: center;
        position: relative;

        margin-right: 10px;

    }

    .social_icons a::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        background: linear-gradient(45deg, #0877be, #0877be);
        border-radius: 50%;
        z-index: -1;
        transition: 0.4s ease-in;
        margin: 1px;
        border: 1px solid #5eff00;
        border-radius: 100px;
    }

    .social_icons a:hover::before {
        transform: scale(0);
    }

    .social_icons a i {
        transition: 0.1s ease-in;
    }

    .social_icons a:hover i {
        -webkit-text-fill-color: #66ff00;
        transform: scale(1.8);


    }

    /* End header superior RS */


    /* Start Menu superior*/
    /* .menu {
        max-width: 1200px;
        margin: auto;
        height: 100%;
    } */

    nav {
        height: 100%;
    }

    nav>ul {
        height: 100%;
        display: flex;
    }

    /* nav > ul > li:first-child > a {
background-image: url(../img/SLN.png);
background-size: 50px;
background-repeat: no-repeat;
background-position: center;
padding: 20px 40px;
} */

    /* nav > ul > li:first-child:hover > a {
background-image: url(../img/SLN.png);
background-size: 50px;
background-repeat: no-repeat;
background-position: center;
} */

    nav ul li {
        height: 100%;
        list-style: none;
        position: relative;
    }

    nav>ul>li>a {
        width: 100;
        height: 100;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 13px;
        color: rgb(255, 255, 255);
        text-transform: uppercase;
        font-size: 15px;
        transition: all 300ms ease;
        border-radius: 60px;
        text-decoration: none;
    }

    nav>ul>li>a:hover {
        transform: scale(1.1);
        background: #0878be7d;
        backdrop-filter: blur(5px);
        box-shadow: 0px 0px 3px 3px rgba(43, 255, 54, 0.631);
        padding: 6px 15px;

    }

    /* #selected {
transform: scale(1.1);
background-color: blue;
box-shadow: 0px 0px 2px 2px rgb(43, 255, 53);
} */

    /* Submenu */

    nav ul li ul {
        width: 200px;
        display: flex;
        flex-direction: column;
        background: #1b77b087;
        position: absolute;
        top: 90px;
        left: -5px;
        box-shadow: -5px;
        padding: 14px 0px;
        visibility: hidden;
        opacity: 0;
        box-shadow: 0px 0px 10px 0px rgba(43, 255, 54, 0.631);
        z-index: 1;
        transition: all 450ms ease;
        border-radius: 15px;

    }

    nav ul li:hover ul {
        visibility: visible;
        opacity: 1;
        top: 60px;
    }

    nav ul li ul::before {
        content: '';
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 12px solid rgba(43, 255, 54, 0.767);
        position: absolute;
        top: -12px;
        left: 20px;

    }

    nav ul li ul li a {
        display: block;
        color: rgb(255, 255, 255);
        padding: 6px;
        padding-left: 14px;
        margin-top: 10px;
        font-size: 16px;
        text-transform: uppercase;
        text-decoration: none;
    }

    nav ul li ul li a:hover {
        background: #0878beb7;
        color: rgb(255, 255, 255);
        transform: scale(1);
        padding-left: 30px;
        font-size: 17px;
        border-radius: 15px;
        box-shadow: 0px 0px 1.5px 1.5px rgba(43, 255, 54, 0.631);

    }

    /* Elementos responsivos */

    .icon__menu {
        font-size: 45px;
        color: rgb(255, 255, 255);
        cursor: pointer;
        width: 100%;
        height: 100%;
        display: none;
        align-items: center;
        margin-left: 20px;
    }

    #label__check {
        width: 26px;
        height: 100%;
        display: none;
    }

    #check__menu {
        display: none;
    }
}

.main {

    #texto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        h1 {
            font-size: 2.5em;
            color: rgb(255, 255, 255);
            line-height: 2.5em;
        }

        h3 {
            font-size: 1.6em;
            color: rgb(255, 255, 255);
            line-height: 2.5em;

        }

        p {
            font-size: 1.2em;
            color: rgb(255, 255, 255);
            text-align: justify;
            width: 90%;
        }



    }
}

/* Preloader in*/

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00253b;
    transition: opacity 3s, visibility 2s;
    z-index: 1;

}

.loader--hidden {
    opacity: 0;
    visibility: hidden;
    background-image: url(/img/sln.png);
    background-repeat: no-repeat;
    background-position: center;

}

.loader::after {
    content: "";
    width: 30px;
    height: 30px;
    border: 10px solid #002c47;
    border-top-color: #4fc400;
    border-radius: 50%;
    animation: loading 0.8s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* Preloader fin*/