header{
    background-color:white;
    height:110px;
    width: 100%;
    display: block;
}
header >div:first-of-type{
    background-color: white;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 40px;
    padding: 30px;
    width: 100%;
}
header >div:first-of-type >a{
    display:inline-block;
    width: 150px;
    height: 50px;
    font-size: 0;
    background-image: url("../imagenes/logodgpc.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
header >div:first-of-type >div{
    display: flex;
    align-self: center;
    width: 40px;
    height: 40px;
}
header >div:first-of-type >div >span{
    display: block;
    width: 40px;
    height: 40px;
    background-color: #00FFD1;
    border: 1px solid #00FFD1;
    border-radius: 300px;
}
header >nav{
    background-color: transparent;
    display: inline-block;
    width:100vw;
    height: calc(100vh - 110px);
    position: relative;
    top: 0;
    right: 0;
    transform: translateX(100vw);
    transition: all 0.5s;
}
header >nav >ul{
    width: 40%;
    height: fit-content;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    padding: 20px;
    list-style: none;
    text-align: center;
    float: right;
}
header >nav >ul >li >a{
    display: block;
    background-color: transparent;
    text-decoration: none;
    color: black;
    font-size: 18px;
}
@media screen and (min-width: 900px) {
    header{
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: 1fr;
    }
    header >div:first-of-type >div{
        display: none;
    }
    header >nav:first-of-type{
        display: flex;
        align-self: center;
        justify-self: flex-end;
        position: initial;
        top: initial;
        height: 20px;
        width: 70%;
    }
    header >nav:first-of-type >ul{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        padding: 0;
        width: 100%;
    }
}