
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'McLaren', Verdana, sans-serif;
    text-decoration: none;
}
:root {
    --orange-color: #FBA61A;
    --dark-orange-color: #ffffff;    
    --white-color: #ffffff;
    --green-color: #7EC248;
    --light-green-color: #b0ee7d;
    --title-tt: #423f3f;
    --para-graph: #828282;
    --nav:#7EC248;
    --light-blue: #bed5fb;
}
body{
    background-color: var(--dash-color);
    /* overflow-x: hidden; */
}



/* back button */

.back-button {
    position: absolute;
    top: 15px;
    left: 30px;
    color: #000000;
    text-decoration: none;
    font-size: 25px;
    display: flex;
    align-items: center;
}
.back-button box-icon {
  margin-right: 15px;
  color: #000000;
}
/* Drives Section */

.drives{
    background-color: var(--dash-color);
    transition: .5s ease;
    display: flex;
    flex-direction: column;
}
.drivesbelow, .drivestxt{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
}
.drivestxt .opport {
    font-size: 30px;
}

/* Suggest Drives Button */

.suggestion .suggest {
    background: var(--green-color);
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 6px;
    font-weight: 800;
    color: var(--orange-color);
    cursor: pointer;
    transition: .3s ease;
}
.suggestion .suggest:hover {
    background: var(--light-green-color);
    border: #FBA61A 2px solid;
    padding: 10px 20px;
    font-size: 20.5px;
    border-radius: 4px;
    color: var(--green-color);
}

/* inside button */ 

input[type="checkbox"]{
    display: none;
}
#show:checked ~ .pplsugg {
    display: block;
}
.pplsugg {
    display: none;
    background: var(--orange-color);
    border: 1px solid #7EC248;
    border-radius: 20px;
    position: absolute;
    top: 30px;
    left: 400px;
    width: 500px;
    padding: 40px;
    z-index: 2;
    /* transform: translate(-1%, -1%); */
}
.pplsugg h1 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}
.pplsugg form .data{
    width: 100%;
}
.pplsugg form .data label{
    font-size: 15px;
    font-weight: 600;
}
form .data input{
    height: 100%;
    width: 100%;
    font-size: 10px;
    border: 1px solid white;
    border-radius: 10px;
    padding: 6px;
    /* margin-top: 10px; */
    /* padding-left: 5px; */
}
form .data input:focus{
    border: none;
    outline: none;
}
form .butn{
    padding-top: 10px;
    /* height: 55px; */
    width: 100%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}
form .butn .inner{
    height: 100%;
    width: 300%;
    position: absolute;
    left: 100%;
    z-index: -1;
  background: -webkit-linear-gradient(right, #47930a, #FBA61A, #FBA61A, #47930a);
    transition: all 0.6s ease;
    border-radius: 30px;
}
form .butn:hover .inner{
    left: 0;
}
form .butn input{
    height: 100%;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}
.pplsugg .close-btn{
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 40px;
    cursor: pointer;
    transition: .5s ease;
}
.close-btn:hover{
    color: var(--green-color);
    font-size: 45px;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .pplsugg {
      display: none;
      top: 15%;
      left: 5%;
      width: 90%;
      padding: 2%;
    }
    form .data input{
      height: 100%;
      width: 100%;
      font-size: 10px;
      border: 1px solid white;
      border-radius: 10px;
      padding: 6px;
    }
  }

/* Drives Form */

.details {
    position: relative;
    padding: 20px;
    display: grid;
    width: 100%;
}
.details .recentDrives {
    position: relative;
    display: grid;
    background: var(--white-color);
    padding: 20px;
    box-shadow: 0 7px 25px rgba(0, 0, 0,0.2);
    border-radius: 10px;
    width: 100%;
}
@media screen and (max-width: 800px) {
    .drivesbelow, .drivestxt{
      flex-direction: column;
    }
    .details{
        flex-direction: column;
    grid-template-columns: 2fr 1fr;
    }
}
.details table {
    border-collapse: collapse;
    margin-top: 20px;
    /* width: 100%; */
}
.details table thead td {
    font-weight: 800;
}
.details .recentDrives table tr td{
    padding: 12px;
    transition: 0s;
}
.details .recentDrives table tr{
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    transition: .3s ease;
    /* font-size: 50px; */
    /* text-align: start; */
}
.details .recentDrives table tbody tr:hover{
    background: #47930a;
    color: var(--dark-orange-color);
}
.details .recentDrives table tr:last-child{
    border-bottom: none;
}
.details .recentDrives table tbody tr{
    color: var(--title-tt);
    cursor: default;
}
/* .details .recentDrives table tr td:nth-child(2) {
    text-align: end;
    min-width: 2px;
}
.details .recentDrives table tr td:nth-child(3) {
    width: 160px;
}
.details .recentDrives table tr td:nth-child(4) {
    width: 130px;
} */

/* @media only screen and (max-width: 1180px) {
    .pplsugg {
        left: 200px;

    }
}
@media only screen and (max-width: 1080px) {
    .pplsugg {
        left: 150px;

    }
}
@media only screen and (max-width: 900px) {
    .pplsugg {
        left: 70px;

    }
} */
