@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Karla', sans-serif;
    font-size: 15px;
}
header{
    display: flex;
    flex-direction: column;
    height: 100px;
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0px 0px 10px #a7a7a7;
}
header .top{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #ededed;
    height: 35%;
    border-bottom: 1px solid #ccc;
    padding: 0 100px;
}
header .top ul{
    display: flex;
}
header .top ul li{
    list-style: none;
    margin-left: 10px;
    border-left: 1px solid #ccc;
    padding: 6px 0px 6px 10px;
}
header .top ul li a{
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}
header .top ul li a::before{
    position: absolute;
    content: '';
    top: 130%;
    left: 0%;
    height: 4%;
    width: 3px;
    background-color: #fcac00;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .5s, width .2s;
    padding: 1px 0px 1px 3px;
    display: flex;
    justify-items: flex-start;
}

header .top ul li a:hover::before{
    transform: scaleX(1);
    width: 100%;
    color: #ffffff;
}
header .bottom{
    flex: 1;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
}
header .bottom img{
    height: 50px;
    width: 200px;
}
header .bottom ul{
    display: flex;
}
header .bottom ul li{
    list-style: none;
    margin: 10px 0px 10px 30px ;
}
header .bottom li a{
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    transition: all .2s ease-out;
}
header .bottom li a:hover{
    color: #fcac00;
}
header .bottom li a.btn{
    padding: 10px;
    border-radius: 4px;
    background-color: #5c1229;
    color: #fff;
    text-transform: uppercase;
    transition: all .2s ease-out;
}
header .bottom li a.btn:hover{
    background-color: #961e44;
}
/* ################################################################################################# */
/* ################################################################################################# */
main{
    min-height: 100vh;
    margin-top: 100px;
}
main .header{
    height: 75vh;
    background-image: url(../img/Explore.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
main .header .top{
    flex: 85% 0;
}
main .header .top .text{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85%;
    margin: 20px;
    margin-left: 7.5%;
}
main .header .top .text h2{
    color: #fff;
    font-weight: 900;
    text-shadow: #333 1px 1px 1px;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    line-height: normal;
    text-align: center;

}
main .header .top .text h3{
    color: #fff;
    font-weight: 100;
    font-size: 30px;
    font-family: 'Lora', serif;
    margin-top: -20px;
}
main .header .top form{
    height: 112px;
    padding: 10px 100px;
    display: flex;
}
main .header .top form .container{
    display: flex;
    flex-direction: column;
    flex: 0 85%;
    margin-right: 10px;
}
main .header .top form .container .group{
    display: flex;
    width: 100%;
    margin: 5px;
    position: relative;
}
main .header .top form .container .group_1 .hide{
    position: absolute;
    top: -5px;
    right: 5px;
    width: 20.8%;
    color: #ededed;
    height: 100%;
    
}
main .header .top form .container .group input::placeholder{
    font-family: 'Karla', sans-serif;
}
main .header .top form .container .group input, main .header .top form .container .group select{
    padding: 15px 10px;
    outline: none;
    border: none;
}
main .header .top form .container .group_1 input, main .header .top form .container .group_1 select{
    width: 20%;
    margin: 0 0.5%;
}
main .header .top form .container .group_1 .input{
    width: 29%;
    border: none;
}
.date{
    font-weight: 600;
}
.input:not(:first-child){
    margin-left: 10px;
}
main .header .top form .container .group_2 input{
    width: 49.5%;
    margin: 0 0.5%;
    border: none;
}
main .header .top form .container .group_2 .passageiro{
    width: 49.5%;
    margin: 0 0.5%;
}
main select{
    font-weight: 700;
    font-family: 'Karla', sans-serif;
}
main .header .top form .container .group_2 .input-group{
    width: 49.5%;
    margin: 0 0.5%;
}
main .header .top form .container .group_2 .input-group input{
    width: 95%;
    border: none;
    text-align: center;
}
.input-group span{
    position: absolute;
    top: 12px;
    left: 20px;
    font-weight: 600;
    font-size: 14px;
}

main .header .top form button{
    flex: 1;
    height: 93%;
    margin-top: 5px;
    outline: none;
    background-color: #fcac00;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in;
}


main .header .top form button:hover{
    background-color: #fcd600;
}
main .header .top form button span{
    font-size: 16px;
    color: #ededed;
    font-weight: 500;
}

main .header .top form button i{
    color: #ededed;
    font-size: 25px;
}
main .header .bottom{
    flex: 1;
    background-image: url(../img/bottom_bg.jpg);
    -webkit-clip-path: polygon(2% 16%, 15% 15%, 16% 2%, 84% 2%, 85% 15%, 98% 16%, 100% 100%, 100% 100%, 85% 100%, 15% 100%, 0 100%, 0 100%);
    clip-path: polygon(2% 16%, 15% 15%, 16% 2%, 84% 2%, 85% 15%, 98% 16%, 100% 100%, 100% 100%, 85% 100%, 15% 100%, 0 100%, 0 100%);
    opacity: 0.5;
}
main .sub{
    margin: 70px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
main .sub span{
    width: 20%;
    border-top: 1px solid #fcac00;
    height: 1px;
    margin: 0 20px;
}
main .sub h1{
    font-size: 35px;
    font-family: 'Inria Serif', serif;
    font-weight: 100;
    text-transform: uppercase;
    color: #333;
}
main .sub i{
    font-size: 35px;
    color: #fcac00;
    margin-right: 20px;
}
.section-1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 130px;
}
.section-1 .col{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
}
.section-1 .col .item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-1 .col .item:not(:first-child){
    margin-top: 50px;
}
.section-1 .col i{
    font-size: 45px;
    border-radius: 100px;
    border: 1px solid #fcac00;
    color: #fcac00;
    padding: 5px;
}
.section-1 .col h2{
    font-size: 25px;
}
.section-1 .col p{
    font-size: 15px;
    text-align: center;
    margin: 0;
}
.section-1 img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
}
/* SECTION 2################################################################################# */
.section-2 .sub{
    margin-bottom: 10px;
}
.section-2 .sub span{
    width: 45%;
    margin-top: 20px;
}
.section-2 .container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-height: 100vh;
    margin: 0 100px;
}
.section-2 .container .panel{
    box-shadow: rgb(0 0 0 / 10%) 0px 1px 1px;
    background-color: rgb(255, 255, 255);
    padding: 25px 15px 15px;
    position: relative;
    transition: transform 0.2s linear 0s, box-shadow 0.2s linear 0s;
    top: 0px;
    height: 350px;
    width: 300px;
    margin: 20px 25px;
}
.section-2 .container .panel img{
    height: 40%;
    width: 100%;
    object-fit: cover;
}
.section-2 .container .panel .content{
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.section-2 .container .panel .content i{
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    top: -15px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #fcac00;
}
.section-2 .container .panel .content i.md{
    color: #6b1732;
}
.section-2 .container .panel .content h3{
    margin-top: 23%;
    font-size: 18px;
    font-weight: 300;
}
.section-2 .container .panel .content p{
    text-align: center;
    line-height: 1.5;
    color: #a7a7a7;
    margin-top: -10px;
}
.section-2 .container .panel .content span{
    width: 100%;
    border-top: 3px solid #fcac00;
}
.section-2 .container .panel .content span.md{
    border-color: #6b1732;
}
/* #SECTION 3###########################################################################################*/
.section-3{
    margin: 40px 0;
    min-height: 60vh;
    background: linear-gradient(to right, rgba(61, 61, 59, 0.5), rgba(243, 207, 2, 0.5)), url(../img/bus.jpg);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 150%;
    transition: all 10s ease-out;
    padding: 60px 150px;
}
.section-3:hover{
    background-size: 100%;
}
.section-3 h1{
    font-size: 35px;
    text-transform: uppercase;
    color: #ededed;
    font-family: 'Inria Serif', serif;
    font-weight: 100;
}
.section-3 p{
    width: 40%;
    color: #ededed;
    padding: 20px 0 50px 0;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 1px;
}
.section-3 a{
    
    border: 4px ridge #ededed;
    border-radius: 4px;
    outline: none;
    padding: 20px;
    text-transform: uppercase;
    color: #ededed;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 15%;
    justify-content: center;
}
.section-3 a i{
    font-size: 17px;
    padding-left: 10px;
    display: none;
    
}
.section-3 a:hover i{
    display: inline-flex;
}
/* ################################################################################################## */
/* ################################################################################################## */
.screen{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(19, 18, 18, 0.6), rgba(24, 24, 24, 0.6));
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    transition: all .5s ease-out;
}
.screen .container{
    width: 60%;
    height: 70vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.container .close{
    position: absolute;
    top: -4%;
    right: 2.5%;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 100px;
    background-color: #6b1732;
    padding: 10px 15px;
    color: #ededed;
    cursor: pointer;
    transition: all .5s ease-out;
    z-index: 999;
}
.container .close:hover{
    background-color: #aa244e;
}
.screen .container .login, .screen .container .signup{
    width: 50%;
    height: 100%;
    background-color: #fff;
    box-shadow: 0px 0px 10px #333;
    border-radius: 20px;
    transition: all 0.5s ease-out;
    overflow: hidden;
}
.screen .container .signup{
    margin: 20px 40px;
    height: 93%;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(../img/Explore.jpg);
    background-position: center;
    display: flex;
    flex-direction: column;
}
.screen .container .login{
    position: absolute;
    right: 5%;
    top: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(../img/Explore.jpg);
} 
.screen .container .signup:hover + .login{
    margin: 20px 40px;
    height: 91%;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(../img/Explore.jpg);
    background-position: center;
}
.screen .container .signup:hover ~ .close{
    right: 7%;
    top: 1.5%;
    z-index: 999;  
}
.screen .container .signup:hover{
    position: absolute;
    margin: 0;
    left: 10%;
    height: 100%;
    z-index: 999;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(../img/Explore.jpg);
    background-position: unset;
}

.login .header, .signup .header{
    margin-top: 20px;
    margin-left: 20%;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.login .header img, .signup .header img{
    width: 60px;
    height: 60px;
}
.signup .header img.bus-logo{
    width: 140px;
    height: auto;
}
.login .header h1, .signup .header h1{
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.login form, .signup form{
    display: flex;
    flex-direction: column;
    margin-left: 15%;
    width: 70%;
}
.login form .field, .signup form .field{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 10px 0px;
}
.login form .field label, .signup form .field label{
    font-size: 14px;
    opacity: 0.5;
    position: absolute;
    top: 30%;
    left: 10%;
}
.login form .field input, .signup form .field input{
    padding: 15px;
    outline: none;
    width: 88%;
    border: 1px solid #a7a7a7;
    
}
.login form .field label, .signup form .field label{
    font-size: 14px;
    opacity: 0.5;
    position: absolute;
    top: 30%;
    left: 10%;
    transition: all .5s ease-out;
}
.login form .field i, .signup form .field i{
    font-size: 20px;
    position: absolute;
    top: 30%;
    right: 10%;
    color: #aa244e;
    transition: all .2s ease-out;
}

.login form .field input:valid ~ i, .signup form .field input:valid ~ i{
    color: green;
}
.login form .field input:invalid ~ i, .signup form .field input:invalid ~ i{
    color: #aa244e;
}
.login form .field input:focus ~ i, .signup form .field input:focus ~ i{
    color: blue;
}
.login form .field input:focus ~ label, .signup form .field input:focus ~ label{
    top: -25%;
    left: 5%;
    background-color: #fff;
    opacity: 1;
    padding: 5px 10px;
}
.login form .field input:not(:placeholder-shown) ~ label, .signup form .field input:not(:placeholder-shown) ~ label{
    top: -25%;
    background-color: #fff;
    opacity: 1;
    padding: 5px 10px;
}
.login form button, .signup form button{
    margin: 10px 0px;
    padding: 15px;
    width: 100%;
    background-color: #aa244e;
    color: #ededed;
    border: none;
    cursor: pointer;
}
.login form a, .signup form a{
    display: flex;
    flex-direction: row-reverse;
    margin-top: 20px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #aa244e;
    width: 69%;
    margin-left: 31%;
}