nav{
    background-color: transparent;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 1fr;
    height: auto;
    align-items: center;
    position: fixed;
    width: 100%;
    transition: all 0.5s;
    z-index: 3;
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1/2;
    justify-self: start;
    padding: 1px;
    margin: 5px;
}

.logo img{
    border-radius: 1px;
    height: 60px;
    width: 110px;
}

.nav-buttons{
    justify-self: center;
    border: 1px solid #fff;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    height: 50%;
    align-items: center;
    justify-content: end;
    text-align: center;
    width: 80%;
    padding: 2%;
    cursor: pointer;
    transition: all .3s ease;
}

.nav-buttons p{
    font-family: 'Century Gothic';
    font-size: 15px;
    color: #fff;
    flex: calc(70%);
}

.nav-buttons i{
    font-size: 20px;
    color: #fff;
    flex: calc(30%);
}

.nav-buttons:hover{
    color: #034a98;
    background-color: #fff;
}

.nav-buttons:hover p, 
.nav-buttons:hover i {
    color: #01002A;
}

.nav-buttons:nth-of-type(2){
    grid-column: 3/4;
}
/*
.nav-buttons:nth-of-type(3){
    width: 50%;
    justify-self: center;
}

.nav-buttons:nth-of-type(4){
    width: 70%;
    justify-self: center;
}
.nav-buttons:nth-of-type(5){
    width: 90%;
}

.nav-buttons:last-of-type{
    width: 70%;
}
*/
/* function to change nav bar color */

.tinted{
    background-color: #01002A;
}


/* responsive tablets */

@media (768px <= width <= 991px){
    nav{
        gap: 20px;
    }
    .nav-buttons{
        width: 100%;
        padding: 2% 4%;
    }

    .nav-buttons i{
        font-size: 18px;
    }

    .nav-buttons p{
        font-size: 12px;
    }
}