body,h1 {
    margin:0;
    padding:0;
    font-family: 'Rubik', sans-serif;
    font-family: 'Ubuntu', sans-serif;
}

/*____________________________________MAIN*/

main {
    min-height: 175px;
    background:#f3f3f3;
    padding:40px 10px;
}

main h1{
    color:rgb(47, 0, 255);
    font-weight: 300;
}

main>div {
    max-width:1080px;
    margin:auto;
    text-align: center;
    position:relative;
    top:30px;
}
main p {
    padding:10px;
    max-width:750px;
    margin:auto;
    margin-top:20px;
}

/*____________________________________countriesSlider*/

#countriesSlider {
    background:#f3f3f3;
    padding-bottom:50px;
}
#countriesSlider > div{
    max-width:650px;
    margin:auto;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#countriesSlider>div>img{
    width:150px;
    justify-self: center;
}

/*____________________________________whatWeDo*/

#whatWeDo{
    margin-top:90px 0;
    position:relative;
    min-height: 700px;
}

#whatWeDo >div#whatWeDoDivOne{
    max-width:1080px;
    display:grid;
    grid-template-columns: 2fr 1fr;
    margin:auto;
    position: relative;
    top: 200px;
}

#whatWeDo >div#whatWeDoDivOne>div:first-child{
    padding:20px;
    border-right:3px solid grey;
    position:relative;
}

#whatWeDo >div#whatWeDoDivOne>div:last-child{
    background:#f3f3f3;
    padding:15px;
}

#whatWeDo >div#whatWeDoDivOne>div>h2{
    font-weight: 300;
    margin:20px 0;
    color:rgb(47, 0, 255);
}
#whatWeDo >div#whatWeDoDivOne>div>p{
    max-width:80%;
    position:absolute;
    top:175px;
    padding:15px 0;
}

#whatWeDo >div#whatWeDoDivOne>div>h5{
    font-weight: 300;
    background:#f3f3f3;
    color:rgb(47, 0, 255);
    text-align: center;
    width:75%;
    padding:5px;
    border-radius:5px;
    position:absolute;
    right:10px;
    top:125px;
}

#whatWeDo >div#whatWeDoDivOne>div>h5>img{
    position:relative;
    left:10px;
}

.custom-shape-divider-top-1693149949 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1693149949 svg {
    position: relative;
    display: block;
    width: calc(102% + 1.3px);
    height: 126px;
}

.custom-shape-divider-top-1693149949 .shape-fill {
    fill: #F3F3F3;
}

/*____________________________________cards*/

#cards{
    min-height: 900px;
    position: relative;
    padding-top:135px ;
    background: url('../images/studentConsultancyBackgroundTwo.jpg') fixed ;
}

#cards > h2{
    text-align: center;
    padding:15px 0 ;
    color:white ;
    max-width:940px;
    margin:auto;
    font-weight: lighter;
    margin-bottom:30px;
}
#cards >div#cardsDivOne{
    max-width:1080px;
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    margin:auto;
    padding:10px;
    grid-gap:15px;
}

#cards >div#cardsDivOne>div{
    margin:10px;
    background:white;
    padding:15px;
    border-radius:10px;
    text-align: center;
    justify-self: center;
}

#cards >div#cardsDivOne>div>div>h5{
    padding:15px 0;
    color:rgb(47, 0, 255);
}

.custom-shape-divider-bottom-1693137376 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1693137376 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 200px;
}

.custom-shape-divider-bottom-1693137376 .shape-fill {
    fill: #F3F3F3;
}

.custom-shape-divider-top-1693148610 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1693148610 svg {
    position: relative;
    display: block;
    width: calc(133% + 1.3px);
    height: 180px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1693148610 .shape-fill {
    fill: #FFFFFF;
}

/*____________________________________form*/

#message{
    height:100px;
    resize: none;
}

#submit{
    width:100%;
}

@media all and (max-width: 990px){

    #whatWeDo >div#whatWeDoDivOne>div>h5{
        display:none;
    }

    #whatWeDo >div#whatWeDoDivOne>div>p{
        position:static;
        max-width:100%;
    }

    #whatWeDo >div#whatWeDoDivOne>div:first-child{
        padding:10px;
    }
    #cards >div#cardsDivOne{
        max-width:600px;
    }

    #cards {
        min-height: 1350px;
        padding-top: 175px;
    }
}

@media all and (max-width: 700px){

    #whatWeDo >div#whatWeDoDivOne{
        grid-template-columns: 1fr 1fr;
    }

    #countriesSlider>div>img{
        width:125px;
    }

    #cards >div#cardsDivOne{
         grid-template-columns: repeat(auto-fit,minmax(295px,1fr));
    }

    #cards{
        min-height: 1850px;
    }

}

@media all and (max-width: 575px){

    #whatWeDo{
        min-height: 1000px;
        padding: 0px;
        margin: 0px;
    }
    #whatWeDo >div#whatWeDoDivOne>div:last-child{
        background:white;
        padding:15px;
    }
    #whatWeDo >div#whatWeDoDivOne{
        grid-template-columns: 1fr;
    }

    #whatWeDo >div#whatWeDoDivOne>div:first-child{
        border-right:none;
    }

    #countriesSlider>div>img{
        width:125px;
    }

    #countriesSlider>div{
        grid-template-columns: 1fr 1fr;
        grid-gap:15px;
    }

}

@media all and (max-width: 430px){
    #whatWeDo{
       min-height: 1100px;
    }

    #cards{
        min-height: 1900px;
    }

}

@media all and (max-width: 325px){
    #cards>div>div{
        margin:5px;
        padding:5px;
        justify-self: left;
        
    }

    nav div a {
        margin:0;
    }
}