@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0px;
    padding: 0px;
    background-color: black;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

header {
    width: 100%;
    background: white;
    color: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.toptop {
    background: linear-gradient(180deg, #3552FD 0%, #21143E 11.2%, #1A0209 18%, #19135C 45%, #0243FF 78%, #4961FD 85%, #FFF 100%);
}

#holder {
    width: 140px;
    height: 72px;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    position: relative;
    flex-shrink: 0;
}

.logo {
    left: 50px;
    top: 20px;
}

.group15 {
    width: 20px;
    height: 20px;
    margin-bottom: 20px;
}

.group16 {
    width: 20px;
    height: 20px;
    position: absolute;
    left: -40px;
    top: 22px;
}

.group15, .logo {
    position: static;
}

nav {
    font-size: 18px;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: black;
}

.mygtukas, button, .daugiau {
    padding: 10px;
    padding-left: 70px;
    padding-right: 70px;
    color: white;
    background-color: #1243ff;
    border-right: solid white 20px;
    border: 0px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    border-radius: 20px;
    text-transform: uppercase;
}

.daugiau {
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    padding: 10px;
    color: white;
    background-color: #1243ff;
    border-right: solid white 20px;
    border: 0px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    border-radius: 20px;
    text-transform: uppercase;
}

.suzinok {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
    color: black;
    border-right: solid white 20px;
    border: 0px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    width: 150px;
    border-radius: 20px;
    text-transform: uppercase;
}

.mygtukas:hover {
    background-color: #1639c1;
}

.suzinok:hover {
    background-color: #ddd;
}

.baltas {
    background-color: white;
    color: black;
}

.baltas:hover {
    color: black;
    background-color: #eee;
}

.pirmas {
    width: 100%;
    background: linear-gradient(180deg, rgba(53, 82, 255, 1) 0%, rgba(32, 16, 48, 1) 12%, rgba(27, 1, 2, 1) 18%, rgba(26, 1, 7, 1) 20%, rgba(22, 53, 254, 1) 76%, rgba(243, 245, 248, 1) 100%);
    min-height: 500px;
    color: white;
}

.talpa {
    width: 1180px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
}

.talpa b {
    font-family: "m1font", sans-serif;
    font-size: 26px;
}

.talpa2 {
    width: 1244px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease-in-out;
}

.nom {
    font-size: 20px;
}

.antras {
    width: 100%;
    background-color: black;
    color: white;
    padding-top: 40px;
    padding-bottom: 40px;
}

.trecias {
    width: 100%;
    background-color: white;
    color: black;
    padding-top: 40px;
    padding-bottom: 40px;
}

h6 {
    font-family: "m1font", sans-serif;
    font-size: 80px;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}

h2 {
    font-family: "m1font", sans-serif;
    font-size: 80px;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    color: transparent;
    -webkit-text-stroke: 0.5px #fff;
}

h3 {
    font-family: "m1font", sans-serif;
    font-size: 60px;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}

h4 {
    font-family: "m1font", sans-serif;
    font-size: 18px;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    letter-spacing: 0.05em;
}

h5 {
    font-family: "m1font", sans-serif;
    font-size: 50px;
    padding: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    color: #1243ff;
}


.alt {
    font-feature-settings: 'ss01';
}

.row {
    display: flex;
    gap: 20px;
}

.container {
    display: flex;
    justify-content: space-between;
    width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 32px;
    position: relative;
}

.column {
    width: 48%;
}

.first-column img {
    width: 100%;
    height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.second-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upper-part {
    position: relative;
    height: 360px;
}

.lower-part {
    padding: 20px;
    color: white;
}

.lower-part p, .lower-part h1 {
    display: inline;
    line-height: 150%;
    font-size: 18px;
}

.col-40 {
    width: 40%;
}

.col-60 {
    width: 60%;
    line-height: 200%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.heading-wrapper {
    position: relative;
    display: inline-block;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.item {
    flex: 1;
    text-align: center;
    padding: 5px;
}

.item h4 {
    font-size: 14px;
}

hr {
    border: 0px;
    height: 1px;
    background-color: #555;
    margin-bottom: 20px
}

.antras a {
    color: white;
    text-decoration: none;
}

.antras a:hover {
    text-decoration: underline;
    color: white;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    font-size: 14px;
}

.footer-right {
    display: flex;
    gap: 10px;
}

.footer-logo {
    height: 30px;
}

.logob {
    margin-top: 0px;
    margin-bottom: 10px;
}

.news-row {
    display: flex;
    gap: 30px;
    background: black;
    padding: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.news-item {
    flex: 1;
    color: white;
    max-width: 360px;
}

.news-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 16px;
    line-height: 1.4;
}

.arrow-column {
    cursor: pointer;
    transition: all 0.3s ease-out;
    border-radius: 20px;
    text-transform: uppercase;
    text-align: center;
    flex: 0 0 100%;
}

.arrow-column a {
    color: #666;
    padding-left: 20px;
    padding-right: 20px;
}

.arrow-column a:hover {
    text-decoration: none;
}

.logob, .logoc {
    display: block;
    width: 100%;
}

.img-wrapper {
    position: relative;
    display: none;
}

.logolink {
    position: absolute;
    display: block;
    top: 120px;
    right: 00px;
    width: 320px;
    height: 100px;
    z-index: 10;
}

.right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rodykle {
    position: absolute;
    top: 22px;
    right: 32px;
    cursor: pointer;
}

.nominantas {
    border-radius: 16px;
    background: #F2F2F2;
    padding: 16px 32px;
    position: relative;
    max-height: 64px;
    overflow: hidden;
    margin-bottom: 24px;
    transition:max-height 0.3s ease;
}

.bal_pavad {
    color: #0243FF;
    font-family: "m1font", sans-serif;
    font-size: 28px;
}

.bal_tekst {
    font-size: 18px;
    padding-top: 20px;
    line-height: 150%;
    width: 54%;
}

.nominantas.open {
    height: auto;
    max-height: 1000px;
}

.nominantas.open .rodykle {
    transform: rotate(180deg);
}

.bal_contain {
    display: grid;
    grid-template-columns: repeat(6, 180px);
    gap: 20px;
    justify-content: center;
}

.grid-item {
    text-align: center;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.box {
    width: 180px;
    height: 180px;
    background-color: white;
    margin-top: 6px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    position: relative;
    background-size:cover;
}

.heart-icon {
  position: absolute;
  top: 150px;
  right: 10px;
  cursor: pointer;
  color: white; /* default = white heart */
}

.heart-icon svg use {
  transition: color 0.1s ease;
}

.heart-icon.voted {
  color: #0243FF; /* solid blue heart */
  cursor: auto;
}

.heart-icon.inactive {
  pointer-events: none;
  cursor: auto;
} 

.image-switcher {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 385px;
    height: 313px;
}

.image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    pointer-events: none;
}

.image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-link.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hidden-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}

.hidden-text.show {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
}

.trum {
    margin-left: -20px;
}

.line-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;
    position: relative;
    flex-wrap: wrap;
}


.line-text b {
    position: relative;
    z-index: 1;
}

.line-text .line-middle {
    flex: 1;
    border-bottom: 1px solid white;
    margin: 0 0.5rem;
    align-self: center;
    z-index: 0;
}

.rod {
    flex-shrink: 0;
    cursor: pointer;
    font-size: 0.9em;
    line-height: 1;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    gap: 5px;
}

.burger span {
    height: 3px;
    background: black;
    border-radius: 2px;
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.upper {
    text-transform: uppercase;
}

.pilkas {
    display: flex;
    padding-top: 28px;
    padding-bottom: 28px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    background: #F2F2F2;
}

.paveiksliukas {
    margin-top:24px;
}


.duomenys {
    text-decoration:underline;
    cursor:pointer; 
}

.overlay-dnm {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 9998;
}

.modal-dnm {
  position: fixed;
  inset: 5% 50% auto 50%;
  transform: translate(-50%, 0);
  width: min(900px, 92vw);
  max-height: 90vh;
  overflow: visible; /* no outer scrollbar */
  background: black;
  color: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  display: none;
  z-index: 9999;
  padding: 24px 32px;
}

.modal-content {
  clear: both;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
  padding: 20px;
}

.modal-content a {color:white;}

.modal-content:focus {
  outline: none;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  margin: -8px -8px 8px 8px;
  color: white;
}

.nominantas.open-small {
  height: 340px;
  transition: height 0.3s ease;
}

.blue2 {color:#1243ff;padding:6px; padding-left:12px;padding-right:12px;margin-top:18px;border-radius:10px;border: solid 1px #1243ff;font-size:14px;}

@media (min-width: 1081px) {
    .wrapper-desktop {
        display: inline-block;
        width: 100%;
    }
}

@media (max-width: 1080px) {

.nominantas.open-small {
  height: 350px;
  transition: height 0.3s ease;
}

   .trum {
       margin-left: -8px;
    }
    .pilkas {
        font-size:15px;
    }

    .grid-item {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    
    .grid-item p {
        width:180px;
        margin-left:6px;
    }

    .talpa b {
        font-size: 19px;
    }

    .talpa {
        font-size: 16px;
    }

    .bal_contain {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .container {
        flex-direction: column;
        width: 100%;
        padding: 16px;
    }

    .first-column {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .upper-part {
        margin-top: -520px;
    }

    .image-switcher img {
        width: 100%;
        height: auto;
        display: block;
    }

    .column {
        width: 100%;
        padding: 8px 0;
    }

    .first-column, .second-column {

    }

    .image-switcher {
        width: 150px;
        left: 10px;
    }

    .lower-part {
        padding: 0px;
        padding-top: 130px;
    }


    .nominantas {
        padding: 10px;
        margin-bottom: 12px;
    }

    .bal_pavad {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 44px;
        font-size: 18px;
        position: relative;
    }

    .text-wrapper {
        text-align: left;
        width:90%;

    }

    .rodykle {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
    }


    .bal_tekst {
        width: 100%;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .bal_contain {
        gap: 10px;
    }

    .grid-item {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        height: 90px;
        background-color: white;
    }

    .box {
        width: 90px;
        height: 90px;
        margin: 0px;
    }

    .heart-icon {
        position: absolute;
        top: 30px;
        right: 10px;
    }

    .nominantas.open {
        height: auto;
        max-height: 1000px;
    }

    .editable {
        width: 100%;
    }

    .wrapper-mobile {
        display: inline-block;
        width: 100%;
        margin-top: 0px;
    }

    .logob {
        display: none;
    }

    .item {
        text-align: left;
    }

    .group16 {
        position: relative;
        left: 0px;
        top: 0px;
    }

    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .talpa {
        padding: 2%;
        width: 96%;
        padding-top: 0px;
    }

    .talpa2 {
        padding: 2%;
        width: 96%;
    }

    .flex-container {
        flex-direction: column;
    }

    .row {
        flex-direction: column;
    }

    h6 {
        font-size: 50px;
        white-space: normal;
        max-width: 100%;
    }

    #naujienos h6 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 50px;
    }

    h3 {
        font-size: 40px;
    }

    h4 {
        font-size: 16px;
    }

    h5 {
        font-size: 20px;
    }

    .mygtukas {
        padding: 10px;
    }

    .col-40, .col-60, .btn {
        width: 100%;
    }

    .logoc {
        display: inline-block;
        width: 100%;
        margin-top: 0px;
    }

    .scaling-text {
        white-space: nowrap;
        width: 100%;
        text-align: center;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .news-row {
        flex-direction: column;
        align-items: center;
    }

    .arrow-column {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        font-size: 24px;
    }

    .news-item {
        max-width: none;
        width: 100%;
        text-align: center;
    }

    nav.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .daugiau {
        content: " >";
    }
}
