/* General */

body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

::selection {
    background-color: #ffa788;
    color: #2484f1;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none!important;
}

a:focus {
    outline: none!important;
}

ul {
    list-style: none;
}

hr {
    width: 30px;
    padding-left: 0;
    margin-left: 0;
}


/* Colors */

.bg-white {
    background-color: #ffffff;
}

.bg-light-grey {
    background-color: #dedede;
}

.bg-grey {
    background-color: #dfdfd0;
}

.bg-dark-grey {
    background-color: #6d6d6d;
    opacity: 0.7;
}

.bg-black {
    background-color: #000000;
}

.bg-lightblue {
    background-color: #88c4ff;
}

.bg-pastel-orange {
    background-color: #fccfbf;
}

.bg-orange {
    background-color: #ffa788;
}

.color-orange {
    color: #fbb384!important;
}

.color-black {
    color: #666666!important;
}


/* Fonts */

.font-ubuntu {
    font-family: 'Ubuntu';
}

.font-antiqua {
    font-family: 'Book Antiqua';
}

.font-antiqua-bold {
    font-family: 'Antiqua Bold';
}


/* Slide Menu  */

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #f8baa4;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 70px;
}

.sidebar a {
    text-decoration: none;
    color: grey;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 40px;
}

.openbtn {
    cursor: pointer;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
}

.openbtn:hover {
    background-color: #ffa788;
}

.openbtn i:hover {
    color: #fff;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

.mobile-navbar img {
    width: 150px;
}


/* Navbar top level */

#navbar-top-lvl p,
i {
    color: #f8863a;
    font-size: 15px;
    line-height: 20px;
    font-style: 'Ubuntu';
    font-weight: 500;
}

#navbar-top-lvl-2 p,
i {
    color: #f8863a;
    font-size: 15px;
    line-height: 20px;
    font-style: 'Ubuntu';
    font-weight: 500;
}


/* Navbar bottom level */

.nav-item>.active {
    background-color: none!important;
}

.navbar-collapse-margin {
    margin-left: 70px;
}

#navbar-btm-lvl {
    font-family: 'Ubuntu', 'sans-serif';
    font-size: 14px;
    font-weight: 500;
}

.navbar-search-bar input {
    width: 250px;
    height: 30px;
    border: none;
    border-bottom: 1px black solid;
}

.navbar-search-bar input:hover {
    background-color: #efefef;
}

.navbar-search-bar i {
    font-size: 14px;
    border: 1px solid grey;
    border-radius: 50%;
    padding: 8px;
}


/* Header */

.header-tag {
    font-family: 'Ubuntu';
    font-size: 20px;
    font-weight: 500;
}

.header-container {
    position: relative;
}

.header-text {
    padding-left: 5em;
    padding-right: 2em;
}

.header-text h2 {
    font-size: 33px;
    line-height: 37px;
    font-family: 'Antiqua Bold';
    font-weight: 500;
}

.header-text p {
    font-size: 17px;
    line-height: 30px;
    font-family: 'Ubuntu';
    font-weight: 500;
}

.header-line {
    width: 30px;
    background-color: #ffffff;
    border-width: 2px;
    padding-left: 0;
    position: absolute;
    top: 2.2em;
    left: 10em;
}

.header-btn {
    width: 100px;
    height: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    border-radius: 20px;
    padding-top: 4px;
    margin-top: 4em;
    border: none;
}

.header-btn:hover {
    background-color: #ffffff;
    color: #88c4ff;
    transition: all 0.3s ease;
}

.header-btn:active {
    background-color: #ffffff;
    color: #88c4ff;
    transform: translateY(4px);
}


/* Pregnancy Cards */

.pregnancy-timeline-cards i {
    border: 2px solid black;
    padding: 10px;
    font-size: 22px;
}


/* Gift Box */

.gift-box-section {
    background-image: url("images/abstract-1.png");
    background-color: #cccccc;
    height: auto;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.gift-box-content {
    max-width: 600px!important;
    height: auto;
}

.gift-box-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
}

.gift-box-hr {
    width: 100%;
    border: 2px black dotted;
}

.gift-box-content p {
    font-family: 'Ubuntu';
    font-size: 18px!important;
}

.order-now-button p {
    width: 200px;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    padding-top: 5px;
}

.order-now-button p:hover {
    background-color: orangered;
    transition: .3s ease;
}


/* Section "Interests" */

.h1-interests {
    font-size: 44px;
    font-family: "Antiqua Bold";
}

.blog-tag-lg {
    position: relative;
    font-family: 'Ubuntu';
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
}

.blog-tag-sm {
    font-family: 'Ubuntu';
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

#interests hr {
    background-color: #000000;
}

.bottom-post-text hr {
    margin-top: 12px;
    background-color: green!important;
    margin-right: 100px;
}

.hr-interest-sm {
    background-color: green!important;
    margin-right: 100px;
}

.interest-text-wrap h2 {
    font-size: 30px;
    line-height: 50px;
    font-family: 'Antiqua Bold';
    font-weight: 400;
}

.interest-text-wrap p {
    font-size: 18px;
    font-family: 'Ubuntu' 'sans-serif';
    font-weight: 300;
}

.interest-date p,
.side-date p {
    font-size: 11px;
    padding-top: 7px;
    font-weight: 500;
    color: #ffffff;
}

.interest-image-wrap {
    position: relative;
}

.interest-date {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 20px;
    left: -15px;
    padding-top: 2px;
}

.side-date {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    top: 20px;
    left: -15px;
}

.side-img-2 {
    position: relative;
}

.upper-post-text h5 {
    font-family: 'Antiqua Bold';
    font-size: 27px;
    line-height: 30px;
}

.bottom-post-text h5 {
    font-family: 'Antiqua Bold';
    font-size: 24px;
    line-height: 30px;
}


/* Gift Box Section */

.gift-box-content {
    max-width: 340px;
    height: auto;
    border: 2px solid black;
}

.gift-box-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 35px!important;
}

.gift-box-hr {
    width: 100%;
    border: 2px dotted black!important;
    background: none!important;
}

.gift-box-content p {
    font-family: 'Ubuntu';
    font-size: 14px;
}

.order-now-button p {
    width: 180px;
    height: 40px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    padding-top: 5px;
}

.order-now-button p:hover {
    background-color: orangered;
    transition: .3s ease;
}


/* Section My baby */

#my-baby hr {
    border-color: #ffffff;
}

#my-baby h1 {
    font-family: 'Antiqua Bold';
    font-size: 44px;
    line-height: 50px;
}

.text-wrapper-baby p {
    font-size: 27px;
    line-height: 30px;
    font-family: 'Antiqua Bold';
}

.img-wrapper {
    position: relative;
}

.img-wrapper img {
    width: 166px;
    height: 166px;
}

.date-circle-baby {
    position: absolute;
    top: 10px;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.date-circle-baby p {
    font-size: 10px;
    font-weight: 500;
    padding-top: 6px;
}

.tag-baby p {
    font-family: 'Ubuntu';
    font-size: 14px;
}

.video-wrapper iframe {
    border: none;
    width: 524px;
    height: 295px;
}

.video-wrapper {
    position: relative;
}

.date-circle-baby-big {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 15px;
    left: -25px;
    color: #212529;
}

.date-circle-baby-big p {
    font-size: 10px;
    font-weight: 500;
    padding-top: 10px;
}


/* News and Advice */

#news-and-advice h3 {
    font-family: 'Antiqua Bold';
    font-size: 44px;
    line-height: 45px;
}

.post-img-wrapper {
    position: relative;
}

.news-date {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 10px;
    left: -20px;
}

.news-date p {
    font-size: 10px;
    font-weight: 500;
    padding-top: 5px;
}

#tag-wrapper-p {
    font-family: 'Ubuntu';
    font-size: 14px;
    line-height: 20px;
}

.text-wrapper-news p {
    font-family: 'Antiqua Bold';
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
    max-width: 300px;
}

@media only screen and (max-width: 992px) {
    .text-wrapper-news p {
        font-size: 20px;
        line-height: 25px;
        max-width: 280px;
        margin: 0 auto;
        padding-bottom: 20px;
    }
    .big-banner-1,
    .newsletter-box {
        margin: 0 auto;
    }
}

#news-and-advice hr {
    background-color: #000000;
}

.newsletter-box {
    max-width: 300px;
    height: auto;
}

.newsletter-box h6 {
    font-family: 'Ubuntu' sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.newsletter-box p {
    font-family: 'Ubuntu' sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

.tag-wrapper-news p {
    font-family: 'Ubuntu' sans-serif!important;
}

.pill-1 {
    width: 90%;
    height: 45px;
    color: #ffa788;
    background-color: #fefefe;
}

.pill-2 {
    width: 55%;
    height: 40px;
    color: #1a87b4;
    font-size: 16px;
}

.pill-2:hover {
    background-color: orangered;
    transition: 0.3s ease all;
}

#news-and-advice hr {
    margin-top: -5px;
}


/* Carousel */

.carousel-btn-previous {
    font-size: 35px;
    top: 100px;
    left: 100px;
    color: #ffffff;
}

.carousel-btn-next {
    font-size: 35px;
    top: 100px;
    left: 100px;
    color: #ffffff;
}

.carousel-btn-previous:active {
    color: #ffffff;
}

.carousel-insta-wrap {
    position: relative;
}

.insta-follow-btn {
    position: absolute;
    top: 110px;
    left: 50%;
    width: 100px;
    height: 30px;
}

.insta-follow-btn p {
    font-size: 12px;
    padding-top: 3px;
}

.insta-follow-btn i {
    color: #000000;
}

.carousel {
    width: 100%;
}

.slide-box {
    display: flex;
    justify-content: space-between;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: .5rem;
}


/* Footer */

.footer-wrapper {
    /* z-index: -1!important; */
    position: relative;
}

.footer-logo {
    width: 200px;
}

footer p {
    font-size: 14px;
    color: #4c454e;
    padding-right: 20px;
    font-weight: 500;
    margin: 0 auto;
}

footer p a {
    font-size: 14px;
    color: #FFF;
    text-decoration: none!important;
}

footer p a:hover {
    color: lightgrey;
    cursor: pointer;
}

.footer-social-icons i {
    font-size: 25px;
    color: #4c454e;
}


/* Micro-animation */

.ribbon-text i {
    padding: 0 15px;
}

.ribbon {
    font-size: 17px !important;
    font-family: Verdana, sans-serif;
    width: 150px;
    position: relative;
    background: #5FD9FF;
    color: #fff;
    text-align: center;
    padding: 1em 2em;
    margin: 60px auto;
    animation: expand 2.6s ease-in-out infinite;
}

@keyframes expand {
    0%,
    100% {
        width: 300px;
    }
    50% {
        width: 400px;
    }
}

.ribbon:before,
.ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -1em;
    border: 1.5em solid #55C3E5;
    z-index: -1;
}

.ribbon:before {
    left: -2em;
    border-right-width: 1.5em;
    border-left-color: transparent;
    animation: shrinkLeft 2.6s ease-in-out infinite;
}

.ribbon:after {
    right: -2em;
    border-left-width: 1.5em;
    border-right-color: transparent;
    animation: shrinkRight 2.6s ease-in-out infinite;
}

@keyframes shrinkLeft {
    0%,
    100% {
        left: -2em;
        border-right-width: 1.5em;
    }
    50% {
        left: -1.5em;
        border-right-width: 1em;
    }
}

@keyframes shrinkRight {
    0%,
    100% {
        right: -2em;
        border-left-width: 1.5em;
    }
    50% {
        right: -1.5em;
        border-left-width: 1em;
    }
}

.ribbon-text {
    z-index: 1000;
}

.ribbon-text:before,
.ribbon-text:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-color: #2F6C7F transparent transparent transparent;
    bottom: -1em;
}

.ribbon-text:before {
    left: 0;
    border-width: 1em 0 0 1em;
}

.ribbon-text:after {
    right: 0;
    border-width: 1em 1em 0 0;
}


/*------------------------- Media Queries ----------------------------- */


/* Carousel Instagram */

@media (min-width: 576px) and (max-width: 767.98px) {
    .slide-box img {
        -ms-flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .slide-box img {
        -ms-flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (min-width: 992px) {
    .slide-box img {
        -ms-flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1200px) {
    /* Navbar bottom level */
    .navbar-collapse-margin {
        padding-left: 30px;
    }
}

@media (max-width: 992px) {
    /* Header */
    .header-text-wrap {
        padding-top: 1em;
    }
    .header-text {
        padding-left: 4em;
        padding-right: 4em;
    }
    .header-line {
        top: 2em;
        left: 8.5em;
    }
    .header-btn {
        margin-top: 40px;
    }
    /* Interests */
    #interests h1 {
        font-size: 40px;
    }
    .interest-date,
    .side-date {
        display: none;
    }
    .bottom-post-text hr {
        margin-top: 15px;
    }
    .interest-text-wrap h2 {
        font-size: 38px;
        line-height: 40px;
        font-weight: 700;
    }
    .interest-text-wrap p {
        font-size: 16px;
    }
    .interests-tag-wrap {
        position: relative;
    }
    /* My baby */
    .date-circle-baby-big,
    .date-circle-baby {
        display: none;
    }
    .video-wrapper iframe {
        width: 424px;
        height: 295px;
    }
    #my-baby h2 {
        font-size: 40px;
        margin: auto;
        margin-bottom: 20px;
    }
    #my-baby h3 {
        margin-top: 30px;
    }
    .main-post-my-baby p {
        margin-bottom: 40px;
    }
    .video-container-my-baby {
        text-align: center;
    }
    .tag-baby {
        position: relative;
    }
    .tag-baby hr {
        position: absolute;
        top: 20px;
        right: 47%;
    }
    /* News and Advice */
    .news-date {
        display: none;
    }
    .post-wrapper {
        width: 200px;
        height: auto;
    }
    .text-wrapper-news p {
        font-size: 20px;
        line-height: 25px;
    }
    .newsletter-box,
    .vertical-banner-1 img,
    .banner-square-1 img {
        width: 200px;
        height: auto;
    }
}

@media (min-width: 993px) {
    .navbar-search-bar input {
        width: 150px;
    }
    .navbar-collapse-margin {
        margin-left: 30px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .navbar-search-bar input {
        width: 70px;
    }
}

@media (max-width: 1200px) {
    /* Navbar bottom level */
    .navbar-collapse-margin {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    /* Navbar top level */
    #navbar-top-lvl {
        display: block;
    }
    #navbar-top-lvl i {
        display: none;
    }
    #navbar-top-lvl-2 {
        display: block!important;
    }
    .navbar-collapse-margin {
        padding-left: 30px;
    }
    /* Navbar bottom level */
    .navbar-search-bar {
        margin: 0 auto;
        padding-top: 20px;
        width: 190px;
        font-size: 14px;
    }
    .navbar-search-bar input {
        width: 100px;
    }
    /* Header */
    .header-text h2 {
        font-size: 35px;
    }
    .header-text p {
        font-size: 16px;
        line-height: 22px;
    }
    .header-box h5 {
        font-size: 16px;
    }
    .header-box p {
        font-size: 20px;
    }
    /* Pregnancy Timeline */
    #timeline-pregnancy h2 {
        font-size: 25px;
        line-height: 30px;
    }
    #timeline-pregnancy p {
        font-size: 25px;
        line-height: 30px;
    }
    .line {
        top: 189px;
    }
    /* Gift Box Section */
    .gift-box-section h1 {
        font-size: 35px!important;
    }
    .gift-box-section p {
        font-size: 18px;
    }
    /* Interests */
    .interest-text-wrap h2 {
        font-size: 20px;
        text-align: left;
    }
    .interest-text-wrap p {
        font-size: 16px!important;
        text-align: left;
    }
    .upper-post-text h5 {
        font-size: 20px;
        line-height: 22px;
        text-align: left;
    }
    .upper-post-text p,
    hr {
        text-align: left;
    }
    .bottom-post-text h5 {
        font-size: 20px;
        line-height: 22px;
        text-align: left;
    }
    .bottom-post-text h6 {
        text-align: left;
    }
    .bottom-post-text hr {
        text-align: left!important;
    }
    /* My Baby */
    #my-baby h1 {
        font-size: 34px;
        line-height: 40px;
    }
    .video-wrapper iframe {
        width: 250px;
        height: auto;
    }
    .my-baby-main-paragraph {
        font-size: 18px!important;
    }
    .tag-baby p {
        font-size: 16px;
    }
    .text-wrapper-baby p {
        font-size: 18px;
        line-height: 22px;
    }
    /* News and Advice */
    #news-and-advice h3 {
        font-size: 35px;
        text-align: center;
        margin: auto;
    }
    .post-wrapper {
        width: 100%;
        height: auto;
        text-align: center;
    }
    .text-wrapper-news p {
        font-size: 22px;
        line-height: 28px;
    }
    .newsletter-box,
    .vertical-banner-1 img,
    .banner-square-1 img {
        width: 100%;
        height: auto;
    }
    .newsletter-box {
        margin-left: 0!important;
    }
    .tag-wrapper-news hr {
        left: 46%;
        position: absolute;
    }
    /* Ribbon animation  */
    .ribbon {
        font-size: 17px!important;
        width: 250px;
        position: relative;
        padding: 10px 10px;
        margin: 40px auto;
    }
    @keyframes expand {
        0%,
        100% {
            width: 240px;
        }
        50% {
            width: 260px;
        }
    }
    .ribbon-text i {
        padding: 0 5px;
        font-size: 20px;
    }
    /* Carousel */
    .insta-follow-btn {
        left: 40%;
        top: 45%;
    }
}