*{
    padding:0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body{
    height: auto;
     width: 100%;
     overflow-x: hidden;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
nav div{
   font-size: 1.2em;
    display: flex;
    gap:20px;
}
nav img{
    height: 40px;
    width: auto;
}
#rainbowline{
    margin-bottom: -4px;
    width: 100%;
}
.mainimage{
    width: 100%;
    height: 95vh;
    display: flex;
    flex-direction: column;
    line-height: 50px;
    background-image: url(https://agrimachinery.africa/storage/2024/10/Right-tractor-for-your-farm-needs.webp);
    background-repeat: no-repeat;
    padding: 10vw;
    background-size: cover;
    clip-path: ellipse(80% 100% at 50% 0%);
}
@keyframes movetext{
    0%{
        transform: translateX(-300px);
    }
    100%{
        transform: translateX(0);
    }
}
.mainimage h1{
    width: 30vw;
    height: auto;
    color: rgb(0, 0, 0);
     font-size: 45px;
     animation: movetext 1s linear forwards;
}
.mainimage button{
    height: 45px;
    width:180px;
    color: white;
    background-color: rgb(251, 147, 0);
    border: none;
    border-radius: 20px;
    font-size: 20px;
     animation: movetext 1s linear forwards;
}
#imagediv{
    width: 100%;
    height: 95vh;
}
.mainimage span{
    width: 30vw;
    font-weight: 300;
    font-size: 26px;
    animation: movetext 1s linear forwards;
}
#footer{
    display: flex;
    line-height: 30px;
    justify-content: center;
    padding: 20px 20px 40px 20px;
    background-color: rgb(224, 224, 224);
}
#footer div{
    width: 33vw;
    background-color: rgb(224, 224, 224);
    border-right: 1px solid black;
    padding: 20px;
}
#redcolor{
    color: red;
    margin: 20px 0;
}
#copyright{
    display: flex;
    justify-content: center;
    height: 5vh;
    font-size: 19px;
    align-items: center;
}
.logos{
    height: 55px;
    width: auto;
}
.whoare h1{
   font-size: 35px;
}
.whoare{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.whoare img{
    width: 10vw;
    height: 4px;
    margin: 20px 0 30px 0;
}
.whoare p{
    font-size: 25px;
    font-weight: 100;
}
.whoare h2{
    font-size: 26px;
}
#threeD{
    height: 35vw;
    width: 35vw;
}
#imagepara{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top:100px;
}
#imagepara div{
    width: 35vw;
}
#focusarea img{
   height: 4px;
   width: 15vw;
   margin: 0 0 30px 0;
}
#focusarea h1{
    font-size: 35px;
}
#focusarea div{
    background-color: #BFE8c8;
    width: 70vw;
    padding: 20px;
    border-radius: 80px;
    text-align: center;
}
#focusarea{
    display: flex;
    flex-direction: column;
    gap:20px;
    align-items: center;
    padding: 8vw 0;
}
#focusarea p{
    font-size: 22px;
    font-weight: 100;
    padding: 20px;
}
.investment h1{
     font-size: 35px;
}
#line1{
    height: 4px;
    width:20vw;
    margin: 20px 0 30px 0;
}
.investment{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#imageinvest{
    display: flex;
    align-items: center;
    justify-self: center;
    gap:3vw;
    padding: 2vh;
     animation: moveboxes 2s linear forward;
}
.investment img{
    width:220px;
    height:370px;
}
.investment img:hover{
    transform: scale(1.1);
}
#imagetwo{
    width:210px;
    height:400px;
    position: relative;
    top:15px;
}
.dashed{
    height: 15px;
    width: 30px;
    background-color: blue;
    border-radius: 10px;
}
.aligndash{
    display: flex;
    align-items: center;
    gap:20px;
}
.key img{
    height: 350px;
    width: 350px;
}
.aligndash h1{
    font-size: 40px;
    font-weight: 700;
}
.key{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 13vh;
}
.opportunity h1{
    font-size: 40px;
    color: rgb(45, 45, 178);
}
.opportunity p{
    font-size: 24px;
    font-weight: 100;
    margin: 30px 0;
    animation: movepara 1s linear forwards;
}
@keyframes movepara{
    0%{
        transform: translateX(300px);
    }
    100%{
        transform: translateX(0);
    }
}
.opportunity b{
    font-weight: 600;
}
.opportunity img{
    height: 100vh;
    width: 50vw;
    animation: moveimage 1s linear forwards;
}
@keyframes moveimage{
    0%{
        transform: translateX(-300px);
    }
    100%{
        transform: translateX(0);
    }
}
#oppopara{
    width: 35vw;
}
.opportunity{
    display: flex;
    align-items: center;
    gap:5vw;
}
#pitch{
    height: 45px;
    width:200px;
    color: white;
    font-size: 20px;
    background-color: orange;
    border: none;
    border-radius: 20px;
    animation: movebutton 1s linear forwards;
}
@keyframes movebutton{
    0%{
        transform: translateX(-100px);
    }
    100%{
        transform: translateX(0);
    }
}
#line2{
    height: 4px;
    width:20vw;
    margin: 20px 0 30px 0;
}
.Frequently{
    display: flex;
    flex-direction: column;
   align-items: center;
   padding: 5vw;
}
.Frequently div{
    border: 1px solid black;
    border-radius: 50px;
    padding: 15px;
    width:60vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
    margin-bottom: 10px;
}
.question{
    width: 55vw;
    margin: 20px;
    font-size: 20px;
    display: none;
}
.dropdown div img:active .question{
    display: block;
}
#hamberg{
    display: none;
}
@media all and (max-width:970px){
    nav div:nth-child(2){
        display: none;
    }
    nav div:nth-child(3){
        display: none;
    }
    nav div:nth-child(4){
        display: block;
    }
    #imagediv{
        flex-direction: column;
    }
    #imagepara{
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
#imagepara div{
    width: 90vw;
}
#threeD{
    height: 65vw;
    width: 65vw;
    display: flex;
    justify-self: center;
}
.key{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:10vh;
}
.opportunity{
    flex-direction: column;
}
.opportunity div{
    width:100vw;
}
#oppopara{
    width:70vw;
}
.opportunity img{
    width:80vw;
    height: 80vh;
}
.mainimage{
    background-image: none;
    height:250px;
    width:80vw;
    clip-path: none;
}
.mainimage h1{
    width: 80vw;
}
.mainimage span{
    width: 60vw;
}
#imagediv{
    height:200px;
}
}
@media all and (max-width:870px){
    #footer{
        flex-direction: column;
    }
    #footer div{
        width:90vw;
    }
    #footer div:nth-child(1),#footer div:nth-child(2),#footer div:nth-child(3){
        border-right: none;
    }
    .mainimage{
    height:250px;
    width:90vw;
    clip-path: none;
}
.mainimage h1{
    width: 90vw;
}
.mainimage span{
    width: 90vw;
}
#imagediv{
    height:200px;
}
#imageone{
         height:240px;
         width:150px;
    }
     #imagetwo{
        height:260px;
         width:150px;
    }
    .aligndash{
        width:90vw;
    }
}

@media all and (max-width:500px){
    #imageone{
         height:170px;
         width:100px;
    }
     #imagetwo{
        height:190px;
         width:100px;
    }
    #focusarea div{
        width:80vw;
        border-radius: 15px;
        padding: 15px 5px 10px 15px;
    }
}



















