*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

header{
    background-color:rgb(34, 32, 49);
    height: 55px;
    width: 100%;

}

nav img{
    width: 5%;
    height: 40px;
    margin-top:10px;
}

nav, ul, .third-section, footer{
    display: flex;
    flex-basis:15%;
    justify-content: space-between;
    margin: 0 20px;
    list-style: none;

}

nav img + a{
    display: inline-block;
    background-color: white;
    color: rgb(34, 32, 49);
    text-align: center;
    width:8%;
    margin-top: 10px;
    
}


nav * {
    color: white;
    line-height: 3;
    text-decoration: none;
    list-style: none;
}

main{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 50%;
    background-color:rgb(34, 32, 49);
    color:white;
    height: 400px;
}

main > section{
    flex-basis: 60%;
    display: relative;
    
}
main > section > h1{
    font-size: 40px;
    text-align: center;
}

main > section > h1 + p{
    font-size: 18px;
    text-align: center;
    
}

main section img{
    width: 5%;
}

.flex{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}
main section img + span{
    display: inline-block;
    opacity: 70%;
    line-height: 3;
}

main #image{
    display: block;
    position: absolute;
    bottom: 30%;
    left: 45%;
    color:black;
}

section.first-section{
    text-align: center;
    width:100%;
    margin: 40px auto;
    height: 300px;
    padding:40px 0;
   
}

section.first-section p{
    display: inline-block;
    width: 30%;
    font-size: 20px;
}

/* SEOND SECTION */
.second-section {
    background-color: rgb(229, 226, 226);
    display: flex;
    flex-basis: 100%;
    height: 550px;
    justify-content: center;
    align-content: center;
   
    
    

}
.second-section section{
   flex-basis: 25%;
   margin-right: 70px;
     
}

.second-section div{
    margin-top: 20%;
    margin-right: auto;
    margin-left: auto;
    width: 90%;
    height: 200px;
    background-color: rgb(34, 32, 49);
}

.second-section section > div + h2{
    text-align: center;
    margin: 10px;
    
}

.second-section section > div + h2 + p{
    text-align: center;
    font-size: 15px;
    opacity: 90%;
    margin: 10px;
}

.second-section section > div + h2 + p + a{
    display: inline-block;
    border:2px solid rgb(34, 32, 49);
    color:black;
    width:50%;
    height: 50px;
    text-align: center;
    text-decoration: none;
    margin: 20px 100px;
    padding: 15px;
    
}

.third-section{
    flex-direction: column;
    align-items: center;
    justify-content: center;  
    margin-bottom: 20px; 
    
}
.third-section h2{
    margin-top: 80px;
    font-size: 25px;
    font-weight: bold;
}

.third-section p{
    width: 40%;
    margin-top: 10px;
    text-align: center;
    opacity: 80%;
}

.third-section a{
    display: inline-block;
    width:10%;
    height: 35px;
    border: 1px solid rgb(34, 32, 49);
    text-align: center;
    margin-bottom: 20px;
    text-decoration: none;
    padding-top:10px;
    margin-top: 20px;
    color:black;
    

}



.clearfix:after{
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    line-height: 0;
}
.clear{
    clear: both;
}

/* footer */

ol{
    display: flex;
    list-style: none;
    gap: 30px;
}

footer{
    height: 200px;
    width: 100%;
    margin-left: 0;
    padding:15px;
    background-color: rgb(34, 32, 49);
}

footer section{
    flex-basis: 10%;
}


footer > section i{
    font-size: 30px;
    color: black;
    margin-right:5px;
    color: white;
    
}
footer a {
    color:white;
}

footer > section h5{
    color:white;
    opacity: 40%;
    padding: 10px 0;
}

footer section ol li{
    font-size: 15px;
}


footer > section + section h5{
    color:white;
    opacity: 100%;
}

footer > section + section p{
    color:white;
    opacity: 50%;
    margin-top: 5px;
}

footer > section + section span{
    color:white;    
}
aside{
    background-color: rgb(34, 32, 49);
    padding: 20px;
    color: white;
}

aside p{
    border-top: 1px solid gray;
    padding: 20px 0;  
    font-size: 20px; 
}