*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav img{
    width:8%;
    height:45px;
    
}

header {
    background-color: black;
    width: 100%;
    height: 48px;
    color:white;
    position: relative;
}

header *{
    color: white;
    line-height: 3;
    text-decoration: none;
    }

header img + a{
    font-size: 20px;
    line-height: 2;
}

nav ul li{
    border-left: 1px solid white;
    padding-left:8px;
}



nav, ul, main, .container, .header{
    display: flex;
    justify-content: space-around;
}

main section + section{
    display: flex;
    flex-wrap: wrap;
    flex-basis: 50%;
    gap:5px;
    position: relative;
}

form{
    border-left: 1px solid white;
    padding-left: 10px;
}

main > section + section > section{
    position: relative;
}


main > section + section > section > h2{
    position: absolute;
    color:white;
    left: 10px;
    top:100px;
}

main > section + section > section#img1 span{
    position: absolute;
    color:white;
    left: 1px;
    top:165px;
}


main + h2{
    border-left:2px solid red;
    margin: 40px 10px;
    padding-left: 8px;
}


main > section + section > section > span{
    display: inline-block;
    align-self: flex-end;
    margin-left: 10px;
    margin-bottom: 10px;
    color:white;
    font-size: 20px;
    font-weight: bold;
    opacity: 70%;
}


ul{
    flex-basis: 60%;
    list-style: none;
}

ul li a{
    text-decoration: none;
}

.header h1{
    flex-basis: 86%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.header span{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right:8px;
}

main section{
    flex-basis: 48%;
}

section.img1 h2, section.img1 p, section.img1 span{
    margin-left: 7px;
    color:white;
    opacity: 70%;
    
}

main > section.img1 > h2#section_header{
    margin-top: 310px;
    color: white;
    opacity: 100%;
    font-weight: bold;
    font-size: 30px;
}

section.img1 span{
    border-left:2px solid red;
    padding-left: 5px;
    margin-top: 7px;
    display: inline-block;
}

.container section {
    flex-basis: 32%;
    margin-top:50px;
}


/* background images */



main section.img1{
    background-image: url("../img/01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height:400px;

    

}

#img1{
    background-image: url("../img/02.jpg");
    background-repeat:no-repeat;
    background-size: cover;
}

#img1 > h2 + span{
    border-left: 2px solid cornflowerblue;
    display: inline-block;
    padding-left:5px;
    
}


#img2{
    background-image: url("../img/03.jpg");
    background-repeat:no-repeat;
    background-size: cover;
}

#img2 > h2 + span{
    border-left: 3px solid red;
    display: inline-block;
    padding-left:5px;

    
}


#img3{
    background-image: url("../img/04.jpg");
    background-repeat:no-repeat;
    background-size: cover;
    flex-basis: 48%;
    }

#img3 > h2 + span{
        border-left: 2px solid cornflowerblue;
        display: inline-block;
        padding-left:5px;
        }
#img4{
    background-image: url("../img/05.jpg");
    background-repeat:no-repeat;
    background-size: cover;
    
}

#img4 > h2 + span{
    border-left: 2px solid purple;
    display: inline-block;
    padding-left:5px;
    
}


.container{
    margin-top: -70px;
}

.container span{
    border-left: 2px solid red;
    padding-left:5px;
    opacity: 70%;
    display: inline-block;
    margin:20px 0;
}

.container p{
    opacity: 70%;
    display: inline-block;
    margin:5px 0;
}
 
