.phone-navbar {
    background-color: #01002A;
    height: auto;
    width: 100%;
    position: fixed;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    z-index: 3;
}

.phone-logo {
    grid-column: 1/2;
    padding: 1px;
    margin: 1px;
    display: grid;
    justify-content: center;
    justify-self: start;
}

.phone-logo img {
    width: 80px;
}

.lateralNav-opener {
    display: grid;
    width: 3.5rem;
    height: 3rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
    grid-column: 2/3;
    justify-self: end;
    align-items: center;
}

button>div {
    background-color: #fff;
    height: 5px;
    width: 100%;
    border-radius: 3px;
    transition: all 0.5s;
    transform-origin: left;
    pointer-events: none;
}

.line {
    transition: all 0.3s ease;
}

.line-open {
    transform: rotate(45deg);
}

.line-hidden {
    opacity: 0;
}

#line-3.line-open {
    transform: rotate(-45deg);
}

/* lateral menu */
.lateralNav {
    display: grid;
    position: fixed;
    top: 0;
    background-color: #01002A;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 1fr);
    height: 100%;
    width: 50%;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navPhone-buttons {
    justify-self: center;
    border: none;
    border-bottom: 1px solid #fff;
    border-radius: 0px;
    width: 70%;
    display: flex;
    flex-direction: row;
    height: 50%;
    align-items: center;
    color: #fff;
    text-align: center;
}

.navPhone-buttons p{
    font-family: 'Century Gothic';
    font-size: 15px;
    color: #fff;
    flex: calc(70%);
}

.navPhone-buttons i{
    font-size: 20px;
    color: #fff;
    flex: calc(30%);
}

.navPhone-buttons:nth-of-type(2){
    grid-row: 2/3;
}
/*
.navPhone-buttons:nth-of-type(2){
    grid-row: 4/5;
}

.navPhone-buttons:nth-of-type(3){
    grid-row: 5/6;
}

.navPhone-buttons:nth-of-type(4){
    grid-row: 6/7;
}

.navPhone-buttons:last-of-type{
    grid-row: 7/8;
}
*/

@media(orientation: landscape){
    .lateralNav{
        width: 30%;
        gap: 2%;

    }
    .navPhone-buttons{
        width: 70%;
        padding: 2%;
    }

    .navPhone-buttons:last-of-type{
        grid-row: 7/8;
    }

    .navPhone-buttons p{
        font-size: 13px;
    }
}