/*____________________________________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;
}

/*____________________________________two*/

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

#twoDiv,#fourDiv{
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    top: 175px;
    color: black;
    grid-gap: 10px;
}

#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;
    color: #000080;
}

#twoDiv>div:last-child>p,#fourDiv>div:first-child>p{
    text-align: center;
}

#twoDiv>div:last-child>p>span,#fourDiv>div:first-child>p>span{
    font-size: 24px;
    color: #000080;
}

/*____________________________________three*/

#three{
    position: relative;
    min-height: 550px;
    background:  #f3f3f3;
}

#threeDiv{
    max-width: 1080px;
    margin: auto;
}

#threeDiv>h2{
    padding: 50px 0;
    text-align: center;
    font-size: 36px;
}

#threeDiv>h2>span{
    font-size: 58px;
    color: #000080;
}

#threeDiv>p>span{
    font-size: 24px;
    color: #000080;
}

/*____________________________________four*/

#four{
    position: relative;
    min-height: 750px;
    background:  url('../images/canadaNew.jpg') fixed 50% 43%;
}

#fourDiv{
    color: white;
}

#fourDiv>div:last-child>h2:first-child,#fourDiv>div:last-child>h2:last-child{
    text-align: right;
    font-size: 36px;
    position: relative;
    top: 95px;
}

#fourDiv>div:last-child>h2:nth-child(2){
    font-size: 58px;
    position: relative;
    top: 95px;
    right: 30px;
    color: #000080;
}

#fourDiv>div:first-child>p>span{
    color: #0079dc;
}

#fourDiv>div:last-child>h2:nth-child(2){
    color: #0079dc;
}

/*____________________________________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;
}

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

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

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

/*____________________________________MEDIA*/

@media all and (max-width: 1300px){
    #twoDiv, #threeDiv, #fourDiv{
        padding: 0px 35px;
    }

    #threeDiv{
        padding-bottom: 35px;
    }
}

@media all and (max-width: 1200px){
    #twoDiv,#fourDiv{
        grid-template-columns: 1fr;
        top: 150px;
    }

    #four{
        min-height: 800px;
    }

    #twoDiv>div:first-child>h2:first-child,#twoDiv>div:first-child>h2:last-child{
        top: 0px;
        text-align: center;
    }

    #twoDiv>div:first-child>h2:nth-child(2){
        text-align: center;
        top: 0px;
        left: 0px;
    }

    #fourDiv>div:last-child>h2:first-child,#fourDiv>div:last-child>h2:last-child{
        text-align: center;
        top: 0px;
    }

    #fourDiv>div:last-child>h2:nth-child(2){
        right: 0;
    }

    #fourDiv>div:last-child{
        grid-row: 1/2;
    }

}

@media all and (max-width: 715px){
    #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,#fourDiv>div:first-child>p>span{
        font-size: 20px;
        color: #000080;
    }
    #threeDiv>h2{
        font-size: 28px;
    }

    #threeDiv>h2>span{
        font-size: 36px;
    }

    #threeDiv>p>span{
        font-size: 20px;
    }

    #fourDiv>div:last-child>h2:first-child,#fourDiv>div:last-child>h2:last-child{
        font-size: 28px;
    }

    #fourDiv>div:last-child>h2:nth-child(2){
        font-size: 36px;
        color: #0079dc;
    }

    #fourDiv>div:first-child>p>span{
        color: #0079dc;
    }

    #fourDiv>div:last-child>h2:nth-child(2){
        color: #0079dc;
    }
}

@media all and (max-width: 575px){
    #two{
        min-height: 900px;
    }
    #four{
        min-height: 1000px;
    }
    #twoDiv{
        padding: 0px 15px;
    }
    #threeDiv{
        padding: 0 15px 40px 15px;
    }
    #fourDiv{
        padding: 0 15px;
    }
}

@media all and (max-width: 360px){
    #two{
        min-height: 1025px;
    }
    #four{
        min-height: 1100px;
    }
}
