@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template: "header header"
                   "main main"
                   "footer footer";
    grid-template-rows: 70px 1fr 40px;
    grid-template-columns: 250px 1fr;

    /*background: url(./bgblanco4.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;*/
}

header{
    grid-area: header;
    background-color: #001A4B;

    /*background: url(./orange_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;*/

    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.burgir{
    display: none
}

.fa-bars{
    font-size: 26px;
    font-weight: 200;
}

.menu{
    color: white;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfil{
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.521);
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.212);
}

.logo{
    width: 50px;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.445));
}

section{
    grid-area: main;

    display: grid;
    grid-template: "aside iframe";
    grid-template-columns: auto 1fr
}

aside{
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0px;
    padding-right: 10px;
    position: relative;
    /* border-right: 1px solid #2762C2; */
}

.opt-btn{
    z-index: 2;
    border: none;
    outline: none;
    background-color: transparent;
    margin: 3px 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: auto;

    width: 250px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    padding: 7px 0px;

    margin: 5px 0;

    text-align: left;

    transition: .3s ease all;
}

.opt-btn::-webkit-scrollbar{
    height: 1px;
}

.opt-btn::-webkit-scrollbar-thumb{
    background-color: #88888800;
}

.opt-btn::-webkit-scrollbar-track{
    background-color: #f1f1f100;
}

.opt-btn::-webkit-scrollbar-button{
    display: none;
}

.open{
    width: 250px;
}

.icon-btn{
    font-size: 20px;
    padding: 0px 10px;
}

.btn-txt{
    font-size: 20px;
    font-weight: 400;
}

.marker{
    position: absolute;
    z-index: 1;
    width: 250px;
    height: 40px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #001a4bdc;

    transition: .3s ease all;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.534);
}

footer{
    grid-area: footer;
    background-color: #001A4B;

    /* background: url(./orange_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
}

iframe{
    width: 100%;
    height: 100%;
    border: none;
}

.modal {
    position: fixed;
    overflow: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #11111171;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s .1s;
    --transform: translateY(-100vh);
    --transition: transform .5s;
    font-family: 'Poppins', sans-serif;
}

.modal-content {
    position: relative;
    height: 100%;
    width: 0px;

    overflow: auto;
    scrollbar-width: none;
    max-width: 300px;

    background-color: white;
    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: rgba(0, 0, 0, 0.564) 0px 0px 3px;
}

.modal--show {
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translateY(0);
    --transition: transform .2s .1s;
}

.emulated-side{
    display: none;
}

@media screen and (max-width: 700px){
    body{
        grid-template: "header"
                       "main"
                       "footer";
        grid-template-columns: 100%;
        grid-template-rows: 70px 1fr 40px;
    }

    section{
        grid-area: main;
        display: grid;
        grid-template: "main";
    }

    iframe{
        width: 100%;
        height: 100%;
        border: none;
    }

    aside{
        display: none;
    }

    .burgir{
        display: block;
    }

    .emulated-side{
        display: none;
    }

    .emulated-show{
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0px;
        padding-right: 10px;
        position: relative;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;

        background-color: white;
        padding-right: 7px; 

        animation: emulate .5s ease;

        box-shadow: rgba(0, 0, 0, 0.864) 0px 0px 15px;

    }

    .emulated-out{

        left: -100%;
        animation: emulate-out .5s ease;
    }

    @keyframes emulate-out{

        0%{
            left: 0;
        }

        100%{
            left: -100%;
        }

    }

    @keyframes emulate{
        0%{
            left: -100%;
        }

        100%{
            left: 0%
        }
    }

    .marcador{  
        position: absolute;
        z-index: 3;
        width: 250px;
        height: 40px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
        background-color: #001a4bdc;

        transition: .3s ease all;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.534);
    }
} 