@import url("https://fonts.googleapis.com/css2?family=Baloo+Paaji+2:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
body {
    background: #f9f9f9;
    padding: 0px;
    margin: 0px;
    font-family: Arial, sans-serif;
}

header {
    height: 60px;
    background: linear-gradient(180deg, #f9f9f9, #f7f7f7);
    margin-bottom: 10px;
}

header nav {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

header nav a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

header nav a:hover {
    text-decoration: underline;
}

main {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background: snow;
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.card-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
    /* justify-content: center; */
    /* align-items: center; */
    font-family: 'Comfortaa';
    box-sizing: border-box;
}

.card {
    background-color: #ffffff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.7);
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: space-between;
    border: 1px solid #c2bbbb;
    margin-bottom: 20px;
}

.card__name {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 1.5em;
    font-family: 'Baloo Paaji 2', cursive;
}

.card__image {
    max-height: 120px;
    max-width: 100%;
    height: 120px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-top: 10px;
    box-sizing: border-box;
}

.card__image_2 {
    height: 120px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-top: 10px;
    box-sizing: border-box;
}

.draw-border {
    box-shadow: inset 0 0 0 4px #58cdd1;
    color: #58afd1;
    -webkit-transition: color 0.25s 0.0833333333s;
    transition: color 0.25s 0.0833333333s;
    position: relative;
}

.draw-border::before,
.draw-border::after {
    border: 0 solid transparent;
    box-sizing: border-box;
    content: '';
    pointer-events: none;
    position: absolute;
    width: 0rem;
    height: 0;
    bottom: 0;
    right: 0;
}

.draw-border::before {
    border-bottom-width: 4px;
    border-left-width: 4px;
}

.draw-border::after {
    border-top-width: 4px;
    border-right-width: 4px;
}

.draw-border:hover {
    color: #ffe593;
}

.draw-border:hover::before,
.draw-border:hover::after {
    border-color: #eb196e;
    -webkit-transition: border-color 0s, width 0.25s, height 0.25s;
    transition: border-color 0s, width 0.25s, height 0.25s;
    width: 100%;
    height: 100%;
}

.draw-border:hover::before {
    -webkit-transition-delay: 0s, 0s, 0.25s;
    transition-delay: 0s, 0s, 0.25s;
}

.draw-border:hover::after {
    -webkit-transition-delay: 0s, 0.25s, 0s;
    transition-delay: 0s, 0.25s, 0s;
}

.btn {
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1.5;
    font: 700 1.2rem 'Roboto Slab', sans-serif;
    padding: 0.75em 2em;
    letter-spacing: 0.05rem;
    margin: 1em;
    width: 13rem;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
}

.btn:focus {
    outline: 2px dotted #55d7dc;
}

.social-icons {
    padding: 0;
    list-style: none;
    margin: 1em;
}

.social-icons li {
    display: inline-block;
    margin: 0.15em;
    position: relative;
    font-size: 1em;
}

.social-icons i {
    color: #fff;
    position: absolute;
    top: 0.95em;
    left: 0.96em;
    transition: all 265ms ease-out;
}

.social-icons a {
    display: inline-block;
}

.social-icons a:before {
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    content: " ";
    width: 45px;
    height: 45px;
    border-radius: 100%;
    display: block;
    background: linear-gradient(45deg, #ff003c, #c648c8);
    transition: all 265ms ease-out;
}

.social-icons a:hover:before {
    transform: scale(0);
    transition: all 265ms ease-in;
}

.social-icons a:hover i {
    transform: scale(2.2);
    -ms-transform: scale(2.2);
    -webkit-transform: scale(2.2);
    color: #ff003c;
    background: -webkit-linear-gradient(45deg, #ff003c, #c648c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 265ms ease-in;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    font-size: 1.2em;
}

.card-text {
    font-size: 15px;
}

.text-center {
    text-align: center;
}

.table-description ul,
.table-description li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.table-description {
    margin-top: 30px;
}

.table-description li {
    display: flex;
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 25px 30px;
    margin-bottom: 15px;
}

.table-description li>div:first-child {
    padding-right: 20px;
    width: 190px;
    box-sizing: border-box;
}

.table-description li>div:last-child {
    width: calc(100% - 120px);
}

.review-header {
    display: flex;
    margin: 10px;
}

.review-header .logo_review img {
    margin-top: 0px;
    width: 200px;
    height: 200px;
}

.review-header .btn {
    margin-left: 0px;
    margin-top: 10px;
}

.review-header .btn:hover {
    color: #0f1e61 !important;
    border-color: #0f1e61 !important;
}

.review-header>div:last-child {
    margin-left: 50px;
}

@media only screen and (max-width: 800px) {
    .card-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.table-rating-img img {
    width: 114px;
    display: inline-block;
    margin-right: 15px;
    height: 60px;
    object-fit: contain;
}

.table-rating-row {
    display: flex;
    color: #272133;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #c2bbbb;
    margin-bottom: 5px;
    text-decoration: none;
    padding: 5px;
    border-radius: 2px;
}

.table-rating-row:hover {
    background-color: #f7f7f7;
}

.table-rating-title {
    font-weight: 700;
    margin-right: 10px;
}

@media only screen and (max-width: 500px) {
    .card-container {
        display: grid;
        grid-template-columns: 1fr;
    }
    .review-header {
        display: flex;
        margin: 0px;
        flex-direction: column;
        text-align: center;
    }
    .table-description li {
        flex-direction: column;
        padding: 15px;
    }
    .table-description li>div:first-child {
        font-weight: bold;
    }
    .table-rating-row {
        flex-wrap: wrap;
    }
    .table-rating-text {
        width: 100%;
    }
}
