.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: none;
}
.site-content { margin:0; }
.container { position: relative; }
.birthday-card, .birthday-logo-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.birthday-starter-box {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 70px 0;
    width: 100%;
}
.birthday-starter-line h3 {
    font-size: 90px;
    font-weight: 700;
    line-height: 1.2;
    color: light-dark(#353535, #e4e4e4);
    margin: 0;
    overflow: hidden;
}
.birthday-starter-line b {
    color: #ffb800;
}
.birthday-starter-line h3 p {
    display: inline-block;
    margin: 0;
    padding-right: 5px;
}
.birthday-starter-line h3 p span {
    display: block;
    font-size: 26px;
    line-height: 1;
}
.logotitle { 
    margin-left: -25px; 
    padding-bottom: 10px;
}
.logotitle img { height: 70px; }
.history-btnbox {
    position: absolute;
    bottom: 0px;
    left: 0;
}
.history-btn {
    position: relative;
    padding: 8px 45px 8px 20px;
    background: transparent;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid light-dark(#333, #e4e4e4);
    color: light-dark(#333, #e4e4e4);
}
.history-btn::after {
    content: '\f177';
    font-family: tpicon;
    position: absolute;
    top: 7px;
    right: 20px;
    font-size: 16px;
}
.history-btn:hover { opacity: .6; }

.birthday-starter {
    height: 100vh;
    min-height: 460px;
    position: relative;
}

#birthdaybgr {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: -1;
}

.birthday-tlo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(185deg, light-dark(#ffffff, #1f1f1f), light-dark(#ffffff, #0b0b0b), light-dark(rgb(255 150 4 / 25%), rgb(255 150 4 / 23%)), light-dark(#ff9400, #a56102));
    background: light-dark(, );

}


.birthday-logo-box, .birthday-logo-box-2 {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translate(0, -50%);
    opacity: .3;
}
.birthday-logo-box-2 { z-index: 2; }
.birthday-logo-box svg, .birthday-logo-box-2 svg {
    width: auto;
    height: 80vh;
}

#tpidot, #tpi1, #tpi2, #tpi3,
#tpidotc, #tpi1c, #tpi2c, #tpi3c {
    fill: transparent;
    stroke-width: 3px;
    pointer-events: none;
    transition: all .5s;
}


#birthdaybgr #tpidotc,
#birthdaybgr #tpi2c,
#birthdaybgr #tpi3c {
    fill: rgb(254 183 0 / 10%);
    stroke: rgb(254 183 0 / 10%);
}
#birthdaybgr #tpi1c {
    fill: rgb(153 153 153 / 10%);
    stroke: rgb(153 153 153 / 10%);
}

#birthdaybgr #tpidot,
#birthdaybgr #tpi2,
#birthdaybgr #tpi3 {
    stroke: #feb700;
}
#birthdaybgr #tpi1 {
    stroke: #999999;
}


#tpidot {
    stroke-dasharray: 368;
    animation: anidotc 10s linear infinite;
}
#tpi1 {
    stroke-dasharray: 520;
    animation: anidotj 10s linear infinite;
}
#tpi2 {
    stroke-dasharray: 236;
    animation: anidotd 10s linear infinite;
}
#tpi3 {
    stroke-dasharray: 1388;
    animation: anidott 20s linear infinite;
}

@keyframes anidotc {
    to {
        stroke-dashoffset: 740;
    }
}

@keyframes anidotj {
    to {
        stroke-dashoffset: 1040;
    }
}

@keyframes anidotd {
    to {
        stroke-dashoffset:474;
    }
}

@keyframes anidott {
    to {
        stroke-dashoffset: 2775;
    }
}


.birthday-card-2, .birthday-card-3, .birthday-card-4, .birthday-card-5,
.birthday-card-6, .birthday-card-7, .birthday-card-8 {
    padding-top: 70px;
}
.history-element {
    max-width: 700px;
}
.history-element h2 {
    font-size: 35px;
    margin-top: 0;
}
.history-element p {
    line-height: 1.6;
}
.history-element p b {
    line-height: 1.6;
}
.history-element h2 {
    display: flex;
    align-items: center;
}

.history-element h2 .tpilg {
    display: flex;
    background-image: url(https://tvpolsat.info/wp-content/themes/sitetheme/images/logo-20lat.png);
    width: 122px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    margin-top: -3px;
}



.history-news {
    position: relative;
    margin: 30px 0;
    display: flex;
}
.history-news-img {
    flex: 0 0 200px;
    position: relative;
}
.history-news-img img {
    position: relative;
    border-radius: 5px;
    display: flex;
}
.history-news-content {
    padding-left: 15px;
    align-self: center;
}
.history-news-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}
.history-news-content p span {
    font-style: italic;
    text-decoration: underline;
}

.history-news-wdate {
    font-size: 26px;
    font-weight: 600;
}




@media (max-width: 1350px) {



}

@media (max-width: 1150px) {
    .logotitle img { height: 65px; }
    .birthday-starter-line h3 { font-size: 80px; }
    .birthday-logo-box svg, .birthday-logo-box-2 svg {
        width: 50vw;
        height: auto;
    }


}


@media (max-width: 1024px) {
    .logotitle { margin-left: -20px; }
    .logotitle img { height: 55px; }
    .birthday-starter-line h3 { font-size: 70px; }
    .history-btn { font-size: 18px; }
    .history-btn::after { font-size: 15px; }
    .birthday-starter { min-height: 390px; }
    .history-element { max-width: 650px; }

}

@media (max-width: 900px) {
    .logotitle {
        margin-left: -17px;
        padding-bottom: 5px;
    }
    .logotitle img { height: 45px; }
    .birthday-starter-line h3 { font-size: 62px; }
    .birthday-starter { min-height: 370px; }


}

@media (max-width: 768px) {
    .birthday-logo-box svg, .birthday-logo-box-2 svg { width: 70vw; }
    .logotitle { margin-left: 0; }
    .logotitle img { height: 45px; }




}

@media (max-width: 600px) {
    .history-element h2 { display: block; }
    .history-element h2 .tpilg { margin-bottom: 10px; }
    .history-news-img { flex: 0 0 165px; }


}

@media (max-width: 480px) {
    .birthday-logo-box, .birthday-logo-box-2 {
        top: 35%;
        right: 50%;
        transform: translate(50%, -50%);
    }
    .birthday-starter-line h3 { font-size: 55px; }
    .logotitle img { height: 40px; }
    .history-btn { font-size: 16px; }
    .history-btn::after { font-size: 14px; }

}

@media (max-width: 425px) {
    .logotitle { padding-bottom: 0; }
    .logotitle img { height: 40px; }
    .birthday-starter-line h3 { font-size: 52px; }
    .history-element h2 { font-size: 29px; }
    .history-element h2 .tpilg { height: 25px; }
    .history-news { flex-wrap: wrap; }
    .history-news-img { flex: 0 0 100%; }
    .history-news-content { padding: 15px; }


}

@media (max-width: 375px) {
    .birthday-starter-line h3 { font-size: 45px; }
    .logotitle img { height: 36px; }
    .history-element h2 { font-size: 25px; }
   .history-element h2 .tpilg { height: 22px; } 


}