/*CUSTOM FONTS*/
@font-face {
    font-family: 'Gordita';
    src: url('../fonts/Gordita_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gordita';
    src: url('../fonts/Gordita_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gordita';
    src: url('../fonts/Gordita_Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/fa-regular-400.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/fa-solid-900.woff2') format('woff2');
    font-display: block;
}

/*BASE STYLES*/

* {
    box-sizing: border-box;
}

main{
    min-height: 100vh;
}

a{
    font-family: 'Gordita', system-ui, sans-serif;
    text-decoration: none;
}
body {
    font-family: 'Gordita', system-ui, sans-serif;
    text-decoration: none;
    background-color: #F9FFF6;
    margin: 0;
}

/*STARS (rating) STYLES*/
.star-rating {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 400;
    overflow: hidden;
    position: relative;
    height: 1.618em;
    line-height: 1.618;
    font-size: 1.4em;
    width: 6.3em;
    letter-spacing: 0.1em;
    color: #737373;
}

.star-rating::before {
    content: "\f005 \f005 \f005 \f005 \f005";
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #737373
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
    color: #FFD700;
}

.star-rating span::before {
    content: "\f005 \f005 \f005 \f005 \f005";
    font-weight: 900;
    top: 0;
    position: absolute;
    left: 0;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #737373;
}

.woocommerce-message {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background-color: #57a864;
    color: white;
    border-radius: 15px;
    padding: 1rem;
    width: fit-content;
    min-width: 30%;
    margin: 0 auto 1rem;
}

.woocommerce-message .button{
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    color: black;
}

.woocommerce-message .button:hover{
    color: #636363;
}
