
.container-fluid {
    text-align: center;
}


#header-text h1 {
    font-size: 52px;
    text-align: left;
    margin-bottom: 10px;
    margin-top: 0;
}


@media screen and (min-width: 0px) and (max-width: 773px) {
    #header-text h1 {
        font-size: 40px;
        margin-bottom:30px;
    }
}

.sections {
    display: inline-block;
    margin: 0 auto;
    text-align: center;;
}

.sections span {
    font-size: 32px;
    margin: 15px 17px 5px 17px;
}


.sections a {
    background-color: transparent;
    color: black;
    border: 0;
    font-weight: 700;
    font-size: 23px;
    line-height: 56px;
    color: #112B3C !important;
    margin-bottom: 10px;
    padding: 5px 15px 5px 15px;
    border-radius: 35px;
}


.sections a:hover {
    background-color: transparent;
    text-decoration: none;
    background-color: #db5f6b96;;
}

.sections a:active, .sections a:focus, .sections a:context-menu {
    background-color: transparent;
    border: 0;
    text-decoration: none;
}

.sections a.active {
    background-color: #e03444;
}

@media screen and (min-width: 0px) and (max-width: 900px) {
    .sections a {
        font-weight: 600;
        font-size: 21px;
        line-height: 40px;
    }

    .sections span {
        margin: 10px 12px 5px 12px;
        font-size: 28px;
    }
}

@media screen and (min-width: 0px) and (max-width: 650px) {
    .sections a {
        font-weight: 600;
        font-size: 16px;
        line-height: 25px;
    }

    .sections span {
        margin: 2px 12px 5px 12px;
        font-size: 20px;
    }
}

@media screen and (min-width: 0px) and (max-width: 500px) {
    .sections a {
        font-size: 3.5vw;
    }

    .sections span {
        margin: 2px 7px 5px 7px;
        font-size: 6vw;
    }
}


.line {
    width: 100%;
    height: 1px;
    background: #b3b3b3;
    margin: 15px auto;
}

.tips {
    margin-top: 20px;
    margin-bottom: 600px;
}

.tip {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border: 1px solid #bdbcbc;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    font-weight: 400;
    color: #808080;
    margin: 15px auto;
    text-align: left;
    overflow: hidden;
}

.tip:hover {
    border: 1.5px solid #e03444;
}


.tip-img {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}


.tip-img img {
    width: 200px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tip-content {
    padding: 40px 50px 30px 20px;
}

.tip h6, .tip-opened h6 {
    display: inline-block;
    padding: 6px 10px;
    background: #D52827;
    border-radius: 45px;
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
    max-width: 110px;
    text-align: center;
}

.tip h5 {
    display: inline-block;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 29px;
    color: #112B3C;
    text-align: left;
    margin-top: 0;
    margin-bottom: 16px;
}

.tip h5:hover {
    text-decoration: underline;
}

.tip .tip-info span {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 16px;
}

.tip .tip-info span.tip-intro {
    width: 100%;
    min-height: 50px;
}

.tip .tip-info span.insert-date {
    font-size: 14px;
}

.tip a.section:hover {
    text-decoration: none;
}

@media screen and (min-width: 0px) and (max-width: 991px) {

    .tip {
        text-align: center;
    }
    

    .tip-img {
        margin: 20px auto 0 auto;
        padding-left: 0;
    }

    .tip-content {
        padding: 20px;
    }

    .tip .tip-info span.tip-intro {
        width: 100%;
        min-height: 30px;
    }

}


.tip-opened {
    text-align: left;
    background: white;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 0 30px 50px 30px;
    margin: 20px 0 600px 0;

}

.tip-opened .tip-content::after {
    content: "";
    display: table;
    clear: both;
}

.tip-opened h1 {
    font-size: 30px;;
    padding-bottom: 0;
    margin-bottom: 0;
}


.tip-opened .insert-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: -10px;
}

.tip-opened .tip-content {
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.6;
    padding: 0;
}

.tip-opened .float-image {
    float: left;
    max-width: 400px;
    max-height: 500px;
    height: auto;
    margin-right: 1.8rem;
    margin-bottom: 1.5rem;
}

.tip-opened .tip-content span.intro {
    display: inline;
    margin-bottom: 20px;
    font-size: 17px;
}

@media screen and (max-width: 680px) {
    .tip-opened .float-image {
        float: none;
        display: block;
        margin: 0 auto 1.5rem auto;
        max-width: 200px;
    }

    .tip-opened {
        text-align: center;
        padding: 0 8px 30px 8px;
    }

    .tip-opened .insert-info {
        text-align: center;
        justify-content: center;
    }

    .tip-opened .tip-content {
        text-align: left;
    }
}

@media screen and (max-width: 576px) {
  .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
