/* CONFIGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color01: #4D7198;
    --color02: #3A6187;
    --color03: #275276;
    --color04: #134265;
    --color05: #003254;
    --font01: 16px;
    --font02: 20px;
    --font03: 24px;
}

/* MAIN */
/* button simulation */
#simulation {
    width: 100%;
    height: 50px;
    border-radius: 30px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

#btn_simulation {
    width: 250px;
    height: 100%;
    border: 0px;
    box-shadow: 3px 3px 5px black;
    font-size: var(--font02);
    border-radius: 30px;
    background-color: var(--color03);
    color: white;
}

#btn_simulation:hover {
    background-color: var(--color01);
    color: rgb(211, 211, 211);
    cursor: pointer;
}

/* carousel */
#carousel_container {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 30px auto 0 auto;
    align-items: center;
}

#carousel {
    width: 100%;
}

/* images carousel */
.items_carousel {
    text-align: center;
}

.items_carousel, .img_carousel{
    width: 100%;
    border-radius: 15px;
}

.img_carousel {
    box-shadow: 2px 2px 8px black;
    position: relative;
    z-index: 2;
}

#img02, #img03, #img04 {
    display: none;
}

.caption_carousel {
    font-size: 36px;
    margin: 0 0 -45px 0;
    position: relative;
    z-index: 3;
}

/* buttons control carousel */
.btn_carousel {
    position: absolute;
    height: 60px;
    width: 60px;
    padding-left: 5px;
    border-radius: 50%;
    z-index: 5;
}

.img_control_carousel {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.img_control_carousel:hover {
    background-color: rgb(255, 255, 255, 0.3);
    cursor: pointer;
}

#next {
    right: 10%;
}

/* sentence */
#sentence {
    width: 80%;
    margin: 30px auto 0 auto;
    display: flex;
    justify-content: center;
}

#text_sentence {
    font-size: var(--font02);
    text-align: center;
}

/* insurances */
#insurance_types {
    width: 80%;
    margin: 30px auto 0 auto;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.link_insurance {
    text-decoration: none;
    font-size: var(--font02);
}

.insurance  {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: var(--color03);
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 4px 4px 10px black;
    font-size: var(--font02);
    gap: 8px;
    color: white;
}

.insurance:hover {
    cursor: pointer;
    background-color: var(--color01);
}

/* insurances companys */
#companys {
    width: 80%;
    margin: 40px auto 0 auto;
    text-align: center;
}

#insurances_company {
    width: 100%;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    justify-content: center;
    grid-auto-rows: 100px;
}

.img_insurance {
    border: 1px solid black;
    width: 100%;
    height: 100%;
}