@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
    font-family: "Agenor";
    src:
        url("../fonts/Agenor-Bold.woff2") format("woff2"),
        url("../fonts/Agenor-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Agenor";
    src:
        url("../fonts/Agenor-Light.woff2") format("woff2"),
        url("../fonts/Agenor-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
}

ƒ ::-moz-selection {
    background-color: rgb(77, 0, 158);
    color: #fff;
}

ƒ ::selection {
    background-color: rgb(77, 0, 158);
    color: #fff;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: #4e009e;
}

::-webkit-scrollbar-thumb {
    background: #140525;
}

::-webkit-scrollbar-thumb:hover {
    background: #00244c;
}

.loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #140525;
    z-index: 9000;
    pointer-events: none;
    animation: fadeOut 1.5s forwards;
    pointer-events: none;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

body {
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    min-height: 100dvh;
    background-color: #140525;
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(to left, rgb(77, 0, 158), rgb(21, 0, 43));
}

h1,
h2,
h3 {
    font-family: "Agenor", sans-serif;
    color: #fff;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

p,
li,
td {
    line-height: 1.5rem;
    color: #fff;
    opacity: 0.75;
    text-wrap: balance;
}

.p-zero p {
    margin-bottom: 0;
}

i,
em {
    font-style: italic;
}

a {
    color: #eb59c3;
    text-decoration: none;
}

.youtube-play{
    overflow: hidden;
    margin: 0 auto;
    padding: 0 !important;
    display: block;
    border-radius: 15px;
    margin-top: 2rem;

    svg{
        max-width: 50px;
    }
    span{
        display: block;
        color: #FFF;
        font-size: 0.9rem;
    }

}

.close {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    top: 0rem;
    right: 0rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    background-color: #eb59c3;
    border-radius: 0 0.5rem 0 0.5rem;
}

.read-more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: 0.3s;
}

.read-more:hover {
    background-color: #eb59c3;
}

.button{

    a{
        color: #fff;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 3rem;
        font-weight: 700;
        font-size: 1rem;
        background-color: rgba(255, 255, 255, 0.1);
        transition: 0.3s;
        &:hover{
            background-color: #eb59c3;
        }
    }
}



.logo {
    text-align: center;
    margin: 3.5rem 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    font-family: "Agenor", sans-serif;
}

.logo span {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    opacity: 0.75;
}

.logo span:nth-child(1) {
    font-size: 3rem;
    line-height: 3rem;
}

.logo span:nth-child(2) {
    font-size: 1rem;
    line-height: 1.5rem;
}

.logo span:nth-child(3) {
    font-size: 1.75rem;
    line-height: 2rem;
}

.home header .logo {
    display: none;
}

.location {
    display: flex;
    margin: 1rem 0 0 0;
}

.intro {
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-bottom: 2rem;

    iframe{
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    .intro h3 {
        max-width: 65vw;
        margin: 0 auto;
        line-height: 1.5rem;
    }

    .intro p {
        font-size: 1rem;
    }



}

.cto {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .cto {
        gap: 1rem;
    }
}

.cto a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

.cto .more {
    background-color: rgba(255, 255, 255, 0.5);
    color: #13171a;
}

.cto .more:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.cto .get-ticket {
    color: #fff;
    background-color: #eb59c3;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.cto .get-ticket:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 1rem;
    right: 1rem;
    background-color: #eb59c3 !important;
    gap: 0.5rem;
    border-radius: 5px;
    padding: 0.5rem 0.5rem;
    box-shadow: #13171a 0px 0px 10px 0px;
}

.mobile-menu hr {
    height: 3px;
    width: 2rem;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    left: 50%;
    margin-top: 1rem;
}

nav ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    list-style: none;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    font-weight: bold;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    font-family: "Agenor", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4rem;
    line-height: 1rem;
    padding-top: 0.6rem;
}

nav ul li a img {
    height: 1rem;
    width: auto;
    border-radius: 10px;
}

nav ul li.current-menu-item a {
    background-color: #140525;
    color: #fff;
}

nav ul span {
    position: absolute;
    z-index: -1;
    content: "";
    height: 100%;
    width: auto;
    display: block;
    pointer-events: none;
    border-radius: 40px;
    background-color: #eb59c3;
    transition: all 0.2s ease-in-out;
}

nav.main-menu.open {
    display: flex;
}

@media screen and (max-width: 768px) {
    nav.main-menu {
        display: none;
        position: fixed;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #140525;
        z-index: 9900;
    }

    nav.main-menu ul {
        flex-direction: column;
    }

    nav.main-menu ul li a {
        text-align: center;
    }
}

nav.social-menu {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

nav.social-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

nav.social-menu ul li::after {
    display: none;
}

nav.social-menu ul li a {
    padding: 0;
    height: 1.5rem;
}

nav.social-menu ul li a svg {
    fill: #fff;
    height: inherit;
    width: inherit;
}

nav.footer-menu {
    margin-top: 1.5rem;
}

nav.footer-menu ul {
    gap: 1rem;
}

nav.footer-menu ul li::after {
    display: none;
}

nav.footer-menu ul li a {
    padding: 0;
    font-size: 0.75rem;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

nav.logod-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;

    /* flex content same height */
    align-items: stretch;
}

nav.logod-menu div {
    padding: 0 1rem;
    /* border-right: 1px solid rgba(255, 255, 255, 0.25); */
}

nav.logod-menu div b {
    font-size: 1rem;
    font-weight: normal;
    display: block;
    text-align: center;
}

nav.logod-menu div:last-child {
    /* border-right: none; */
}

nav.logod-menu a {
    display: inline-flex;
    min-height: 70px;
    justify-content: center;
    align-items: center;
}

nav.logod-menu a img {
    height: 0px;
    width: auto;
}

nav.logod-menu a.tallinn {
    padding-top: 10px;
}

nav.logod-menu a.tallinn img {
    height: 25px;
}

nav.logod-menu a.tehnopol img {
    height: 50px;
}

nav.logod-menu a.inkubaator img {
    height: 40px;
	margin-right:50px;
}

body.home {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: linear-gradient(to left, rgb(77, 0, 158), rgb(21, 0, 43));
}

body.home section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

body.home section .logo {
    z-index: 1001;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    font-family: "Agenor", sans-serif;
    position: relative;
    text-align: center;
    margin-top: 15vh;
}

body.home section .logo span {
    color: #fff;
    font-weight: 700;
}

body.home section .logo span:nth-child(1) {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: clamp(3rem, 7vw, 5rem);
}

body.home section .logo span:nth-child(2) {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 1.5rem);
    line-height: clamp(1.5rem, 3vw, 2rem);
}

body.home section .logo span:nth-child(3) {
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 2.7rem);
    line-height: clamp(1rem, 3vw, 3rem);
}

body.home section .logo span:last-child {
    color: #94faa1;
    font-size: 1.25rem;
    line-height: 1rem;
    margin-top: 1rem;
}

body.home article {
    position: absolute;
    flex-direction: column;
    z-index: 5000;
    background-color: #4e009e;
    top: 4.5rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    gap: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
    overflow-y: scroll;
    display: flex;
    padding: 3rem;
}

body.home article h1 {
    margin: 0;
    font-size: 2rem;
}

body.home article p {
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    flex-grow: 1;
}

main h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

main h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

main p {
    margin-bottom: 1rem;
}

main a {
    color: #61c3fa;
}

main ul,
main ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

main li {
    list-style-type: circle;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.5rem;
}

footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #fff;
}

@media screen and (max-width: 768px) {
    footer {
        margin-bottom: 6rem;
    }
}

footer p {
    font-size: 0.85rem;
    line-height: 1.25rem;
}

footer p a {
    display: inline-block;
    margin: 0 0.5rem;
    color: #fff;
    text-decoration: underline;
}

footer:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    footer p a {
        display: block;
        text-align: center;
        width: 100%;
    }
}

.article-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-grid{
    article {
        display: flex;
        flex-direction: column;
        flex: 1 1 300px;
        min-width: 320px;
        max-width: 400px;
        padding: 1rem;
        text-align: center;
        /* background-color: rgba(255, 255, 255, 0.02); */
        background: linear-gradient(to bottom, rgba(255,255,255,0.05) 20%, transparent);
        border-radius: 1rem;
        transition: background-color 0.3s ease;

        &:hover{
            background: rgba(255, 255, 255, 0.1);
        }

        .read-more{
            margin-top: auto;
        }

        .article-image {
            display: flex;
            justify-content: center;
            align-items: center;
            aspect-ratio: 4/3;
            max-height: 300px;

            img {
                width: 100%;
                height: 100%;
                -o-object-fit: contain;
                object-fit: contain;
                border-radius: 0.5rem;
            }

        }
    }

}

.article-grid article.news .article-image img {
    -o-object-fit: cover;
    object-fit: cover;
}

.article-grid article.news h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    text-wrap: balance;
}

.wp-block-table {
    overflow-x: unset;
}

.wp-block-table tr td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.wp-block-table tr td:first-child {
    white-space: nowrap;
    font-weight: bold;
    font-family: "Agenor", sans-serif;
}

.wp-block-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.1);
}

.wp-block-table .wp-element-caption {
    font-size: 1rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
}

.single article {
    padding: 0 3rem;
    max-width: 600px;
}

.single article .article-image {
    margin-bottom: 2rem;
}

.single article .article-image img {
    width: 100%;
}

.single.post article {
    max-width: 1200px;
}


.blocks-gallery-item{
    /* opacity: 0.85; */
}