/*Variables*/
:root{

    --red: #BB342F;
    --red-dark-01: #991b16;
    --red-dark-02: #630b08;

    --white: #fff;
    --white-dark-01: #E7ECEF;
    
    --grey: #a6bfce;

    --yellow: #ffd900;
}

/*Fonts*/
@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/fnt_Roboto.ttf');
}

@font-face {
    font-family: 'RobotoBlack';
    src: url('assets/fonts/fnt_Roboto_black.ttf');
}

@font-face {
    font-family: 'RobotoBold';
    src: url('assets/fonts/fnt_Roboto_bold.ttf');
}

@font-face {
    font-family: 'RobotoLight';
    src: url('assets/fonts/fnt_Roboto_light.ttf');
}

/*Adjustments*/
html, body{
    margin:0!important;
    padding: 0!important;
}

.unpadded{
    padding: 0!important;
}

@font-face {
    font-family: 'RobotoMedium';
    src: url('assets/fonts/fnt_Roboto_med.ttf');
}

.carousel-control-prev i, .carousel-control-next i{
    font-size: 3.25rem;
    color: white;
    opacity: 1;
    transition: 0.2s;
    transition-timing-function: ease-out;
}

.carousel-item{
    background: black;
}

.carousel-item img{
    opacity: 0.7;
    aspect-ratio: 16/9;
}

.carousel-caption{
    transform: translateY(20%);
}

.carousel-caption h5{
    font-size: 1.75rem;
    font-family: "RobotoBold";
}

.carousel-caption p{
    font-size: 1.25rem;
    font-family: "Roboto";
}

@media (max-width:600px){
    .carousel-caption h5{
        font-size: 1.25rem;
    }

    .carousel-caption p{
        font-size: 1rem;
    }
}

@media (max-width: 767px){
    .carousel-caption{
        display: block!important;
    }
}

/*Reset CSS*/
*{
    font-family: 'Roboto';
}

/*Objects*/

#product{
    flex: 0 0 auto;
    width: 216px;
    padding: 1em;
    background-color: var(--white-dark-01);
}

#product .image{
    position: relative;
    width: 100%;
    overflow: hidden;
}

#product .image img{
    max-width: 100%;
    height: auto;
}

#product .data{
    width: 100%;
    padding-top: 1em;
}

#product .data .offer-tag{
    color: black;
    font-size: 0.75em;
    font-family: "RobotoBold";
    background-color: var(--yellow);
    padding: 0.75em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    display: inline-block;
    margin-bottom: 8px;
}

#product .data .brand{
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
    font-size: small;
    margin-bottom: 0;
}

#product .data .name{
    width: 100%;
    height: 20px;
    line-height: 20px;
    opacity: 0.5;
    margin: 5px 0;
    font-size: 1em;
    font-weight: 900;
    display: inline-block;
}

#product .data .price{
    color: black;
    font-weight: bold;
    font-size: 1.2em;
}

#product .data .price.original{
    font-size: 1em;
    opacity: 0.5;
    text-decoration: line-through;
}

#product .data .check{
    display: block;
    text-align: center;
    text-decoration: none;
    background-color: var(--red);
    transition: 0.2s;
    transition-timing-function: ease-out;
    color: white;
    cursor: pointer;
    padding: 1em;
    margin-top: 0.5em;
}

#product .data .check:hover{
    background-color: var(--red-dark-01);
}
