* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: Verdana, sans-serif;
}

html,
body {
    height: 100%;
}

:root {
    --AkzentFarbe: #ffae00;
    --SecondaryColor: rgb(70, 70, 70);
    --ShadowClassic: 1px 10px 10px rgba(0, 0, 0, 0.7);
    --ShadowLight: 0 20px 30px 20px rgba(0, 0, 0, 0.2);
    --ShadowHover:
        0 0.7px 0.7px rgba(0, 0, 0, 0.169),
        0 1.6px 1.8px rgba(0, 0, 0, 0.249),
        0 3px 3.4px rgba(0, 0, 0, 0.312),
        0 5.4px 6px rgba(0, 0, 0, 0.373),
        0 10px 11.3px rgba(0, 0, 0, 0.447),
        0 24px 27px rgba(0, 0, 0, 0.58);
}

body {
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hero p,
h1 {
    padding: 20px 40px 20px 40px;
}

a {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
}

.sections {
    width: 1280px;
    margin: 0 auto 100px auto;
}

/* .fade {
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
}

Header*/
header {
    background-color: white;
    border-bottom: 2px solid var(--AkzentFarbe);
    margin-bottom: 100px;
}

li {
    list-style: none;
    display: inline-block;
    padding: 30px 40px;
    border-radius: 5%;
}

li:hover {
    background-color: var(--AkzentFarbe);
    color: white;
    cursor: pointer;
}

ul {
    margin: 0px 0px 0px 100px;
    padding: 0;
}

.cta {
    border: 2px solid var(--AkzentFarbe);
    position: absolute;
    top: 500px;
    left: 110px;
    border-radius: 0.4EM;
    cursor: pointer;
    box-shadow: var(--ShadowClassic);
}

.cta:hover {
    box-shadow: var(--ShadowHover);
}

.cta p {
    margin: 0px;
    color: var(--AkzentFarbe);
}


/*Footer*/
footer {
    background-color: rgb(65, 65, 65);
    color: white;
    height: auto;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer i {
    padding: 10px;
    cursor: pointer;
    color: white;
}

footer i:hover {
    color: var(--AkzentFarbe);
}

footer i:active {
    transform: scale(0.98);
}

/* ------------------------------------------ Cars ----------------------------------- */
/*FitlterSearch*/
.filtersearch {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    align-items: center;
}

form {
    width: 356px;
    height: 40px;
}

form input {
    position: relative;
    display: inline-block;
    font-size: 1.2em;
}

form input[type="text"] {
    background-color: white;
    width: 250px;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 20px;
    border-radius: 25px 0 0 25px;
}

form input[type="submit"] {
    border-radius: 0 25px 25px 0;
    height: 100%;
    width: 100px;
    border: none;
    cursor: pointer;
    background-color: var(--AkzentFarbe);
    color: white;
    left: -6px
}

form input[type="submit"]:hover {
    transform: scale(1.01);
}

.filter {
    color: var(--AkzentFarbe);
    font-size: 1.2em;
    cursor: pointer;
    border: var(--AkzentFarbe) solid 3px;
    border-radius: 25px;
    padding: 5px 20px;
}

.filter:hover {
    color: white;
    background-color: var(--AkzentFarbe);
}

/*Car container & card items*/
.garage {
    display: grid;
    grid-template-columns: repeat(4, 320px);
}

.car {
    background-color: white;
    margin: 0px 10px 40px 10px;
    box-shadow: 1px 10px 10px rgba(0, 0, 0, 0.7);
    width: 300px;
    border-radius: 2%;
    display: grid;
    grid-template-columns: repeat(4, 75px);
    grid-template-rows: 50px 200px 20px 30px 100px;
    grid-template-areas:
        "carheader carheader carheader carprice"
        "carimage carimage carimage carimage"
        "caryeartitle carkmtitle carpstitle carenginetitle"
        "caryear carkm carps carengine"
        "cardescription cardescription cardescription cardescription";
    align-items: center;
}

.carheader {
    grid-area: carheader;
    padding: 10px;
    font-size: 1.2em;
}

.carprice {
    grid-area: carprice;
    font-size: 0.8em;
    color: var(--AkzentFarbe);
}

.carimage {
    grid-area: carimage;
    height: 200px;
    width: 300px;
    overflow: hidden;
}

.carimageitself {
    max-width:100%;
    max-height:100%;
}

.caryeartitle {
    grid-area: caryeartitle;
}

.caryear {
    grid-area: caryear;
}

.carkmtitle {
    grid-area: carkmtitle;
}

.carkm {
    grid-area: carkm;
}

.carpstitle {
    grid-area: carpstitle;
}

.carps {
    grid-area: carps;
}

.carenginetitle {
    grid-area: carenginetitle;
}

.carengine {
    grid-area: carengine;
}

.cardescription {
    grid-area: cardescription;
    font-size: 0.8em;
    height: 100%;
    padding: 10px;
}

.car:hover {
    cursor: pointer;
    transform: scale(1.01);
}

.cardetail {
    text-align: center;
    color: var(--SecondaryColor);
}

.cardetailtitle {
    font-size: 0.8em;
    color: var(--AkzentFarbe);
    text-align: center;
    margin-top: 10px;
}


