
a {
    text-decoration: none;
}

.intro-container {
    width: 100%;
    background-color: var(--bt-gray);
    padding: 5vh 0;
    padding-top: 1.5vh;
    color: white;
    margin-bottom: 1vh;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65vw;
    margin: auto;
    background-color: var(--bt-blue);
    padding: 2vh 3vh;
    padding-top: 0;
    border-radius: 2vw;
    box-shadow: 1vh 1vh 1vh 1vh #33333379;
}

.headers-img {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.intro h2 {
    font-size: 2.5vh;
    font-weight: bold;
    padding-right: 1vw;
}

.intro h3 {
    display: none;
}

.intro span {
    font-size: 1.2vh;
    font-weight: bold;
    margin-top: .5vh;
}

.intro .text {
    font-size: 2.5vh;
    height: fit-content;
}

.intro .image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 2vh 2vh;
    margin-left: .2vh;
}

.intro img {
    width: 18vw;
    height: auto;
    /* border-radius: 2vw; */
    /* box-shadow: 1vh 1vh 1vh 1vh #3333334b; */
    margin-left: 0;
}

.save-params {
    margin: auto;
    display: none;
    flex-direction: column;
    align-items: center;
    width: 35vw;
    text-align: center;
    background-color: white;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    border-radius: 1.5vh;
    background-color: var(--bt-greish);
}

.param-name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin: 3vh 0;
    font-size: 2.3vh;
}

.save-params .cross {
    position: absolute;
    width: 2vh;
}

.save-params .cross {
    width: 2vh;
    position: absolute;
    transform: translate(-60%, -40%);
}

.save-params .cross:hover {
    cursor: pointer;
}

.save-params .top-right {
    width: 0;
    height: 0;
    align-self: flex-end;
    position: relative;
}

.save-params .options {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5vh;
}

.save-params .option {
    font-family: inherit;
    font-size: 1.5vh;
    background-color: var(--bt-gray);
    color: white;
    padding: 1vh 2vh;
    border-radius: .7vh;
    margin: 1vh 1.5vh;
    font-weight: bold;
    border: none;
}

.save-params .option:hover {
    background-color: var(--bt-hover-gray);
    cursor: pointer;
}

.compare-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10vh;
}

.compare-form hr {
    width: 60vw;
}

.car-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10vh;
}

.form-grid.car {
    width: 80%;
    max-width: 1060px;
    height: 30vh;
    margin: 5vh auto;
    margin-bottom: 1vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 10% 2%;
}

.dropdown-container {
    position: relative;
    flex: 1;
    margin: 0 auto;
}




.fwd {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.fwd-span {
    font-size: 1.5vw;
}

.checkbox.fwd {
    margin-left: .6vh;
    display: flex;
    width: 2vh;
    height: 2vh;
    align-items: center;
    justify-content: center;
    border: .1vh solid var(--bt-gray);
    padding: .15vw .15vw;
    border-radius: .6vh;
    cursor: pointer;
    background-color: #fff;
    transition: .1s;
}

.checkbox.fwd:hover {
    border-color: var(--bt-hover-gray);
    transform: scale(1.03);
}

.checkbox.checked {
    background-color: var(--bt-blue);
}

.checkbox.fwd.checked .check-icon.fwd {
    transform: scale(1);
}

.fa-solid.fa-check.check-icon.fwd {
    color: white;
    font-size: 1.8vh;
    transform: scale(0);
    transition: .2s;
}

.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 2vh auto;
    margin-bottom: 0;
}

.user-form .buttons {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 0 2vh;
    margin-bottom: 2vh;
}


.btn.saved {
    margin: auto;
}

.btn.saved .text {
    margin-right: 1vh;
}

.saved-params-btn .text {
    margin-right: 1vh;
}

.btn.saved .show-more-angle {
    transition: .4s;
    width: 1.8vh;
}





.saved-params {
    width: fit-content;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: auto;
    padding: 1vh 2vh;
    font-weight: bold;
}

.saved-params h3 {
    margin: 0;
    font-size: 2vh;
}

.saved-params hr {
    width: auto;
}

.saved-params span {
    margin: auto;
}

.saved-param:hover {
    text-decoration: underline;
    cursor: pointer;
}


.btn {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 1vh 2vh;
    font-size: 1.7vh;
    font-weight: bold;
    color: white;
    background-color: var(--bt-gray);
    border-radius: .5vh;
    border: none;
    transition: .15s;
}


.btn:hover {
    background-color: var(--bt-hover-gray);
    cursor: pointer;
}

.reset-div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



.form-grid.user {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 0 2vh;
    width: 80%;
    max-width: 1060px;
    height: 25vh;
}

.form-header.user {
    margin: auto;
    text-align: center;
}

.dropdown-container.user {
    grid-column: span 2;
    margin: 3vh auto;
}

.dropdown-container.user:nth-child(n + 7) {
    grid-column: 2 / span 2;   
}



.user-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .dropdown-container.user:nth-child(5) {
    grid-column: span 3;
    width: 80%;
    margin: auto;
}

.dropdown-container.user:nth-child(4) {
    grid-column: span 3;
    width: 80%;
    margin: auto;
} */

.lt-img,
.gt-img {
    width: 1.6vh;
}



.submit{
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn {
    width: 10vw;
    height: 6vh;
    font-size: 1.4vw;
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    margin: 4vh 0px;
    padding: 0 2vh;
    background-color: var(--bt-blue);
    color: white;
    font-weight: bold;
    border: 3px solid var(--bt-gray);
    border: none;
    border-radius: 4px;
    transition: background-color 0.15s, border-color 0.15s, cursor 0.15s, box-shadow 0.15s;
}

.submit-btn:hover {
    background-color: var(--bt-hover-blue);
    cursor: pointer;
}

.result-section {
    display: flex;
    flex-direction: column;
    width: 50vw;
    max-width: 900px;
    margin: 0 auto;
}


.compare-instance-container {
    width: 100%;
    flex-direction: row;
    margin-bottom: 10vh;
    justify-content: center;
    align-self: center;
    background-color: rgb(244, 243, 243);
    transition: 0.12s;
    color: var(--text-gray);
    display: none;
    font-size: 1.2vw;
}

.compare-instance-container.active {
    display: flex;
}

.compare-instance-container:hover {
    border: .1vh solid var(--bt-hover-gray);
    transform: scale(1.002);
    cursor: pointer;
}


.compare-instace-container:hover .medal {
    -webkit-drop-filter: drop-shadow(20px 40px 10px rgb(52, 51, 51, 10));
    filter: drop-shadow(20px 40px 10px rgb(52, 51, 51, 10));
}


.compare-instance {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    
}

.medal {
    width: 12vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-10deg) translate(-30%, -30%);
    -webkit-drop-filter: drop-shadow(2px 2px 20px rgb(52, 51, 51, 0.8));
    filter: drop-shadow(10px 20px 15px rgb(52, 51, 51, 20));
    
}

.compare-instance-image-container {
    width: 50vw;
    max-width: 900px;
    position: relative;
    height: 20vw;
    max-height: 380px;
    display: flex;
    overflow: hidden;
    justify-content: center;
    border-radius: 0;   
    transition: 0.12s;
    margin: 0;
    padding: 0;
}

.compare-instance-image {
    align-self: center;
    justify-self: center;
    object-fit: cover;
    min-width: 50vw;
}

.compare-instance-make-model-container {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    text-align: center;
    padding-top: .2vh ;
    bottom: 0%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
    color: white; 
    font-weight: bold; 
    flex-wrap: wrap;
    font-size: 2vw;
}

.compare-instance-info {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2vh 0;
}

.compare-instance-info-grid {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-gap: 0;
    text-align: center;
    width: 100%;
}

.compare-instance-info-first-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.compare-instance-info-second-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.compare-instance-info-third-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2vh;
}

.compare-instance-info-fourth-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.total-price-div{
    margin: 0;
    padding: 0;
}

.fwd-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.label-span {
    font-weight: bold;
}

.total-price-value {
    font-size: 2vw;
    font-weight: bold;
    color: var(--bt-blue);
}

@media screen and (min-width:1200px) {
    .intro {
        margin-top: 3vh;
        width: 500px;
        padding-right: 1vw;
    }

    .intro .text {
        margin-right: 2vw;
    }

    .intro h2 {
        font-size: 3vw;
    }

    .intro h3 {
        display: block;
        font-size: 1.5vw;
        text-align: start;
    }

    .intro img {
        width: 15vw;
    }

    .intro span {
        display: none;
    }
}

@media screen and (min-width:800px) {
    .intro {
        margin-top: 3vh;
        width: 50vw;
        padding-right: 1vw;
    }

    .intro .text {
        margin-right: 2vw;
    }

    .intro h2 {
        font-size: 3vw;
    }

    .intro h3 {
        display: block;
        font-size: 1.5vw;
        text-align: start;
    }

    .intro img {
        width: 20vw;
    }

    .intro span {
        display: none;
    }
}

@media screen and (min-width:1200px) {
    .intro {
        margin-top: 3vh;
        width: 500px;
        padding-right: 15px;
        padding-bottom: 10px;
        border-radius: 15px;
    }

    .intro .text {
        margin-right: 10px;
    }

    .intro h2 {
        font-size: 27px;
    }

    .intro h3 {
        display: block;
        font-size: 16px;
        text-align: start;
    }

    .intro img {
        width: 150px;
        /* border-radius: 15px; */
    }

    .intro span {
        display: none;
    }
}


@media screen and (min-width: 2000px) {
    .intro-container h2 {
        font-size: 40px;
    }

    .intro-container span {
        font-size: 20px;
    }

    .form-title {
        font-size: 30px;
    }

    .form-header.user {
        font-size: 30px;
    }

    .select-btn {
        font-size: 20px;
        height: 70px;
    }

    .arrow-down {
        font-size: 15px;
    }

    .fwd-span {
        font-size: 30px;
    }

    .checkbox.fwd {
        width: 30px;
        height: 30px;
        padding: 2px 2px;
        border-radius: 6px;
    }

    .submit-btn.compare {
        width: 200px;
        height: 70px;
        font-size: 30px;
        margin: 40px 0px;
        padding: 10px 20px;
    }

    .compare-instance {
        font-size: 30px;
    }

    .compare-instance-info {
        height: 350px;
    }

    .total-price-value {
        font-size: 40px;
    }

    .compare-instance-image-container {
        height: 400px;
        width: 1000px;
    }

    .compare-instance-image {
        width: auto;
        min-width: 10px;
        width: 1000px;
    }

    .compare-instance-make-model-container {
        font-size: 40px;
    }

    .medal {
        width: 170px;
    }
}

@media screen and (max-width: 1200px) {
    .medal {
        width: 9vw;
    }

    .compare-form .btn {
        font-size: 1.6vw;
        height: 5vw;
        padding: 1vh 2vh;
    }

    .btn.saved .show-more-angle {
        width: 2vw;
    }

    .form-title {
        font-size: 3vw;
    }

    .form-header.user {
        font-size: 3vw;
    }

    .gt-img, .lt-img {
        width: 1.3vw;
    }

    .form-grid.car, .form-grid.user {
        width: 90%;
        grid-gap: 3vh 1.4vw;
        height: auto;
    }

    .form-grid.user :nth-child(n + 6) {
        margin-top: 0;  
    }

    .form-grid.user :nth-child(n + 5) {
        margin-top: 0;  
    }

    .submit-btn {
        width: fit-content;
        height: 5vw;
        font-size: 2.3vw;
        margin: 1vw 0px;
        padding: .3vw 3vw;
    }

    .compare-form {
        margin-bottom: 7vh;
    }

    .compare-instance-container {
        margin-bottom: 5vh;
        width: 70vw;
        font-size: 2vw;
    }

    .compare-instance-image-container {
        height: 20vh;
        width: 70vw;
    }

    .compare-instance-make-model-container {
        font-size: 2.5vw;
    }

    .total-price-value {
        font-size: 3vw;
    }

    .compare-instance-make-model-container {
        font-size: 3vw;
    }

    .total-price-value {
        font-size: 2.5vh;
    }

    
}

@media screen and (max-width: 800px) {
    .fwd-span {
        font-size: 2.5vw;
    }

    .form-grid.car, .form-grid.user {
        width: 95%;
        grid-gap: 3vh 1.3vw;
        height: auto;
    }

    .car-form {
        margin-bottom: 5vh;
    }

    .select-btn {
        padding-right: .2vh;
        padding-left: .5vh;
        font-size: 1.9vw;
    }

    .select-btn .btn-text {
        font-size: 1.9vw;
    }

    .medal {
        width: 12vw;
    }

    .compare-instance-container {
        font-size: 1.4vh;
        width: 90vw;
        height: 40vh;
        margin-bottom: 5vh;
    }

    .compare-instance-image-container {
        height: 20vh;
        width: 90vw;
    }

    .compare-instance-make-model-container {
        font-size: 2vh;
    }

    .total-price-value {
        font-size: 2.5vh;
    }  
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .intro {
        width: 40vw;
    }

    .intro-img {
        width: 15vw !important;
    }    

    .intro h2 {
        font-size: 2.5vw;
    }

    .intro span {
        font-size: 1.5vw;
    }

    .compare-form button.btn {
        border-radius: .5vw;
        height: 4vw;
    }

    .item .checkbox {
        width: 1.5vw;
        height: 1.5vw;
        padding: .1vw .1vw;
        border-radius: .4vw;
        border-width: .2vw;
    }

    .compare-instance-container {
        font-size: 1.5vw;
        width: 60vw;
        height: fit-content;
    }

    .compare-instance-image-container {
        height: 25vw;
        width: 60vw;
    }

    .compare-instance-make-model-container {
        font-size: 1.8vw;
    }

    .total-price-value {
        font-size: 2.1vw;
    }

    .show-more-button {
        border-radius: .7vw;
    }

    .show-more-span {
        font-size: 2vw;
        padding: .5vw 1vw;
        border-radius: .2vw;
    }

    .show-more-angle {
        width: 1.5vw;
    }
}






