@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

::selection{
    background-color: #a8a8a834;
    color: var(--color-accent-primary);
}
:root{
    /* background */
    --color-bg-primary: #161616;
    --color-bg-secondary: #212121;
    --color-bg-secondary-transparent: #212121e0;
    --color-bg-enable: #a6fdc3;
    --color-bg-disable: #FFC7C8;
    --color-bg-muted: #2C2C2C;
    /* text */
    --color-text-primary: #FCFCFC;
    --color-text-secondary: #CFCFCF;
    --color-text-tertiary: #919191;
    --color-text-muted: #A8A8A8;
    --color-text-enable: #116831;
    --color-text-disable: #AD0003;
    --weight-semiBold: 600;
    --weight-medium: 500;
    /* buttons */
    --color-text-btn: #FCFCFC;
    --color-accent-primary: #006DFF;
    --color-accent-secondary: #3E3E3E;

    --header-height: 70px;
    --gap: 10px;
    --padding: 2.5rem 3.5rem
}
.lightmode{
    /* background */
    --color-bg-primary: #f0f0f0;
    --color-bg-secondary: #fcfcfc;
    --color-bg-secondary-transparent: #fcfcfce0;
    --color-bg-enable: #116831;
    --color-bg-disable: #FFC7C8;
    --color-bg-muted: #F0F0F0;
    /* text */
    --color-text-primary: #161616;
    --color-text-secondary: #484848;
    --color-text-tertiary: #373737;
    --color-text-muted: #515151;
    --color-text-enable: #dcfce7;
    --color-text-disable: #AD0003;
    --weight-semiBold: 600;
    --weight-medium: 500;
    /* buttons */
    --color-text-btn: #FCFCFC;
    --color-accent-primary: #8739FA;
    --color-accent-secondary: #373737;
}
*{
    padding: 0;
    margin: 0;
    font-family: inherit;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + calc(var(--gap)*2));
}
body{
    margin-top: calc(var(--header-height) + var(--gap));
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg-primary);
    padding: var(--gap);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-text-primary);
    gap: var(--gap);
    transition: all .2s;
}
header, main, footer{
    width: 100%;
    max-width: 1255px;
    box-sizing: border-box;
}
header, #home, #services, #faq, #contact, footer{
    background-color: var(--color-bg-secondary);
    border-radius: 25px;
    padding: var(--padding);
}
/* header */
header{
    display: flex;
    top: 0;
    margin-top: var(--gap);
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    transition: box-shadow .1s ease-in-out;
    height: var(--header-height);
    width: calc(100% - calc(var(--gap) * 2));
    z-index: 1;
}
header.scrolled{
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    background-color: var(--color-bg-secondary-transparent);
    backdrop-filter: blur(10px);
}
#logo{
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: var(--weight-semiBold);
}
.menu{
    max-height: 0;
    overflow: hidden;
    transition: all .3s cubic-bezier(0.4,0,0.2,1);
    position: fixed;
    padding: 0;
    background-color: transparent;
}
.links{
    display: flex;
    gap: 2rem;
    height: auto;
}
.links li{
    list-style: none;
}
.links a{
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all .3s ease-in-out;
}
.links a:hover{
    color: var(--color-accent-primary);
}
.actions{
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 1.5rem;
}
#contact-btn{
    text-decoration: none;
    color: var(--color-text-btn);
    background-color: var(--color-accent-secondary);
    padding: .5rem 1rem;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: var(--weight-medium);
    border: solid 3px transparent;
    background-clip: padding-box;
    transition: all .2s ease-in-out;
}
#contact-btn:hover{
    box-shadow: 0px 0px 0px 1px var(--color-accent-secondary);
}
#contact-btn:active{
    transform: scale(.98);
}
#theme-switch{
    color: var(--color-text-primary);
    background: none;
    border: none;
    transition: color .2s ease-in-out;
}
#theme-switch i{
    font-size: 2.375rem;
    cursor: pointer;
}
#theme-switch:hover{
    color: var(--color-text-secondary);
}
#theme-switch i:last-child{
    display: none;
}
.lightmode #theme-switch i:first-child{
    display: none;
}
.lightmode #theme-switch i:last-child{
    display: block;
}
/* main */
main{
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.hero-section{
    background-color: var(--color-bg-secondary);
    padding: var(--padding);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6rem;
}
/* status */
.status{
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background-color: var(--color-text-enable);
    padding: .75rem 1.5rem;
    border-radius: 999px;
    color: var(--color-bg-enable);
}
.status-dot {
    position: relative;
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background-color: var(--color-bg-enable);
    z-index: 0;
}
.status-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--color-bg-enable);
    animation: blink 1s cubic-bezier(0,0,.2,1) infinite;
}
.status-label {
    color: var(--status-color);
    margin-left: 1rem;
}
/* status language */
:lang(cs-CZ) .status-label::before{ content: "Otevřený příležitostem"; }
:lang(en) .status-label::before{ content: "Open to Opportunities"; }
@keyframes blink {
    75%,
    to {
        transform: scale(2);
        opacity: 0; 
    }
}
/* hero */
.hero-intro{
    display: flex;
    flex-direction: column;
    gap: 5rem; 
}
.hero-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.intro-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.2rem;
    height: auto;
}
.welcome{
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.welcome-text{
    color: var(--color-text-tertiary);
    font-size: 1.625rem;
    font-weight: var(--weight-semiBold);
}
.name-title h1 {
    color: var(--color-text-primary);
    font-size: 3.625rem;
    font-weight: var(--weight-semiBold);
}
.name-title h2{
    color: var(--color-text-secondary);
    font-size: 2.375rem;
    font-weight: var(--weight-medium);
}
.description{
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}
.description p{
    max-width: 570px;
    color: var(--color-text-muted);
    font-size: 1.125rem;
}
.buttons{
    display: flex;
    gap: 1.25rem;
}
.btn{
    text-decoration: none;
    color: var(--color-text-primary);
    border-radius: 40px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 4px transparent;
    background-clip: padding-box;
    transition: box-shadow .2s ease-in-out;
    gap: 1rem;
}
.btn:active{
    transform: scale(.98);
    transition: .05s ease-in-out;
}
.btn-secondary:hover{
    box-shadow: 0px 0px 0px 2px var(--color-accent-secondary);
}
.btn-primary:hover{
    box-shadow: 0px 0px 0px 2px var(--color-accent-primary);
}
.btn-secondary{
    background-color: var(--color-accent-secondary);
    color: var(--color-text-btn);
    padding: 1rem 1.5rem;
}
.btn i{
    font-size: 1.875rem;
}
.btn i:last-child{
    display: none;
}
.btn:hover i:first-child{
    display: none;
}
.btn:hover i:last-child{
    display: block;
}
.btn-primary{
    background-color: var(--color-accent-primary);
    color: var(--color-text-btn);
    padding: 1rem 2.2rem;
}
.logo img{
    width: 350px;
    border-radius: 100%;
    border: 15px solid var(--color-bg-muted);
}
/* tools */
.spinner{
    --width: 9rem;
    --height: 4.5rem;
    --quantity: 5;
    width: 100%;
    height: var(--height);
    /* border: 1px solid red; */
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 20%,
        #000 80%,
        transparent 100%
    );
}
.tools{
    display: flex;
    justify-content: space-between;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.tool{
    --second: 15s;
    font-size: calc(var(--height) / 2.5);
    color: var(--color-text-secondary);

    width: 100%;
    height: var(--height);
    animation: autorun var(--second) linear infinite;
    animation-delay: calc((var(--second) / var(--quantity)) * (var(--position) - 1) - var(--second));
    display: flex;
    align-items: center;
    position: absolute;
    left: 100%;
    /* justify-content: space-between; */
}
.tool i{
    font-size: var(--height);
}
@keyframes autorun{
    from{
        left: 100%;
    }to {
        left: calc(var(--width) * -1);
    }
}
/* services */
.services-section{
    padding: var(--padding);
    display: flex;
    flex-direction: column;
    gap: 3.75rem;
}
.services-header{
    text-align: center;
}
.services-header h3{
    font-size: 1.625rem;
    color: var(--color-text-secondary);
    font-weight: var(--weight-medium);
}
.services-header h2{
    font-size: 2.75rem;
    color: var(--color-text-primary);
    font-weight: var(--weight-semiBold);
}
.services-cards{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.25rem;
}
.card{
    width: 100%;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    background-color: var(--color-bg-muted);
    box-sizing: border-box;
    border-radius: 20px;
}
.service-btn{
    background-color: var(--color-accent-primary);
    padding: 1rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1.375rem;
    color: var(--color-text-btn);
    border: solid 4px transparent;
    background-clip: padding-box;
    transition: all .2s ease-in-out;
    text-align: center;
}
.service-btn:hover{
    box-shadow: 0px 0px 0px 2px var(--color-accent-primary);
}
.service-btn:active{
    transform: scale(.98);
    transition: .05s ease-in-out;
}
.card-content{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}
.card-content p{
    font-size: 1rem;
    color: var(--color-text-secondary);
}
.card-header{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}
.card i{
    font-size: 1.25rem;
    background-color: var(--color-accent-secondary);
    width: fit-content;
    padding: 1rem;
    border-radius: 10px;
    color: var(--color-text-btn);
}
.card-header h4{
    font-weight: var(--weight-semiBold);
    color: var(--color-text-primary);
    font-size: 2rem;
    width: 90%;
}
/* footer */
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.footer-copy{
    font-size: 1.25rem;
}
.footer-socials{
    display: flex;
    gap: 1.75rem;
}
.footer-socials a{
    text-decoration: none;
    color: var(--color-text-primary);
}
.footer-socials i{
    font-size: 2.2rem;
}
.footer-socials a:nth-child(1):hover{
    color: #006eab;
    transition: .3s;
}
.footer-socials a:nth-child(2):hover{
    color: #6e5494;
    transition: .3s;
}
.footer-socials a:nth-child(3):hover{
    color: #d62976;
    transition: .3s;
}
.footer-socials a:hover i{
    animation: slide-in-top .5s both;
}
@keyframes slide-in-top {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* faq */
.faq-section{
    display: flex;
}
.faq-left{
    display: flex;
    flex-direction: column;
    max-width: 610px;
    width: 100%;
    gap: 1.25rem;
}
.faq-right{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.faq-item{
    border-radius: 20px;
    background-color: var(--color-bg-muted);
    padding: 1.25rem 1.875rem;
    transition: all .2s ease-in-out;
}
.faq-question{
    font-size: 1.25rem;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.4;
}
.faq-answer{
    margin-top: 0;
}
.faq-icon{
    font-size: 1.875rem;
    font-weight: 100;
    margin-left: 1rem;
    transition: .2s;
}
.faq-icon:hover{
    cursor: pointer;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    color: var(--color-text-secondary);
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}
.faq-answer a{
    color: var(--color-accent-primary);
}
.faq-item.open .faq-answer {
    max-height: 220px;
}
.faq-item.open .faq-answer{
    margin-top: 1rem;
}
.faq-header{
    line-height: 1.2;
}
.faq-right h2{
    font-size: 2.5rem;
    font-weight: var(--weight-semiBold);
}
.faq-right h3{
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    font-weight: var(--weight-medium);
    text-align: right;
}
.recolor-svg{
    fill: var(--color-accent-primary);
    transition: .2s;
}
/* contact */
.contact-section{
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}
.contact-left{
    display: flex;
    flex-direction: column;
    max-width: 40%;
    gap: 0.652rem;
    width: 100%;
}
.contact-left h2{
    font-size: 2.5rem;
    font-weight: var(--weight-semiBold);
    color: var(--color-text-primary);
    line-height: 1.3;
}
.contact-desc{
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-weight: normal;
}
/* alerts */
.alert{
    position: fixed;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    opacity: 0;
    transition: .7s ease-out;
    max-width: 70%;
    z-index: 999;
}
.alert-ok{
    background-color: #c3f3d7;
    color: #24ad5d;
    border-left: 10px solid #2fd573;
}
.alert-info{
    background-color: #c3d8f3;
    color: #247fad;
    border-left: 10px solid #2f85d5;
}
.alert-error{
    background-color: #f3c3c3;
    color: #ad2424;
    border-left: 10px solid #d52f2f;
}
.alert-warning{
    background-color: #f3e9c3;
    color: #ad9224;
    border-left: 10px solid #d59e2f;
}
.alert.show{
    font-size: 1.125rem;
}
.alert.show{
    top: 100px;
    opacity: 1;
}