@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body{
    margin: 0.63rem;
    min-height: 100vh;
    background-image: url('../images/bg-desktop.svg');
    background-color: hsl(257, 40%, 49%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Open Sans", serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header {
    margin-bottom: 2.5rem;
    max-width: 100%;
    display: block;
}

#logoHdr{
    margin-left: 2em;
    max-width: 150px;
}

.hero{
    max-width: 100%;
    gap: 3.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.hero img{
    max-width: 570px;
}

.content{
    gap: 25px;
    display: flex;
    flex-flow: column wrap;
    justify-content: start;
    align-items: start; 
}

h1{
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 2.5rem;
    max-width: 20ch;
}

p{
    font-weight: 400;
    font-size: 1rem;
    max-width: 60ch;
}

.button {
    font-size: 1rem;
    text-decoration: none;
    margin-top: 3%;
    padding: 12px 55px;
    background-color: white;
    border: 2px solid transparent; 
    border-radius: 30px;
    text-align: center;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease-in-out; 
    font-weight: bold;
    color: hsl(257, 40%, 49%); 
}

.button:hover {
    background-color: hsl(300, 69%, 71%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

footer{
    padding: 30px;
    margin-right: 30px;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content:flex-start;
}

footer ul{
    list-style: none;
    display: flex;
    text-decoration: none;
    gap: 20px;
}

footer a {
    color: white;
    transition: color 0.3s ease;
}

footer a:hover{
    color: hsl(300, 69%, 71%);
}

footer a i{
    font-size: 40px; 
}

@media(max-width: 1300){
    #logoHdr{
        margin-left: 0px;
    }

}

@media(max-width: 1000px){
    body{
        align-items: center;
        background-image: url('../images/bg-mobile.svg');
        margin-top: 2.5rem;
    }

    footer {
        margin: 0 auto;
        padding: 0 30px;
     }

    .hero{
        flex-direction: column;
    }

    .content{
        align-items: center;
        text-align: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    #logoHdr{
        margin-left: -25px;
    }
}


