@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600&display=swap');

html{
    font-size:62.5%;
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    color: white;
}

body{
    background: url(../images/bg-desktop.svg) no-repeat var(--violet);
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content{
    width: 2000px;
    max-width: 100%;
}

.header{
    padding: 1% 5%;
}

.main{
    display: grid;
    grid-template-columns: 0.55fr 0.45fr;
    grid-template-areas: 
    "illustration text-card";
    padding:1rem 3rem;
}

.main .illustration{
    grid-area:illustration;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .illustration img{
    width: 91%;
}

.main .text-card{
    grid-area: text-card;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 5%;
}

.main .text-card h1{
    font-size: 4.5rem;
    text-transform: capitalize;
    font-family: var(--font-headings);
    font-weight: var(--font-weight-bold);
    max-width: 60rem;
}

.main .text-card p{
    font-size: 2rem;
    line-height: 3rem;
    max-width: 58rem;
    margin-bottom: 1rem;
}

.main .text-card a{
    font-size: 2.1rem;
    font-family: var(--font-headings);
    color: var(--violet);
    background-color: #FFFFFF;
    padding: 1.5rem 6rem;
    border-radius: 50px;
    box-shadow: 1px 1px 10px 0.5px black;
    transition: 0.3s ease-in-out;
}

.main .text-card a:hover{
    background-color: var(--magenta);
    color: #ffffff;
}

.footer{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer .social-medias{
    width: 40rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    gap:2rem;
}

.footer .social-medias .media{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid white;
    border-radius: 50%;
    box-shadow: 0.5px 0.5px 5px 0.4px black;
    transition:0.3s ease-in-out;
}

.footer .social-medias .media:hover{
    color:var(--magenta);
    border-color: var(--magenta);
}
