:root {
    --mainwhite: #f2f3f7;
    --textgray: #3c3c3c;
    --footergray: #76777f;
    --maintorq: #35b8a4;
    --altblack: #1f1f1f;
}

html, body {
    margin: 0;
    padding: 0;
}

#wholeweb {
    background-color: lightslategray;
}

#center {
    margin: auto;
    width: 1800px;
    height: fit-content;
}

#web {
    width: 100%;
    background-color: antiquewhite;
    position: relative;
}

.justlink {
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    width: fit-content !important;
    height: fit-content !important;
}

/* HLAVICKA */
header {
    width: 100%;
    height: 195px;
    background-color: red;
}

#head {
    width: 100%;
    height: 120px;
    background-color: white;
}

#logo {
    width: 234px;
    height: 100%;
    float: left;
}

#logo img {
    margin: 28px;
}

#head .line {
    width: 1px;
    height: 100%;
    float: left;
}

#head .line div:nth-child(1) {
    width: 100%;
    height: 20px;
}

#head .line div:nth-child(2) {
    width: 100%;
    height: 90px;
    background-color: #1ea08d;
}

h1 a {
    all: unset;
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 42px;
    letter-spacing: -0.025em;
    color: var(--textgray);
    margin: 12px 44px;
}

h1 {
    float: left;
}

h1 a:hover {
    cursor: pointer;
}

#contactinfozone {
    min-width: 229px;
    height: 100%;
    float: right;
    position: relative;
}

#contactus {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 17px;
    margin: 39px 0px 0px 19px;
    float: left;
    color: var(--textgray);
}

#contactnumber {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.025em;
    color: var(--maintorq);
    position: absolute;
    top: 60px;
    right: 69px;
}

#phoneicon {
    width: 29px;
    height: 100%;
    float: right;
}

#phoneicon div:nth-child(1) {
    width: 100%;
    height: 38px;
    float: right;
}

#phoneicon div:nth-child(2) {
    width: 100%;
    height: 49px;
    background-image: url(/public/uved_cars/assets/icons/phone.png);
    float: right;
}

#personalzone {
    height: 100%;
    width: 360px;
    background-color: var(--maintorq);
    float: right;
}

#personalzone .line {
    width: 1px;
    height: 100%;
    float: right;
}

#personalzone .line div:nth-child(1) {
    width: 100%;
    height: 31px;
}

#personalzone .line div:nth-child(2) {
    width: 100%;
    height: 68px;
    background-color: #8ed7cc;
}

#searchicon {
    padding: 10px;
    margin: 45px 25px 36px 17px;
    float: right;
    cursor: pointer;
}

#searchicon:hover {
    transform: scale(1.15);
    transition: transform 0.15s ease-in-out;
}

#cartgap {
    height: 100%;
    width: 39px;
    float: left;
}

#aftercartgap {
    height: 100%;
    width: 15px;
    float: left;
}

#cart {
    height: 100%;
    width: 48px;
    float: left;
}

#cart div {
    width: 100%;
    height: 38px;
    float: left;
}

#cart .justlink div {
    width: 48px;
    height: 48px;
    float: left;
    border-radius: 48px;
    background-color: white;
    background-image: url("/public/uved_cars/assets/icons/cart.png");
    background-repeat: no-repeat;
    background-position: 13px 17px;
}

#cart .justlink div div{
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background-color: var(--textgray);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    right: 10px;
    bottom: 4px;
    background-image: none;
}

#cart .justlink div div span {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.025em;
    color: white;
}

#cart div:nth-child(2):hover {
    cursor: pointer;
}

#loginzone {
    height: 100%;
    width: 176px;
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#loginzone span:nth-child(1) {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: -0.010em;
    color: white;
    display: inline-block;
}

#loginzone span:nth-child(2) {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: white;
    display: inline-block;
}

#loginzone span:nth-child(2) a {
    all: unset;
}

#loginzone span:nth-child(2) a:hover {
    text-decoration: underline;
    cursor: pointer;
}


/* menu */
#menu {
    width: 100%;
    height: 75px;
    background-color: var(--mainwhite);
    position: relative;
}

#menu ul {
    position: absolute;
    right: 600px;
}

#menu ul, #menu ul li {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#menu ul li {
    float: left;
    position: relative;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    margin: 23px 30px;
}

#menu ul li ul li {
    float: none;
    margin: 0px;
    padding: 28px 40px;
    background-color: var(--mainwhite);
}

/*#menu ul li ul li:nth-child(1) {
    margin-top: 32px;
}*/

#menu ul li {
    display: inline-block;
    color: var(--textgray);
    padding: 5px 10px;
}

#menu ul li::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 8px;
    background-image: url('/public/uved_cars/assets/icons/menuarrow.png');
    margin-left: 8px;
}

#menu ul li ul {
    display: none;
    top: 20px;
    left: 0px;
    position: absolute;
    background-color: var(--mainwhite);
}

#menu ul li:hover ul {
    display: block;
}

#menu ul li ul li::after {
    all: unset;
}

#menu ul li:hover {
    cursor: default;
}

#menu a {
    all: unset;
}

#menu ul li ul li:hover {
    cursor: pointer;
    text-decoration: underline;
    background-color: #b1b1b1;
}

/* OBSAH */
#content {
    width: 100%;
    min-height: 100vh;
    background-color: var(--mainwhite);
    background-image: url("/public/uved_cars/assets/tiresbanner.png");
    background-repeat: no-repeat;
}

#centeredthings {
    width: 100%;
    height: 790px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#centeredthings h2 {
    all: unset;
    color: white;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 48px;
    margin-top: 80px;
}

#centeredthings h4 {
    all: unset;
    color: var(--maintorq);
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 30px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* filter */

#filterdiv {
    width: 1201px;
    height: 350px;
    background-color: rebeccapurple;
    margin-top: auto;
}

#filtertopstripe {
    width: 100%;
    height: 13px;
    background-color: var(--maintorq);
}

#filter {
    width: 1109px;
    min-height: 257px;
    padding: 40px 46px;
    background-color: white;
}

#filter form div:nth-child(1) {
    display: block;
    width: 100%;
    min-height: 55px;
}

#filter form div:nth-child(2), #filter form div:nth-child(4) {
    width: 100%;
    height: 35px;
    float: left;
}

#filter form div:nth-child(3) {
    float: left;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

#filter form div:nth-child(3) div{
    width: fit-content;
    height: fit-content;
    float: left;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
}

#filter form div:nth-child(5) {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#filter button {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--textgray);
    letter-spacing: 0.010em;
    line-height: 55px;
    display: block;
    background-color: transparent;
    border: none;
    height: 55px;
    width: fit-content;
    border-radius: 4px;
    cursor: pointer;
    float: left;
}

#filter button.selected {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.010em;
    line-height: 55px;
    display: block;
    background-color: var(--maintorq);
    border: none;
    height: 55px;
    width: fit-content;
    border-radius: 4px;
    cursor: pointer;
    float: left;
}

#vans {
    margin-left: 24px;
}

#larrys {
    margin-left: 15px;
}

#discs {
    margin-left: 30px;
}

#cars::before {
    content: '';
    width: 47px;
    height: 18px;
    background-image: url("/public/uved_cars/assets/icons/car_torq.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 2px;
}

#vans::before {
    content: '';
    width: 53px;
    height: 23px;
    background-image: url("/public/uved_cars/assets/icons/van_torq.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 4px;
    
}

#larrys::before {
    content: '';
    width: 50px;
    height: 27px;
    background-image: url("/public/uved_cars/assets/icons/larry_torq.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 6px;
    
}

#discs::before {
    content: '';
    width: 33px;
    height: 33px;
    background-image: url("/public/uved_cars/assets/icons/pneu_torq.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 6px;
}

#cars.selected::before {
    content: '';
    width: 47px;
    height: 18px;
    background-image: url("/public/uved_cars/assets/icons/car.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 2px;
    
}

#vans.selected::before {
    content: '';
    width: 53px;
    height: 23px;
    background-image: url("/public/uved_cars/assets/icons/van.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 4px;
    
}

#larrys.selected::before {
    content: '';
    width: 50px;
    height: 27px;
    background-image: url("/public/uved_cars/assets/icons/larry.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 6px;
    
}

#discs.selected::before {
    content: '';
    width: 33px;
    height: 33px;
    background-image: url("/public/uved_cars/assets/icons/pneu.png");
    display: inline-block;
    margin-right: 14px;
    margin-left: 6px;
    position: relative;
    top: 8px;
}

#filter select {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--textgray);
    height: 56px;
    width: 214px;
    border: 2px solid #e9ebf0;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    appearance: none;
    padding-left: 20px;
    background-image: url("/public/uved_cars/assets/selectarrow.png");
    background-repeat: no-repeat;
    background-position: right;
}

#filter input[type=submit] {
    font-family: "Oswald", sans-serif;
    text-indent: 11px;
    font-weight: 300;
    font-size: 17px;
    font-weight: 700;
    height: 56px;
    width: 137px;
    color: white;
    background-color: var(--maintorq);
    border: none;
    border-radius: 3px;
    background-image: url("/public/uved_cars/assets/icons/submit.png");
    background-repeat: no-repeat;
    background-position: 28px 20px;
}

/* shop */
#shop {
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 29px;
}

#shop div {
    display: grid;
    /* Creates 3 columns of equal width */
    grid-template-columns: repeat(3, 1fr);
    /* Adds space between the grid items */
    gap: 20px;
}

#shop div div {
    width: 381px;
    height: 600px;
    background-color: white;
    display: block;
    position: relative;
}

#shop h5 {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 36px;
    color: var(--textgray);
    margin: 90px;
}

#shop .image {
    float: left;
    width: 100%;
    height: 293px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#shop .stats {
    width: 71px;
    height: 132px;
    background-color: var(--maintorq);
    position: absolute;
    left: 300px;
    top: -5px;
}

#shop .stats div {
    width: 100%;
    height: 75px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    gap: 10px;
}

#shop .stats span {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: white;
    display: block;
}

#shop .stats span:nth-child(1) {
    position: relative;
    left: 10px;
}

#shop .stats span:nth-child(2) {
    font-size: 16px;
    position: relative;
    left: 17px;
}

#shop .stats span:nth-child(3) {
    position: relative;
    left: 13px;
}

#shop .stats span:nth-child(1)::before {
    content: '';
    width: 26px;
    height: 16px;
    background-image: url("/public/uved_cars/assets/icons/cloud.png");
    display: inline-block;
    margin-right: 7px;
    position: relative;
    top: 2px;
}

#shop .stats span:nth-child(2)::before {
    content: '';
    width: 18px;
    height: 19px;
    background-image: url("/public/uved_cars/assets/icons/pump.png");
    display: inline-block;
    margin-right: 8px;
    position: relative;
    top: 2px;
} 

#shop .stats span:nth-child(3)::before {
    content: '';
    width: 22px;
    height: 18px;
    background-image: url("/public/uved_cars/assets/icons/sound.png");
    display: inline-block;
    margin-right: 7px;
    position: relative;
    top: 3px;
}

#shop .info {
    width: 100%;
    height: 171px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

#shop .info div {
    width: fit-content;
    height: fit-content;
    display: block;
}

#shop .info h3 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--altblack);
    text-transform: uppercase;
    margin: 0px 0px 20px 0px;
}

#shop .info p {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #565656;
    margin: 0px;
    line-height: 21px;
}

#shop .info span {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--maintorq);
    display: block;
    margin-top: 12px;
}

#shop .addtocart {
    width: 100%;
    height: 54px;
    display: flex;
    justify-content: center;
}

#shop .addtocart form input[type="number"] {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 14px;
    width: 67px;
    height: 50px;
    border: 1px solid #dbdbdb;
    text-align: center;
    color: var(--textgray);
}
#shop .addtocart form input[type="number"]::placeholder {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #8c8c8c;
    text-align: center;
}

#shop .addtocart form input[type="number"]:focus {
    outline: none;
}

#shop .addtocart form input[type="submit"] {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: white;
    width: 127px;
    height: 100%;
    background-color: var(--textgray);
    border: none;
    position: relative;
    top: 2px;
    text-transform: uppercase;
}

#shop .addtocart form input[type="submit"]:hover {
    cursor: pointer;
}

#showmore {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
}

#showmore a {
    text-decoration: none;
}

#showmore div {
    width: 270px;
    height: 60px;
    margin: 58px 0px 77px;
    border-radius: 3px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

#showmore div:hover {
    cursor: pointer;
}

#showmore div span {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: 19px;
    color: var(--altblack);
}

/* PATICKA */
footer {
    width: 100%;
    min-height: 738px;
    background-color: blue;
}

#benefits {
    width: 100%;
    min-height: 200px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

#benefits div {
    width: fit-content;
    height: fit-content;
    display: flex;
    gap: 30px;
}

#benefits div div {
    width: 330px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.text h5 {
    all: unset;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--footergray);
    line-height: 29px;
}

#velkyvyber .image {
    width: 66px;
    height: 60px;
    background-image: url("/public/uved_cars/assets/icons/velkyvyber.png");
    background-repeat: no-repeat;
}

#postovne .image {
    width: 110px;
    height: 70px;
    background-image: url("/public/uved_cars/assets/icons/postovne.png");
    background-repeat: no-repeat;
}

#ceny .image {
    width: 84px;
    height: 60px;
    background-image: url("/public/uved_cars/assets/icons/ceny.png");
    background-repeat: no-repeat;
}

#mailing {
    width: 100%;
    min-height: 151px;
    background-color: #35b8a2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
}

#mailing span {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: white;
}

#mailing form input[type="email"] {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 15px;
    width: 289px;
    height: 52px;
    color: white;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 2px;
}

#mailing form input[type="email"]::placeholder {
    color: white;
    text-indent: 27px;
}

#mailing form input[type="email"]:focus {
    outline: none;
  }

#mailing form input[type="submit"] {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.025em;
    width: 126px;
    height: 56px;
    border: none;
    padding: 0px;
    position: relative;
    top: 3px;
    border-radius: 2px;
    margin-left: 19px;
    background-color: var(--textgray);
    color: white;
}

#foot {
    width: 100%;
    min-height: 387px;
    background-color: var(--footergray);
}

#footgap {
    width: 100%;
    height: 40px;
}

#footinfo {
    width: 100%;
    min-height: 302px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#footinfo div {
    height: fit-content;
    width: fit-content;
    display: flex;
    justify-content: center;
    gap: 140px;
}

#footinfo div div {
    height: fit-content;
    width: fit-content;
}

#footinfo div div:nth-child(2) {
    height: 100%;
    width: 42px;
}

#footinfo div ul {
    list-style-type: none;
    padding: 0;
}

#footinfo div a {
    all: unset;
}

#footinfo div h6 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.010em;
    color: white;
    margin: 40px 0px;
    position: relative;
}

#footinfo div div:nth-child(3) h6, #footinfo div div:nth-child(4) h6 {
    left: -34px;
}

#footinfo div div:nth-child(5) h6 {
    left: -44px;
}

#footinfo div p {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: white;
    margin: 11px 0px;
}

#footinfo div a:hover {
    text-decoration: underline;
    cursor: pointer;
}

#footinfo div div:nth-child(3) h6::before, #footinfo div div:nth-child(4) h6::before {
    content: '';
    width: 16px;
    height: 25px;
    background-image: url("/public/uved_cars/assets/icons/location.png");
    display: inline-block;
    margin-right: 18px;
    position: relative;
    top: 5px;
}

#footinfo div div:nth-child(5) h6::before {
    content: '';
    width: 26px;
    height: 26px;
    background-image: url("/public/uved_cars/assets/icons/clock.png");
    display: inline-block;
    margin-right: 18px;
    position: relative;
    top: 5px;
}

#footcopyright {
    width: 100%;
    height: 45px;
}

#footcopyright span {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
    float: right;
    margin-right: 255px;
}

#footcopyright span a {
    all: unset;
}

#footcopyright span a:hover {
    text-decoration: underline;
    cursor: pointer;
}

input[type=submit] {
    cursor: pointer;
}