/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=Poppins: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');

/* General Styling */

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #F6EDE1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.flex {
    display: flex;
}

.main-content {
    background: #F6EDE1;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 50px;
}

.quiz-container {
    display: none;
}

.display-none {
    display: none;
}

.main-width {
    width: 100%;
    max-width: 1300px;
}

.remove-bullets {
    list-style-type: none;
}

/* Headings and text */

h1 {
    font-family: 'Caprasimo', sans-serif;
    font-size: 4rem;
    letter-spacing: 3px;
}

h2 {
    font-family: 'Caprasimo', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    max-width: 700px;
    margin: 0px auto 30px auto;
}

.subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 10px;
}

.quiz-subheading {
    text-align: center;
    font-weight: 400;
    margin-top: 10px;
    margin-top: -20px;
    margin-bottom: 30px;
}

.basic-text {
    width: 70%;
    padding: 10px 0px 30px;
    text-align: center;
    font-size: 1.1rem;
}

.subtext {
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 19px;
    margin-top: 5px;
}

/* Buttons */

.dark-button {
    color: white;
    background-color: #3F322A;
    padding: 20px;
    border-radius: 100px;
    text-decoration: none;
    cursor: pointer;
}

.dark-button:hover {
    color: white;
    background-color: #5E5047;
    padding: 20px;
    border-radius: 100px;
    text-decoration: none;
}

.navigation {
    margin-top: 30px;
}

.link {
    color: #6E5E54; 
    font-weight: 600;
}

/* Intro page */

.dog-image-container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.dog-image-container img {
    width: 100px;
}

/* Quiz */

.step {
    display: none;
    /* Hide all steps by default */
}

.step.active {
    display: block;
    /* Show only the active step */
}

/* Inputs */

input[type="text"] {
    padding: 20px;
    font-size: 1.2rem;
    border-radius: 10px;
    width: 500px;
    font-family: poppins;
}

input[type="radio"] {
    display: none;
}

label {
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid white;
    margin: 10px 0;
    cursor: pointer;
    text-align: center;
}

input[type="checkbox"] {
    display: none;
}

.block {
    display: block;
}

.inline {
    display: inline-block;
    font-weight: 600;
    max-width: 300px;
    margin: 5px 5px;
    padding: 30px;
}

input[type="radio"]:checked+label,
input[type="checkbox"]:checked+label {
    border-color: #3F322A;
    background-color: #F5F5F5;
}

.answer-image {
    height: 90px;
    width: 90px;
    margin-bottom: 10px;
}

/* Results */

/* Best match */

.best-match-container {
    background-color: white;
    border-radius: 10px;
    flex-direction: row;
    padding: 50px;
}

.best-match-container h2 {
    margin-bottom: 0px;
}

#best-match-image img {
    width: 250px;
}

#best-match-content {
    text-align: left;
    padding: 0px 30px;
    width: 65%;
}

#best-match-list {
    border: 1px solid #FCDCB2;
    border-radius: 10px;
    padding: 20px;
    width: 35%;
    text-align: left;
}

#list-objects {
    width: 50%;
}

#list-icons {
    text-align: right;
    width: 50%;
}

#list-icons li,
#list-objects li {
    margin-bottom: 10px;
}

#list-icons i {
    padding: 0px 2px;
}

.result-text {
    font-size: 1rem;
    line-height: 1.3rem;
    margin: 10px 0px;
}

/* Top 3 dog breeds and friends dog breeds */

.more-result-container {
    width: 49%;
    padding: 0px;
    text-align: left;
}

#more-results {
    flex-direction: row;
    margin-top: 20px;
    gap: 20px;
}

.top-breed-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    margin-bottom: 15px;
}

.top-3-image {
    margin-right: 20px;
}

.top-3-image img {
    width: 60px;
    height: 60px;
}

.top-3-description p {
    font-size: 0.8rem;
}

#recent-results-container {
    overflow: visible !important;
    max-height: none !important;
}

/* paw icon list */

.fa-paw {
    opacity: 0.15;
}

.full {
    opacity: 1;
}

/* 404 */

#dog-image-container-404 img {
    width: 50%;
}

/* Responsive */

/* Laptop */

@media only screen and (max-width: 1200px) {

    #best-match-image img {
        width: 100%;
    }

    #best-match-content {
        min-width: 400px;
    }

    .result-text {
        font-size: 0.9rem;
    }

    .remove-bullets {
        font-size: 0.9rem;
    }

    #best-match-list {
        min-width: 290px;
        width: 35%;
    }

}

/* Tablet */

@media only screen and (max-width: 1000px) {

    h1 {
        font-size: 4rem;
    }

    .basic-text {
        font-size: 1rem;
        width: 100%;
    }

    .dog-image-container img {
        width: 80px;
    }

    /* Result */

    .best-match-container {
        flex-direction: column;
        padding: 50px;
    }

    #best-match-image img {
        width: 100%;
        max-width: 300px;
        margin: 20px 0px;
    }

    #best-match-content {
        min-width: 100%;
        padding: 0px;
    }

    #best-match-content h2 {
        margin: 0px;
    }

    .result-text {
        font-size: 0.9rem;
    }

    .remove-bullets {
        font-size: 0.9rem;
    }

    #best-match-list {
        min-width: 100%;
        width: 35%;
        margin-top: 30px;
    }

    #more-results {
        flex-direction: column;
    }

    .more-result-container {
        width: 100%;
    }

}

/* Mobile */

@media only screen and (max-width: 600px) {


    h1 {
        font-size: 2.5rem;
    }

    .basic-text {
        font-size: 0.9rem;
    }

    .dog-image-container img {
        width: 18%;
    }

    .main-content {
        background: #F6EDE1;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 30px;
    }

    input[type="text"] {
        padding: 20px;
        font-size: 1rem;
        width: 100%;
    }

    h2 {
        font-size: 2rem;
    }

    .inline {
        display: block;
        min-width: 100%;
        margin: 10px 0px;
        font-size: 0.9rem;
    }

    .block {
        font-size: 0.9rem;
    }

    .best-match-container {
        padding: 30px;
    }

    #best-match-image img {
        width: 70%;
        margin-bottom: 30px;
    }

}

/* Very small mobile */

@media only screen and (max-width: 400px) {


    h1 {
        font-size: 2rem;
    }

    #list-objects li {
        font-size: 0.8rem;
    }

    #list-icons li {
        font-size: 0.8rem;
    }

    .top-breed-card {
        display: block;
    }
}

/* remove list on extra small screen */

@media only screen and (max-width: 370px) {

    #best-match-list {
        display: none;
    }

}