html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}


html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
    cursor: default;
}


/* HEADER */

header {
    position: fixed;
    z-index: 1;
    width: 100%;
    background-image: url(../../image/header.webp);
    background-size: cover;
}

header .container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    /* align-items: center; */
    padding: 1.5rem 1rem;
}

header h3 {
    margin: 0;
    font-size: 2rem;
}

nav {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: #DDDDDD;
    margin-right: 1.5rem;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover, footer a:hover {
    color: #E6EEF7;
    text-shadow: 0px 0px 10px #c6c6c6;
}


/* HAMBURGER */

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 25px;
    z-index: 1000;
}

.hamburger span {
    height: 3px;
    background: white;
    margin: 4px 0;
    width: 100%;
    border-radius: 2px;
    transition: 0.4s ease;
}

/* ANIMACE NA KÅÃÅ½EK */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.toggle {
    display: none;
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    inset: 0;
}

.toggle svg {
    position: absolute;
}





h2 {
    background: linear-gradient(to right, #1A4E8A, #5fa8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.emoji {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: inherit !important;
}


.main-section {
    padding: 2rem 0;
    text-align: center;
}

section {
    width: 100%;
}

.container {
    max-width: 940px;
    margin: 0 auto;
    padding: 3rem;
}

.content-box {
    scroll-margin-top: 80px;
} 





.pillars {
    display: flex;
    flex-direction: column;
    width: 90%;
    gap: 2rem;
    margin: 2rem auto;
}

.pillar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #9E9E9E;
}

/* .pillar:hover {
    box-shadow: 0px 0px 40px 0px #9E9E9E;
} */

.pillar a {
    text-decoration: none;
}

.pillar a:hover {
    color: #1A4E8A;
}

.pillar p {
    text-align: center;
}

.pillar h2 {
    color: #1A4E8A;
    margin: 0;
    text-align: center;
}

/* CO-DELAME */
#co-delame .pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
}

#co-delame .pillar {
    flex: 1 1 30%;
    max-width: 30%;
    background-color: #f4f4f4;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #9E9E9E;
    text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {
    #co-delame .pillar {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

/* Mobil */
@media (max-width: 767px) {
    #co-delame .pillar {
        flex: 1 1 100%;
        max-width: 100%;
    }
}



/* FOOTER */

footer {
    color: white;
    padding: 2rem 1rem;
    background-image: url(../../image/footer.webp);
    background-size: cover;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1.5rem 1rem;
}

footer h4 {
    margin-bottom: 1rem;
    color: #5fa8ff;
    text-shadow: 0 0 5px rgba(95, 168, 255, 0.5);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #dddddd;
    text-decoration: none;
}

footer .container > div {
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
}

footer .container > div:first-child {
    border-left: none;
}






.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.ml-2 {
    margin-left: .5rem;
}

.text-color\[\#dddddd\] {
    color: #dddddd;
}

.text-color\[\#b3d1f3\] {
    color: #b3d1f3;
}

.bg-\[\#b3d1f3\] {
    background: #b3d1f3;
}

.bg-image {
    background-image: url(../../image/hero.webp);
    background-size: cover;
}

.w-full {
    width: 100%;
}







@media (min-width: 768px) {
    .pillars {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .pillar {
        width: 30%;
    }

    .hamburger {
        display: none;
    }

    nav {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 4rem;
    }

    nav a {
        margin-bottom: 1rem;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .sm-w-full {
        width: 100%;
    }

    footer .container > div {
        border-left: none;
    }
}