@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Roboto&display=swap');


body {
    font-family: 'Roboto', sans-serif;
    background-color: #93B5C6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.row {
    margin: 0;
}

/* SEARCH BAR */
.search-bar {
    background-color: #CFF9FF;
    border: 4px solid #16FB1F;
    text-align: center;
    padding: 10px;
    border-radius: 35px;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 15px;
}

#search-input {
    line-height: 2;
    border-radius: 6px;
    width: 70%;
    padding-left: 12px;
}

.reset-button {
    font-family: 'Bangers', sans-serif;
    font-size: 16px;
    color: #CFF9FF;
    background-color: #00393F;
    letter-spacing: 2px;
    margin: 0 8px 0 8px;
    border-radius: 8px;
}

.reset-button:hover {
    color: #00393F;
    background-color: #93B5C6;
}

/* CHARACTER CARDS */
#rick-morty,
.card-title {
    font-family: 'Bangers', sans-serif;
    font-size: 40px;
    color: #00393F;
    text-align: center;
}

.card {
    border: 5px solid #16fb1f;
    background-color: #CFF9FF;
    border-radius: 8px;
    box-shadow: 4px 4px 10px 6px rgba(0, 57, 63, .7);
    transition: 0.2s;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 10px;
    min-height: 600px;
}

.card-img-top {
    object-fit: cover;
    height: 100%;
    border-radius: 50%;
    width: 95%;
    margin: 2.5%
}

.card-text-headings {
    font-family: 'Bangers', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: #00393F;
}

/* SCROLL TO TOP BUTTON */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#scroll-button {
    padding: 10px 10px;
    background-color: #00393F;
    border: 3px solid #16FB1F;
    border-radius: 50%;
    margin-left: 10px;
}

#scroll-button:hover {
    background-color: #008e48;
    border: 3px solid #00393F;
}

.octo-con {
    font-size: 1.5rem;
    color: #16FB1F;
}

/* FOOTER */
footer {
    background-color: #CFF9FF;
    border: 4px solid #16FB1F;
    border-radius: 35px;
    max-width: 90%;
    text-align: center;
    font-size: 150%;
    width: 40%;
    margin: 20px auto;
    border-radius: 30px;
}

footer li {
    display: inline;
}

footer i {
    color: #00393F;
    margin: 2%;
    padding-left: 5%;
    padding-right: 5%;
}

ul {
    margin: 0;
    padding-inline-start: 0;
}


/* MEDIA QUERIES */
@media only screen and (max-width : 991px) {
    #search-input {
        width: 50%;
    }
}

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

    .reset-button {
        margin: 0;
    }
}

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

    .reset-button {
        font-size: 10px;
    }
}

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

    .reset-button {
        padding: 6px;
    }

    #search-input {
        padding-left: 6px;
    }
}