@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kaushan+Script&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
    color: white;
    overflow-x: hidden;
}


/* --------------------------------- TYPOGRAPHY --------------------------------*/
h1,
h2,
h3 {
    font-family: "Kaushan Script", serif;
    font-size: 2.5rem;
    margin-bottom: .5rem;
}

p,
li,
a {
    font-family: "Inter", sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    line-height: 1.4;
}

i {
    font-family: "Inter", sans-serif;
    font-weight: 100;
    font-size: 1rem;
    line-height: 1.4;
    font-style: italic;
}

ul {
    padding-left: 0;
}

li {
    list-style-type: none;
    line-height: 2;
}

a {
    color: white;
}

a:has(svg.link) {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*----------------------------------- LAYOUT --------------------------------- */
header {
    background-image: linear-gradient(to bottom, rgba(98, 98, 98, 0.2), rgb(0, 0, 0)), url('img/header-bild-petraremy.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    width: 100vw;
    height: 100vh;

    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: calc(50vw - 25px) 50vw;
}

img.heart,
img.heart2 {
    grid-area: 1 / 2 / 2 / 3;
    max-width: 150px;
    justify-self: flex-end;
    align-self: flex-end;
}

img.heart {
    transform: rotate(25deg) translateY(40px);
}

img.heart2 {
    transform: translateX(-70px);
}

.hero {
    padding-right: 50px;
    grid-area: 2 / 2 / 3 / 3;
}

.hero-title {
    font-size: 6rem;
    margin: 0;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.5rem;
    margin-top: 20px;
}

a:has(.feather.feather-chevron-down) {
    grid-area: 3 / 2 / 4 / 3;
    align-self: center;
    text-decoration: none;
    color: white;
    width: fit-content;
}

a .feather.feather-chevron-down {
    stroke-width: 3;
    width: 50px;
    height: 50px;
}

main {
    padding: 50px 0;
    max-width: 75vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.countdown {
    text-align: center;
    background-color: rgba(25, 25, 25, .5);
    padding: 20px;
    border-radius: 20px;
    width: 300px;
    margin: 0 auto;
}

.countdown p {
    margin: 0;
}

#countdown {
    margin: 0;
}

section {
    width: 1000px;
}

section.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

section.container img {
    max-width: 100%;
    opacity: .8;
    height: 100%;
    object-fit: cover;

}

section.container div h2 {
    margin-top: 0;
}

article.shortinfos {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: repeat(2, 50px);
}

article.shortinfos p {
    margin: 0;
}

article>h2 {
    margin-top: 0;
}

iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border: 0;
}

footer {
    padding: 40px 5vw;
    border-top: 1px solid gray;
    display: flex;
    justify-content: space-between;
}

img.footer-heart {
    width: 75px;
    height: auto;
    object-fit: contain;
}

div.grid-program {
    display: grid;
    grid-template-columns: 1fr 3fr;

    & i {
        font-weight: 500;
    }
}

.info-p b {
    font-weight: 600;
}

@media screen and (max-width: 950px) {
    .hero-title {
        font-size: 5rem;
        margin: 0;
        line-height: 1.2;
    }

    section {
        width: 100%;
    }

    header {
        grid-template-columns: 100px 1fr 100px;
    }

    a:has(.feather.feather-chevron-down) {
        align-self: center;
        justify-self: center;
    }

    article.shortinfos {
        grid-template-rows: repeat(2, 100px);
    }

    article>h2 {
        margin-top: 0;
    }
}

@media screen and (max-width: 750px) {

    header {
        grid-template-columns: 50px 1fr 50px;
        background-position: 25%;

    }

    a:has(.feather.feather-chevron-down) {
        align-self: center;
        justify-self: center;
    }

    .hero-title {
        font-size: 3.5rem;
        margin: 0;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 1.3rem;
    }

    .countdown {
        width: 100%;
        box-sizing: border-box;
    }

    article.shortinfos {
        grid-template-rows: repeat(2, 70px);
    }

    section.container {
        grid-template-columns: 1fr;
        width: 100%;
    }

    main {
        max-width: 80vw;
    }

    img.heart,
    img.heart2 {
        max-width: 100px;
    }

    footer {
        flex-direction: column;
        padding: 40px 40px;
        box-sizing: border-box;
        gap: 20px;
    }

    footer p {
        max-width: 100%;
        margin-bottom: 0;
    }

    div.grid-program {
        display: grid;
        grid-template-columns: 1fr;

        & p:nth-of-type(even) {
            margin-bottom: 50px;
        }

        & p:nth-of-type(odd) {
            margin-bottom: 0;
        }
    }
}