@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;600&display=swap');
:root {
    --strong-cyan:hsl(171,66%,44%);
    --Light-Blue: hsl(233, 100%, 69%);
    --Dark-Grayish-Blue: hsl(210, 10%, 33%);
    --grayish-blue:hsl(201,11%,66%);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    overflow-x: hidden;
}
h1,h2,h3 {
    color: var(--Dark-Grayish-Blue);
}
a {
    text-decoration: none;
    color:var(--grayish-blue)
}
a:hover {
    color:var(--strong-cyan);
}
a svg:hover path {
    fill: var(--strong-cyan);
}

p {
    color: var(--grayish-blue);
}
button {
    width:240px;
    height: 55px;
    border-radius: 50px;
    border:none;
    border-bottom: 3px solid var(--grayish-blue);
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    outline: none;
}

.btn-cyan {
    background-color: hsl(171, 66%, 44%);
    border-color:hsl(171, 66%, 33%);/*lower lighting for the border*/
}
.btn-light-blue {
    background-color: var(--Light-Blue);
    border-color: hsl(234, 50%, 51%);
}

.container {
    text-align: center;
    padding-top:18vh;
    background-image: url(images/bg-header-desktop.png);
    background-position: top;
    background-repeat: no-repeat;
}

/* logo */

h1 {
    margin: 1em;
}
header img {
    display: inline-block;    
    margin-bottom:10vh ;
    margin-top: 40px;
}
header p {
    width: 60%;
    margin: 1em auto;
    max-height: 320px;
}
header button {
    margin: 0.8em;
}
header h2 {
    margin: 1em;
}

.desktop {
    text-align: left;
    display: flex;
    margin-top: 3rem;
}
.desktop img {
    position: relative;
    width: 50vw;
    left: -8vw;
}
.desktop-text p{
    margin-bottom: 1em;
}
.desktop-text h3 {
    margin-bottom: 1em;
}

.anywhere h2 {
    margin:1em;
}
.anywhere p {
    margin-bottom: 6em;
    width: 80%;
    display: inline-block;
}
.anywhere img {
    width: 80%;
}
.supercharge {
    margin-top: 5rem;
}
.supercharge h2 {
    margin-top:3em ;
    margin-bottom: 1em;
}
.supercharge h3 {
    margin-bottom: 1em;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3em;
}
.feature {
    min-width:250px;
    width: 25%;
    margin: 2em;
}
.companies {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6rem;
}
.companies > div {
    margin:2rem;
}

.available {
    margin: 5rem 0;
}
.available p {
    display: inline-block;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 2em;
}
.available h2 {
    margin-bottom: 1em;
}
.available button {
    margin: 0.8em;
}
footer {
    background-color:hsl(201,11%,90%);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
footer img {
    width:60px;
    display: inline-block;
    margin:3rem;
}
.links {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 100px;
    text-align: left;
    margin: auto 0;
}
.links a {
    display: block;
    padding: 0.6em;
}
.social {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social a {
    padding: 0.5em;
}
@media screen and (max-width:670px){
    header {
        background-image: url(images/bg-header-mobile.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center top;
    }
    header  img {
        margin-top:80px;
    }
    .container {
       padding: 0 20px;
       
    }
    .desktop {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .desktop img {
        width: 80vw;
        left: 0;
        margin-bottom: 2em;
    }
}
@media screen and (max-width:625px){
    footer {
        flex-direction: column;
        height: auto;
    }
    footer img {
        margin:25px auto;
    }
    footer .links{
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        height: 300px;
    }
   
    .social {
        width: 100%;
        margin-bottom: 3em;
    }
}

@media screen and (max-width:300px){
    button{
        width :230px
    }
}

@media screen and  (max-width:290px) {
    .container {
        font-size: 0.8rem;
        width: 90vw;
        padding:0 3%;
        padding-top: 3rem;
    }
    button{
        width :130px
    }

}