*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    overflow: hidden;
    width: 100%;
    overflow: hidden;
}


.nav-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    height: var(--nav-bar-heigh);
    width: 100%;
    background-color: gray;
}

.nav-bar img{
    height: 80px;
    object-fit: cover;
}
.nav-bar .links a{
    color: white;
    text-decoration: none;
}
#phone-menu{
    right: 15px;
    content: "";
    background-color: black;
    height: 2px;
    width: 25px;
    position: absolute;
    cursor: pointer;
    display: none;
}
#phone-menu::before{
    content: "";
    background-color: black;
    height: 2px;
    width: 25px;
    position: absolute;
    top: -8px;
}
#phone-menu::after{
    content: "";
    background-color: black;
    height: 2px;
    width: 25px;
    position: absolute;
    top: 8px;
}
img.fundo{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    

}
.blue-line{
    background-color: blue;
    height: 10vh;
    width: 100%;
    position: fixed;
    bottom: 0;
}

.bottom-informations{
    display: flex;
    position: absolute;
    bottom: 2em;
    content: "";
    width: 100%;
    height: auto;
    margin: 0 2em;
}
.passager, .driver, .agent {
        display: flex;
        justify-content: center;
        align-items: start;
        flex-direction: column;
        text-decoration: none;
        font-size: 1.2em;
        font-weight: bold;
        padding: 10px;
        cursor: pointer;
        background-color: white;
        padding: 10px;
        height: 160px;
        font-weight: 700;
        font-size: 1.7em;
        padding: 0 5%;
        width: 90%;
        /* margin: 0 auto; */
}
.contacts div .img-container{
    background-color: blue;
    justify-content: center;
    display: flex;
    align-items: center;
    width: 90px;
    margin-bottom: 10px;
    height: 90px;
    object-fit: contain;
    padding: 10px;
    border-radius: 50px;
}


.contacts{
    max-width: 50%;
    display: grid;
    grid-template-columns: repeat(6, minmax(300px, 1fr));
}

#texto{
    grid-column: span 3;
    display: flex;
     align-items: end;
    width: 100%;
    justify-content: center;      
}
#texto textarea{
    background-color: transparent;
    color: white;
    border: none;
    font-size: 2em;
    font-weight: bold;
    min-width: 50%;
    text-align: center;
    resize: none;
    outline: none;
}

#popup{
    display: none;
    background-color: rgba(0, 0, 0, 0.413);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;   
}
#infos{
    width: 25%;
    height: auto;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
}
#infos h1{
    text-align: center;
    border: none;
}

#infos textarea{
    padding-top: 10px;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    resize: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    font-size: 1.7em;
}
#close{
    content: "";
    background-color: rgb(68, 0, 0);
    height: 5px;
    width: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    transform: rotate(45deg);
}
#close::before{
    content: "";
    background-color: rgb(68, 0, 0);
    height: 5px;
    width: 30px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    transform: rotate(-90deg);
}



@media only screen and (max-width: 1468px){
.bottom-informations{
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
}
.contacts{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
}

}
