/*____________________________________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:500px;
    margin:auto;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
}

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

/*____________________________________TWOSERVICES*/

#two{
    position: relative;
    min-height: 750px;
    background:  url('../images/books.jpg') fixed;
}

#twoDiv{
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    top: 175px;
    color: White;
    padding: 0 25px;
}

#twoDiv>div:first-child>h2:first-child,#twoDiv>div:first-child>h2:last-child{
    font-size: 36px;
    position: relative;
    top: 65px;
}
#twoDiv>div:first-child>h2:nth-child(2){
    font-size: 58px;
    position: relative;
    top: 65px;
    left: 30px;
}

#twoDiv>div:first-child>h1::after{
    content: '';
    background: red;
    width: 10px;
    height: 10px;
}
#twoDiv>div:last-child>p{
    text-align: center;
}

#twoDiv>div:last-child>p>span{
    font-size: 24px;
}

/*____________________________________IELTSSERVICES*/

#IELTSTwo{
    position: relative;
    min-height: 700px;
    background:  url('../images/IELTSNew.jpg') fixed 50% 50%;
}

#IELTSDiv{
    max-width: 960px;
    margin: auto;
    position: relative;
    top: 150px;
    color: white;
}

#IELTSDiv>h2{
    text-align: center;
    font-weight: lighter;   
}
#IELTSDiv>p{
    margin: 40px 10px;
    text-align: center;
}
#IELTSDiv>h4{
    text-align: center;
}
#IELTSDiv>ul{
    margin: 25px 10px;
    text-align: center;
    list-style-type: none;
}

/*____________________________________CURVES*/

.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: 110px;
    transform: rotateY(180deg);
}

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

/*____________________________________MEDIA*/

@media all and (max-width: 875px){
    #two{
        min-height: 850px;
    }
    #twoDiv{
        grid-template-columns: 1fr;
        top: 170px;
    }
    #twoDiv>div:first-child>h2:first-child,#twoDiv>div:first-child>h2:last-child{
        text-align: center;
        top: 0;
    }
    #twoDiv>div:first-child>h2:nth-child(2){
        text-align: center;
        top: 0;
        left: 0;
    }
}

@media all and (max-width: 600px){
    #two{
        min-height: 900px;
    }
    #twoDiv>div:first-child>h2:first-child,#twoDiv>div:first-child>h2:last-child{
        font-size: 28px;
    }
    #twoDiv>div:first-child>h2:nth-child(2){
         font-size: 36px;
    }
    #twoDiv>div:last-child>p>span{
        font-size: 20px;
        color: cyan;
    }
}

@media all and (max-width: 465px){
    #countriesSlider>div>img{
        width:100px;
    }
    #two{
        min-height: 1050px;
    }
    #IELTSTwo{
        min-height: 800px;
    }
}

@media all and (max-width: 350px){
    #two{
        min-height: 1150px;
    }
}