@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&display=swap');

* {
    font-family: 'Gabarito';
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Gabarito';
    background-image: url("fondo2.webp");
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.header {
    margin-top: 4rem;
    text-align: center;
}

.logo {
    margin: 0 auto;
    width: 30rem;
    height: auto;
    aspect-ratio: 472/187;
}

.header h1,
.header p {
    color: #F3F2F7;
    text-align: center;
    font-family: 'Gabarito';
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 90px;
}

.links-container {
    display: flex;
    width: 80%;
    justify-content: space-evenly;
    margin: 0 auto;
}

.social-link {
    display: flex;
    width: 246px;
    height: 77px;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border-radius: 100px;
    background: linear-gradient(288deg, rgba(12, 16, 214, 0.20) -26.38%, rgba(26, 64, 190, 0.20) 47.69%, rgba(150, 229, 255, 0.20) 113.94%, rgba(158, 242, 255, 0.20) 121.75%);
}

a {
    text-decoration: none;
}

.container span {
    color: #FFF;
    font-family: 'Gabarito';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
}

.insta {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.li {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.directors-container {
    display: flex;
    width: 50%;
    justify-content: center;
}

.director-link {
    display: flex;
    position: relative;
    width: 232px;
    height: 118px;
    align-items: center;
    gap: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(288deg, rgba(12, 16, 214, 0.20) -26.38%, rgba(26, 64, 190, 0.20) 47.69%, rgba(150, 229, 255, 0.20) 113.94%, rgba(158, 242, 255, 0.20) 121.75%);
}

.director-link img {
    position: absolute;
    top: 15%;
    right: 10%;
}

.director-link span {
    color: #FFF;
    font-family: 'Gabarito';
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 37px;
    text-transform: capitalize;
    padding-left: 20%;
}

.book-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 280px;
    height: 80px;
    border-radius: 100px;
    background: linear-gradient(288deg, rgba(12, 16, 214, 0.20) -26.38%, rgba(26, 64, 190, 0.20) 47.69%, rgba(150, 229, 255, 0.20) 113.94%, rgba(158, 242, 255, 0.20) 121.75%);
    border: 1px solid rgba(150, 229, 255, 0.40);
    transition: transform 0.2s ease;
}

.book-link span {
    color: #FFF;
    font-family: 'Gabarito';
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

footer p {
    color: #F4F4F4;
    text-align: right;
    font-family: 'Gabarito';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px;
    /* 141.667% */
}

footer {
    width: 90%;
    display: flex;
    justify-content: center;
    border-top: 3px solid rgba(244, 244, 244, 0.20);
    border-bottom: 3px solid rgba(244, 244, 244, 0.20);
}

#transparency {
    width: 100%;
    height: 100%;
    background-image: url("/transparency.svg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.director-link:hover,
.social-link:hover,
.book-link:hover {
    transform: scale(1.15);
}

@media screen and (max-width: 768px) {
    body {
        background-position: bottom;
    }



    .header {
        margin-top: 0;
        display: flex;
        width: 100vw;
        flex-direction: column;

    }

    .logo {
        width: 20rem;
        height: auto;
    }

    .links-container {
        width: 100%;
        justify-content: center;
        margin: 1rem auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        grid-row-gap: 20%;
    }

    .links-container span {
        font-size: 16px;
    }

    .social-link {
        width: 8rem;
        height: 3rem;
        gap: 0.5rem;
    }

    .div1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .div2 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .div3 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .div4 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .header {
        text-align: center;
    }

    .header h1,
    .header p {
        font-size: 24px;
        padding: 0 4rem;
        line-height: normal;
    }

    .insta,
    .li,
    .face,
    .web {
        width: 17px;
        height: 17px;
    }

    .directors-container {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .book-link {
        width: 200px;
        height: 60px;
        background: linear-gradient(288deg, rgba(12, 16, 214, 0.20) -26.38%, rgba(26, 64, 190, 0.20) 47.69%, rgba(150, 229, 255, 0.20) 113.94%, rgba(158, 242, 255, 0.20) 121.75%);
        border: 1px solid rgba(150, 229, 255, 0.40);
    }

    .book-link span {
        font-size: 20px;
    }
}