@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@100;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow&display=swap');
* {
    box-sizing: border-box;
    margin: 0; padding: 0;
    font-family: 'Fraunces', serif;
}

body {
    font-size: 18px;
    

}
:root {

--Softred: hsl(7, 99%, 70%);
--Yellow: hsl(51, 100%, 49%);
--Darkdesaturatedcyan : hsl(167, 40%, 24%); /*(graphic design text)*/
--Darkblue: hsl(198, 62%, 26%); /* (photography text)*/
--Darkmoderatecyan : hsl(168, 34%, 41%); /* (footer) */
--Verydarkdesaturatedblue: hsl(212, 27%, 19%);
--Verydarkgrayishblue: hsl(213, 9%, 39%);
--Darkgrayishblue: hsl(232, 10%, 55%);
--Grayishblue: hsl(210, 4%, 67%);
--White: hsl(0, 0%, 100%);
--black : hsl(0, 0%, 7%);
}

.container {
    max-width: 1440px;
    width: 90%;
    margin: auto;
}
.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* header start */

header {
    background-image: url(../image/desktop/image-header.jpg);
    background-position:center;
    background-size: cover;
    background-attachment: local;
    padding-top: 20px;
    font-size: 1rem;
    width: 100%;
    height: 100vh;
    position: relative;
}
.header ul {
    list-style: none;
    display: flex;
}
.header ul li a {
    padding: 10px 20px;
    text-decoration: none;
    text-transform: capitalize;
    color: var(--Verydarkgrayishblue);
}
.header ul li a span {
    border: 1px solid var(--White);
    background-color: var(--White);
    color: var(--black);
    padding: 10px;
    border-radius: 40px;
    text-transform: uppercase;
    font-weight: bold;
}
.menu {
    display: none;
}

.moblie-menu {
    display: none ; 
    background-color: white;
    position: absolute;
    right: 0;
    top: 57px;
    left: 0;
    z-index: 1000;
    width: 95%;
    margin: auto;
    margin-top: 20px;
    text-align: center;
    padding-bottom: 20px;
}
.moblie-menu ul li a {
    padding: 10px 20px;
    display: block !important;
    text-transform: capitalize;
    text-decoration: none;
    color: var(--Black);
    border-bottom: 1px solid var(--gray);
}
.moblie-menu ul li a span {
    border: 1px solid var(--Yellow);
    background-color: var(--Yellow);
    color: var(--black);
    padding: 10px;
    border-radius: 40px;
    text-transform: uppercase;
    font-weight: bold;
}
.moblie-menu ul li a:hover {
    color: var(--Black);
}
.title {
    color: var(--White);
    letter-spacing: 3.2px;
    text-transform: uppercase;
    width: 44%;
    padding-top: 125px;
    margin: auto;
    font-size: 2.5rem;
    margin-top: 100px;
}
.icon {
    width: 10%;
    margin: auto;

}

/* about and server start */
.about, .server {
    width: 100%;
}
.text-about,
.text-server {
    width: 50%;
}
.text-about h1,
.text-server h1 {
    width: 67%;
    margin: auto;
    font-size: 3rem;
    margin-bottom: 20px;
}
.heading-server {
    font-size: 2rem !important;
}
.text-about p,
.text-server p {
    width: 67%;
    margin: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--Verydarkgrayishblue);
}
.text-about .link, 
.text-server .link
{
    width: 67%;
    margin: auto;
}

.image-about, .image-server {
    width: 50%;
}
.image-about img, .image-server img {
    width: 100%;
    vertical-align: middle;
}
.learn-more{
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: #000000a6;
}
.text-server .learn-more::after{
    content: '';
    display: block;
    width: 120%;
    height: 10px;
    border-radius: 15px;
    margin: -7px 0 0 -10px;
    opacity: 0.3;
    background-color: var(--Softred);
}
.learn-more:hover {
    color: var(--black);
    opacity: 1;
    font-weight: bolder;
}
.text-about .learn-more::after{
    content: '';
    display: block;
    width: 120%;
    height: 10px;
    border-radius: 15px;
    margin: -7px 0 0 -10px;
    opacity: 0.3;
    background-color: var(--Yellow);
}

/* graph and photo start  */
.part3 {
    align-items: normal;
}
.graph {
    width: 50%;
    color: var(--Darkdesaturatedcyan);
    position: relative;
}
.text-graph {
    width: 70%;
    position: absolute;
    bottom: 30px;
    left: 15%;
    text-align: center;
    margin-bottom: 20px;
}
.image-graph {
    width: 50%;
}
.image-graph img {
    width: 200%;
}
.photo {
    width: 50%;
    color: var(--Darkblue);
    position: relative;
}
.text-photo {
    width: 65%;
    position: absolute;
    bottom: 30px;
    right: 15%;
    margin-bottom: 20px;
    text-align: center;
}
.image-photo {
    width: 50%;
    position: relative;
}
.image-photo img {
    width: 200%;
}
.text-graph h1,
.text-photo h1 {
    margin-bottom: 20px;
    font-size: 2rem;
}
.text-graph p,
.text-photo p {
    line-height: 1.5;   
}

/* clint start */
.clint {
    width: 80%;
    margin: auto;
}
.title-clint {
    padding: 100px 0 50px 0;    
    color: var(--Grayishblue);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 10px;
}
.image-clint {
    width: 50%;
    margin: auto;
}
.strong-clint {
    width: calc(100% / 3);
    margin: 0 10px;
}
.strong-clint .text {
    font-size: 0.8rem;
    text-align: center;
}
.strong-clint .text h1 {
    font-size: 1.5rem;
}
.strong-clint .text p {
    margin: 10px 0 40px 0;
}
.text-top {
    color : var(--veryDarkgrayishblue)
}
.text-buton {
    color: var(--Grayishblue);
}
.image-clint {
    width: 20%;
    margin: auto;
}
.image-clint img {
    width: 50px;
    border-radius: 50%;
    margin-bottom: 30px;
}

.projects picture img {
    width: 100% ;
}

/* footer start */
footer {
    text-align: center;
    padding: 50px 0;
    color: var(--Darkmoderatecyan);
    background-color: #458c7e60;
}
footer h1 {
    margin-bottom: 20px;
}
footer ul {
    width: 40%;
    display: flex;
    margin: auto;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    margin-bottom: 40px;
}
footer ul li a {
    text-decoration: none;
    text-transform: capitalize;
    color: var(--Darkmoderatecyan);
}
ul li a:hover {
    color: var(--White);
}
.link-footer {
    width: 40%;
    margin: auto;
}
.link-footer a {
    padding: 0 10px;
    color: var(--Darkmoderatecyan);
}
.link-footer a:hover {
    color: var(--White);
}

@media (max-width:375px) {
    
    .container {
        max-width: 375px;
        width: 100%;
        margin: 0px;
    }
    .header-flex {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        margin: auto;
    }
    .flex {
        display: block;
    }
    .menu {
        display: block;
    }
    .part1 {
        display: flex;
        flex-direction: column-reverse;
    }
    .part2, .part3 {
        display: flex;
        flex-direction: column;
    }
    .logo {
        margin: 10px 0 10px 10px;
    }
    header {
        background-image: url(../image/mobile/image-header.jpg);
        background-repeat: no-repeat ;
        background-size: cover;
        padding-top: 20px;
        width: 100%;
        height: 100vh;
    }
    .title {
        width: 71%;
        text-align: center;
        padding-top: 60px;
        margin: auto;
    }
    .moblie-menu  {
        display: none;
    }
    .navbar {
        display: none;
    }
    .header ul {
        display: block;
    }
    .about {
        display: flex;
        flex-direction: column;
    }
    .text-about,
    .text-server {
        width: 100%;
        margin-top: 40px;
        margin-bottom: 40px;
        text-align: center;
    }
    .text-about h1,
    .text-server h1 {
        width: 80%;
        margin: auto;
        font-size: 2rem;
        text-align: center;
        margin-bottom: 20px;
    }
    .heading-server {
        font-size: 2rem !important;
    }
    .text-about p,
    .text-server p {
        width: 76%;
        margin: auto;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .text-about .link, 
    .text-server .link
    {
        width: 67%;
        margin: auto;
    }
    .image-about, .image-server {
        width: 100%;
    }
    .part3 {
        align-items: normal;
    }
    .graph {
        width: 100%;
        position: relative;
    }
    .text-graph {
        width: 100%;
        position: absolute;
        bottom: 15px;
        left: 0%;
        text-align: center;
        margin-bottom: 20px;
    }
    .image-graph {
        width: 50%;
    }
    .image-graph img {
        width: 200%;
    }
    .photo {
        width: 100%;
        color: var(--Darkblue);
        position: relative;
    }
    .text-photo {
        width: 100%;
        position: absolute;
        bottom: 5px;
        right: 0%;
        margin-bottom: 20px;
        text-align: center;
    }
    .image-photo {
        width: 50%;
        position: relative;
    }
    .image-photo img {
        width: 200%;
    }
    .text-graph h1,
    .text-photo h1 {
        margin-bottom: 20px;
        font-size: 2rem;
    }
    .text-graph p,
    .text-photo p {
        line-height: 1.5;
        width: 90%;
        font-size: 0.9rem;
        margin: auto;
    }

    .clint {
        width: 100%;
        margin: 0;
    }
    .title-clint {
        padding: 40px 0;    
        color: var(--Grayishblue);
        text-transform: uppercase;
        letter-spacing: 5px;
        font-size: 1rem;
    }
    .image-clint {
        width: 50%;
        margin: auto;
    }
    .strong-clint {
        width: 80%;
        margin: auto;
    }
    .strong-clint .text {
        font-size: 0.9rem;
        width: 92%;
        margin: auto;
    }
    .strong-clint .text h1 {
        font-size: 1.5rem;
    }
    .strong-clint .text p {
        margin: 10px 0 30px 0;
    }
    .image-clint {
        width: 20%;
        margin: auto;
    }
    .image-clint img {
        width: 50px;
        border-radius: 50%;
        margin-bottom: 30px;
    }
    .projects div {
        width: 50%;
    } 
    .projects {
        display: flex;
        flex-wrap: wrap;
    }
    .projects img {
        vertical-align: middle;
        width: 49%;
    }
    footer {
        text-align: center;
        padding: 50px 0;
        color: var(--Darkmoderatecyan);
        background-color: #458c7e60;
    }
    footer h1 {
        margin-bottom: 20px;
    }
    footer ul {
        width: 100%;
    }
    .link-footer {
        width: 51%;
        margin: auto;
    }
}