/*! imports */
@font-face {
    font-family: 'Bai Jamjuree';
    src: url('./assets/fonts/BaiJamjuree-Regular.ttf');
    font-weight: 400;
}
@font-face {
    font-family: 'Bai Jamjuree';
    src: url('./assets/fonts/BaiJamjuree-SemiBold.ttf');
    font-weight: 600;
}
/*! reset */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
}
/*! global */
: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%);
--white:#fff;
}
body{
    text-align:center;
    font-family: 'Bai Jamjuree',sans-serif;
}
p{
    color: var(--Grayish-Blue);
    font-size: 13px;
    line-height: 1.6;
}
/*! body content */
/* start header of the page */
header{
    background: 
        url(./assets/images/bg-header-desktop.png)
        no-repeat
        scroll
        right;   
}
.logo img{
    margin-top: 3em;
    width: 50px;
}
h1{
    margin: 10px;
}
.content p{
    color: var(--Grayish-Blue);
    width: 32%;
    margin: 10px auto;
    margin-bottom: 4em;
}
.buttons{
    display: flex;
    justify-content: center;
    gap: 20px;    
    margin-bottom: 5em;
}
/* buttons */
.Ios-button{
    background-color: var(--Strong-Cyan);
    color: var(--white);
    padding:10px 17px 10px 17px  ;
    border:0px;
    border-radius: 20px;

}
.Ios-button:hover{
    cursor: pointer;
    opacity: 0.7;
    box-shadow:0 5px 5px var(--Strong-Cyan);
}
.mac-botton{
    background-color: var(--Light-Blue);
    color: var(--white);
    padding:10px 17px 10px 17px  ;
    border:0px;
    border-radius: 20px;
}
.mac-botton:hover{
    cursor: pointer;
    opacity: 0.7;
    box-shadow:0 5px 5px var(--Light-Blue);
}
/* sart main */
.middle-content{
    margin-top: 3em;
    display: flex;
}
.middle-content-right{
    width: 20%;
    margin: 3.5em;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4em;
    line-height: 1.6;  
}
.image-text-section{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}
.item{
    width: 20%;
}
.item img{
    width: 30px ;
}
.images{
    margin: 6em;
    display: flex;
    justify-content: space-evenly;
}
.images img{
    width: 70%;
}
/* start footer */
footer{
    background-color: rgba(224, 220, 220, 0.46);
    height:100px ;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer img{
    width:40px ;
}
footer p{
    color:var(--Dark-Grayish-Blue);
}
footer p:hover{
    cursor: pointer;
    color: var(--Strong-Cyan);
}
.footer-images{
    display: flex;
    gap: 20px;
}
i:hover{
    color: var(--Strong-Cyan);
}
/*! image query */
@media (max-width: 821px) {
    header {
        background: 
            url(./assets/images/bg-header-mobile.png)
            no-repeat
            center; 
        background-size: cover;
        height: auto; 
    }
    
    .content p {
        width: 90%;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .middle-content {
        flex-direction: column;
        align-items: center;
    }

    .middle-content-right {
        width: 90%;
        margin: 1.5em;
        text-align: center;
        gap: 2em;
    }

    .image-text-section {
        flex-direction: column;
        align-items: center;
    }

    .item {
        width: 80%;
        margin-bottom: 2em;
    }

    .images {
        flex-direction: column;
        margin: 2em auto;
        gap: 20px;
        width: 20%;
    }

    .images img {
        width: 90%;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 1em;
    }

    .footer-images {
        justify-content: center;
        margin-top: 1em;
    }
}
