@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;
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}
:root{
    --PINK: hsl(322, 100%, 66%);
    --VERY-PALE-CYAN: hsl(193, 100%, 96%);
    --VERY-DARK-CYAN: hsl(192, 100%, 9%);
    --GRAYISH-BLUE: hsl(208, 11%, 55%);
    --GRAYISH-BLUE-SHADOW: hsla(209, 11%, 55%, 0.300);
}
body{
    font-family: "Open Sans", serif;
}
h1,h2,h3,a,button{
    font-family: "Poppins", serif;
}

header{
    padding-top: 3rem;
}
header nav img{
    width: 35%;
    max-width: 15rem;
    max-height: 3rem;
}
header nav button{
    background-color: white;
    color: var(--VERY-DARK-CYAN);
    border-radius: 2rem;
    width: 13rem;
    height: 3rem;
    border: none;
    box-shadow: 0px 0px 8px var(--GRAYISH-BLUE-SHADOW);
    font-weight: bold;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    margin-bottom: 8rem;
}
.header__text{
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}
h1{
    font-size: 2.4rem;
    line-height: 1.5em;
    width: 30rem;
    margin-bottom: 2rem;
    color: var(--VERY-DARK-CYAN);
}
.header__text  p{
    font-size: 1.6rem;
    line-height: 1.4em;
    color: var(--VERY-DARK-CYAN);
    width: 30rem;
    margin-bottom: 4rem;
}
.header__text button{
    border: none;
    background-color: var(--PINK);
    border-radius: 2rem;
    height: 4rem;
    width: 25rem;
    color: white;
    margin-bottom: 5rem;
}
.header {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.header img{
    width: 80%;
    margin-bottom: 4rem;
}
header{
    background-image: url(images/bg-hero-mobile.svg);
    background-color: var(--VERY-PALE-CYAN);
    margin-bottom: 6rem;
}
.user{
    height: 46rem;
    width: 90%;
    box-shadow: 0px 0px 8px var(--GRAYISH-BLUE-SHADOW);
    border-radius: 1rem;
    margin: 0rem auto 3rem auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 6rem;
}
.user img {
    width: 22rem;
    margin-bottom: 2rem;
}
.user__section{
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.user__section h2{
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}
.user__section p{
    width: 26rem;
    font-size: 1.4rem;
    color: var(--GRAYISH-BLUE);
}
.odd .user__section h2{
    margin-top: 4rem;
}
.last{
    margin-bottom: 20rem;
}
main{
    position: relative;
}
.action__bar{
    box-shadow: 0px 0px 8px var(--GRAYISH-BLUE-SHADOW);
    width: 94%;
    height: 16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)translateY(28rem);
    background-color: white;
    z-index: 1;
    text-align: center;
    padding: 4rem 0rem;
    border-radius: 1rem;
}
.action__bar h3{
    font-size: 1.7rem;
    margin-bottom: 2rem;
}
.action__bar button{
    background-color: var(--PINK);
    border: none;
    height: 4rem;
    border-radius: 2rem;
    width: 25rem;
    color: white;
}
button:active,button:hover{
    opacity: 0.75;
    cursor: pointer;
}
footer{
    padding: 14rem 5% 6rem 5%;
    background-color: var(--VERY-DARK-CYAN);
}
.footer__text :nth-child(1){
    width: 45%;
    margin-bottom: 3rem;
    filter: invert(1) brightness(100) grayscale(100%);
}
.footer__contacts{
    filter: invert(1);
    margin-bottom: 0rem;
}
.footer__text .footer__contacts img{
    width: 1.8rem;
    margin-bottom: 0;
}
.footer__contacts{
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.6rem;

    margin-bottom: 2rem;
}
.top{
    align-self: flex-start;
    transform: translateY(8px);
}
.text{
    width: 30rem;
}
.footer__links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer__links a{
    display: block;
    width: fit-content;
    height: 3rem;
    font-size: 1.7rem;
    color: white;
    text-decoration: none;
}
.footer__links a:hover,.footer__links a:active{
    text-decoration: underline;
    cursor: pointer;
}
.footer__text{
    margin-bottom: 6rem;
}
.socails{
    width: 12rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__socails{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    margin: 6rem auto 2rem auto;
}
.socails img{
    width: 3rem;
    filter: invert(1);
}
.socails img:active,.socails img:hover{
    filter: invert(20%) sepia(100%) saturate(5000%) hue-rotate(300deg) brightness(100%) brightness(105%);
}
.footer__socails p{
    color: white;
    font-size: 1.3rem;
}
.attribution {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.4rem;
    justify-content: center;
    gap: 0.4rem;
}
.attribution a { 
    color: rgb(155, 85, 155);
    text-decoration: none;
}
button{
    display: grid;
    place-content: center;
}
@media (min-width: 1440px) {
    header nav img{
        max-width: 30rem;
        max-height: 8rem;
    }
    header nav button{
        height: 6rem;
        width: 25rem;
        border-radius: 4rem;
        font-size: 1.6rem;
    }
    nav{
        padding: 0 10%;
    }
    header {
        padding-top: 8rem;
        margin-bottom: 20rem;
    }
    .header{
        display: flex;
        padding: 0 10%;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        background-image: url(images/bg-hero-desktop.svg)
    }
    h1,.header__text p{
        text-align: left;
    }
    h1{
        font-size: 4rem;
        width: 50rem;
        align-self: flex-start;
    }
    .header__text p{
        align-self: flex-start;
        font-size: 2rem;
        width: 58rem;
    }
    .header__text button{
        align-self: flex-start;
        height: 8rem;
        font-size: 1.8rem;
        width: 30rem;
        border-radius: 4rem;
    }
    .header img{
        width: 80rem;
        max-width: 100rem;
    }
    .user{
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding-left: 12rem;
        padding-right: 6rem;
        width: 75%;
        max-width: 195rem;
        margin-bottom: 6rem;
        padding-top: 0;
        height: 44rem;
    }
    .user__section h2,.user__section p{
        text-align: left;
        align-self: flex-start;
    }
    .user__section h2{
        font-size: 3rem;
    }
    .user__section p{
        font-size: 2rem;
        width: 55rem;
    }
    .user img{
        width: 40rem;
    }
    .odd{
        flex-direction: row;
        padding-right: 3rem;
    }
    .last{
        margin-bottom: 40rem;
    }
    .action__bar{
        width: 80rem;
        font-size: 2.5rem;
        height: 28rem;
        justify-content: center;
        transform: translateX(-50%) translateY(54rem);
    }
    .action__bar h3{
        margin-bottom: 3rem;
    }
    .action__bar button{
        height: 6rem;
        border-radius: 3rem;
    }
    .footer__text .logo{
        width: 30rem;
    }
    .footer__text{
        margin-bottom: 0;
    }
    footer{
        padding: 22rem 5% 0 5%;
        display: flex;
        align-items: center;
        position: relative;
        height: 60rem;
        justify-content: space-between;
    }
    .footer__socails{
        width: fit-content;
        margin: 0;
    }
    .socails{
        align-self: flex-start;
    }
    .attribution{
        position: absolute;
        bottom: 0;
        left: 50%;
        z-index: 1;
        margin: 2rem;
        transform: translateX(-50%);
    }
    .footer__socails p{
        transform: translateY(8rem);
    }
    .text{
        width: 40rem;
    }
}
