@import url('https://fonts.googleapis.com/css2?family=Truculenta:opsz,wght@12..72,100..900&display=swap');

* {
    font-family: "Truculenta", sans-serif;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    background-color: #fff8f0;
    display: flex;
    flex-direction: column;
}

#search-box {
    height: 5vh;
    text-align: center;
    border-radius: 24px;
    border: 3px solid black;
}

.search-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.add-card-btn {
    width: 40px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    background-color: #9DD9D2;
    border-color: transparent;
    color: black;
}

.btns-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card-btn {
    height: 200px;
    width: 400px;
    background-color: #FF8811;
    border: 10px solid #F4D06F;
    font-size: 32px;
    font-weight: 600;
}

.card-btn:hover {
    border: 10px solid #f6e1a8;
}

.second-row {
    display: flex;
    align-items: center;
    flex: auto;
}

.main-content-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2vh;
}

.contact-form-container {
    width: 50%;
    height: fit-content;
    border: 4px dashed #140726;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.main-content-container .heading-container {
    display: flex;
    justify-content: center;
    background-color: #7F27FF;
    border-radius: 20px;
    color: white;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

form input,
form textarea,
form select {
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 1em;

    margin-bottom: 1em;

    &:focus {
        outline: none;
        border-color: #7F27FF;
    }
}

form textarea {
    width: 80%;
    resize: vertical;
}

form input {
    width: 80%;
}

.main-content button {
    width: 50%;
    height: 8%;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
}

form input,
form textarea {
    font-size: 24px;
}

form .contact {
    display: flex;
    justify-content: space-around;
    gap: 10vw;
    width: 100%;
}

form .contact .email input,
form .contact .phone input {
    width: 10vw;
}

.cards-container {
    flex: 1;
    width: 70%;
    margin: 0 auto;
}

.cards-container .container {
    width: 100%;
    height: 40%;
    border: 5px solid rgb(75, 75, 75);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background-color: #F4D06F;
}

.container .left-and-right-cont {
    display: flex;
    align-items: center;
    flex: 1;
}

.container .left-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
}

.container .left-container .left-content {
    margin-left: 16%;
}

.container .left-container .left-content h1 {
    font-size: 61px;
}

.container .left-container .left-content h2 {
    font-size: 31px;
}

.container .right-container {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .right-container img {
    width: 70%;
    border-radius: 50%;
    border: 5px solid #9F70FD;
    filter: drop-shadow(0px 0px 16px #2f2f2f);
}

.card-options {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    margin-left: auto;
}

footer {
    background-color: #ccc;
    text-align: center;
}


@media only screen and (min-width: 992px) {
    #search-box {
        font-size: 24px;
    }

    .search-box-container {
        gap: 16px;
    }
}

@media only screen and (max-width: 600px) {
    #search-box {
        height: 32px;
    }

    .btns-container {
        gap: 6vh;
    }

    .card-btn {
        width: 90vw;
        height: 25vh;
    }

    .add-card-btn {
        width: 32px;
        font-size: 16px;
    }

    .contact-form-container {
        width: 80%;
    }

    form .contact {
        flex-direction: column;
        align-items: center;
    }

    form .contact .email {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    form .contact .phone {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    form .contact .email input,
    form .contact .phone input {
        width: 80%;
    }

    .contact-form-container {
        margin-top: 5vh;
        margin-bottom: 3vh;
    }

    .cards-container {
        width: 95%;
    }

    .container .left-container .left-content h1 {
        font-size: 31px;
    }

    .container .left-container .left-content h2 {
        font-size: 17px;
    }
}