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

:root{
    --clr-100: hsl(300, 69%, 71%);
    --clr-200: hsl(257, 40%, 49%);

    --ff-primary: 'Open Sans', sans-serif;
    --ff-secondary: 'Poppins', sans-serif;
}

*,*::before, *::after{
    box-sizing: border-box;
}

img{
    max-width: 100%;
}

body{
    margin: 0;
    font-family: var(--ff-primary);
    background-image: url(images/bg-mobile.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    background-color: var(--clr-200);
}

.container{
    width: 80%;
    max-width: 1200px;
    margin: calc(1em + 10px) auto;
    color: white;
}

header{
    margin-bottom: 3em;
}

.header__logo img{
    width: 120px;
}

main{
    text-align: center;
}

.main__image{
    margin-bottom: 3em;
}

.main__title{
    font-family: var(--ff-secondary);
    font-size: 1.5rem;
    font-weight: 600;
}

.main__subtitle{
    margin-bottom: 1.75em;
}

.main__btn{
    background-color: white;
    color: var(--clr-200);
    border: none;
    border-radius: 100px;
    padding: 0.75em 5em;
    font-family: var(--ff-secondary);
    box-shadow: 1px 2px 1.5px 1.5px rgba(0,0,0,0.3) ;
    margin-bottom: 3em;
    cursor: pointer;
}

.main__btn:hover, .main__btn:focus{
    background-color: var(--clr-100);
    color: white;
}

.social-list{
    display: flex;
    gap: 1em;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.social-item{
    border: 1px solid white;
    padding: 0.5em;
    border-radius: 50%;
    aspect-ratio: 1;
    list-style-type: none;
}

.social-item:hover, .social-item:focus{
    border: 1px solid var(--clr-100);
}

.social-item i{
    font-size: 1rem;
}

.social-link{
    color: white;
    display: flex;
    text-decoration: none;
}

.social-item i:hover, .social-item i:focus {
    color: var(--clr-100);

}

@media(width >= 43.75em){
    body{
        background-image: url(images/bg-desktop.svg);
        background-repeat: no-repeat;
        background-position: center left;
        background-size: cover;
    }
}

@media (width <= 62.438em){
    .main__image img{
       width: 60%;
    }
}

@media (min-width: 62.5em){
    body{
        min-height: 100vh;
        background-image: url(images/bg-desktop.svg);
        background-repeat: no-repeat;
        background-position: center left;
        background-size: cover;
        object-fit: cover;
        background-color: var(--clr-200);
    }

    .header__logo img{
        width: 150px;
    }

    main{
        text-align: left;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2em;
        place-items: center;
    }

    .main__image img{
        height: 100%;
    }

    .main__title{
        font-size: 2.25rem;
    }

    .social-list{
        justify-content: flex-end;
    }
}