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

:root
{
    /* ## Colors
    ### Primary */
    --Strong-Cyan: hsl(171, 66%, 44%);
    --Light-Blue: hsl(233, 100%, 69%);
    /* ### Neutral */
    --Dark-Grayish-Blue: hsl(210, 10%, 33%);
    --Grayish-Blue: hsl(201, 11%, 66%);
}

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

html , body
{
    height: 100%;
    width: 100%;
}



img,video,iframe
{
    max-inline-size:100%;
    block-size:auto;
}

body 
{
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 18px;
    background-color: white;
}

header 
{
    width: 100%;
    height: 30vh;
    background-image: url(./images/bg-header-desktop.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 10px 20px 50px white;
}

.header-content 
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 1rem;
    padding: 1rem 0;
     

    h1 , p 
    {
        max-width: 600px;
    }

    h1 
    {
        font-weight: 600;
    }

    p 
    {
        color: var(--Grayish-Blue);
        font-weight: 300;
        font-size: 1rem;
    }

    

   
}

.btn-container
{
    display: flex;
    column-gap: 1rem;
}

.btn-container button
{
    padding: .8rem 1.5rem;
    border: none;
    border-radius: 100px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease-in-out ;
}

.btn-container button:hover 
{
    transform: scale(1.1);
}

.btn-container button:first-child
{
    background-color: var(--Strong-Cyan);
}
.btn-container button:last-child
{
    background-color: var(--Light-Blue);

}

p 
{
    line-height: 1.7rem;
}


/* main-content */
.main-content 
{

    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: start;
    justify-items: center;
    row-gap: 5rem;
    margin-top: 4rem;
    .top 
    {
        grid-column: span 2;

        h2 , p 
        {
            max-width: 600px;
            margin: 1rem auto;
            
        }

        h2 
        {
            font-size: 1.8rem;
        }

        p 
        {
            color: var(--Grayish-Blue);
        }

            
        }

        .right-text 
        {
            margin: 2.2rem;
            display: flex;
            flex-direction: column;
            row-gap: 2rem;

            h3 
            {
                font-size: 1.5rem;
                margin-bottom: .5rem;
            }

            p 
            {
                width: 50%;
                color: var(--Grayish-Blue);
                
            }
            
        }



        .clipboard 
        {
            grid-column: span 2;
            display: flex;
            flex-direction: column;
            gap: 3rem;

            .clip-top 
            {
                margin:0 auto;
                h3 
                {
                    font-size: 1.7rem;
                    margin-bottom: .5rem;
                    text-align: center;
                }
                p 
                {
                    max-width: 600px;
                    color: var(--Grayish-Blue);
                    text-align: center;
                    line-height: 1.7rem;
                }
            }
            
        }



     
        

}


.supercharge-section 
{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
   
}

.supercharge-header 
{
    h3 
    {
        font-size: 1.7rem;
        margin-bottom: .5rem;
    }
    p 
    {
        text-align: center;
        color: var(--Grayish-Blue);
    }
}

.horizontal-cards 
{
    margin: 3rem;
    display: grid;
    padding: 0 3rem;
    grid-template-columns: repeat(3,1fr);
    justify-content: center;
    gap: 2rem;
   
}

.card 
{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;  
}




.bottom 
{
    padding: 2rem 4rem;
}

.bottom .brands 
{
    margin: 3rem 0;
    display: flex;
    column-gap: 2rem;
    justify-content: space-evenly;


    img 
    {
        object-fit: contain;
        object-position: center;
    }


}


.bottom .downloads
{
    margin: 0 auto;
    margin-top: 5rem;
    text-align: center;
    max-width: 600px;
    
    h3 
    {
        font-size: 1.7rem;
        margin: 1rem;
    }
    p 
    {
        color: var(--Grayish-Blue);
        margin: 1rem;
    }

    .download-buttons 
    {
        display: flex;
        justify-content: center;    
        column-gap: 1rem;
        margin: 1rem;
    }

    button 
    {
        padding: .8rem 1.5rem;
        border-radius: 100px;
        border: none;
        color: white;
        font-size: 1rem;
        font-weight: 700;
        transition: transform 0.4s ease-in-out;
        cursor: pointer;
       
    }

    button:hover 
    {
        transform: scale(1.1);
    }

    button.ios 
    {
        background-color: var(--Light-Blue);
    }
    button.mac 
    {
        background-color: var(--Strong-Cyan);
    }

   
}


footer 
{
    padding: 2rem 4rem;
    display: grid;
    grid-template-columns: .5fr 1.2fr 1.3fr;
    background-color: var(--Grayish-Blue);
}

footer .links 
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;

    a 
    {
        text-decoration: none;
        color: var(--Dark-Grayish-Blue);
        position: relative;
        width: fit-content;
        transition: all 0.4s ease-in-out;
    }
    a:hover 
    {
        color: white;
        font-weight: bold;
    }

    a:hover::after
    {
        width: 100%;
    }
    

    a::after
    {
        content: '';
        position: absolute;
        width: 0;
        height: 5px;
        background-color: var(--Strong-Cyan);
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        transition: 0.4s ease-in-out;
        border-radius: 5px;
    }

    
  
}

footer 
{
    .social-links 
    {
        display: flex;
        align-items: start;
        justify-content: center;
        column-gap:1rem;
    }

}


