@import url('https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap');

*,
*::after,
*::before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
    --primary-color:#97d12c;
    --secondary-color:#222;
    --light-color: #fff;
}

body{
    background: linear-gradient(to right,rgb(252, 13, 5),rgb(62, 10, 87));
    font-family: 'Nunito', sans-serif;
    font-size: 25px;
    color: var(--light-color);
    line-height: 1.6;
}

a{
    text-decoration: none;
    color: var(--light-color);
}

nav{
    display: flex;
    justify-content: space-between;
    padding: 0.5% 2.5%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color:rgba(201, 169, 253, 0.582);
    box-shadow: 0 10px 42px rgba(200, 228, 228, 0.192);
   
}

nav ul{
    display: flex;
    list-style: none;
}

nav li:not(:last-child){
    margin-right: 20px;
}

nav a:hover{
    color:black;
}

header{
   /* background-color:rgb(243, 163, 72); */
   background: linear-gradient(to right,blue,rgb(247, 27, 64));
    /* background-attachment: fixed; */
    /* background-size: cover; */
    height: 10%;
}

.welcome-event{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 600px;
    margin:0% 5%;
}

.welcome-event h1{
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
}

.welcome-event p{
    width: 30%;
    text-align: center;
}

section{
    padding-top: 5%;
}

.section-title {
    text-transform: uppercase;
    text-align: center;
}

.section-title:after , .child2 h2:after{
    display: block;
    content: "";
    width: 15%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: auto;
    margin-bottom: 3%;
}

.scrl{
    width:90%;
    margin-left:8.5%;
    margin-right:10%;
}

.scrl img{
    width:30%;
    border-radius: 30px;
    margin-bottom:0.5%;
    margin-left: 0.5%;
}

.d1,.d2{
    display:flex;
}

/* contact us  */

.contact{
    background: linear-gradient(to right,#ee0f07,rgb(10, 66, 63));
    display:flex;
    margin-top:10%;
    width:100%;
}

.child1{
    background: url("http://aquaclearsolution.com/wp-content/uploads/2020/12/contactus_banner.jpg");
    background-size:cover;
    padding:10% 0;
    width:50%;
}

.contact p{
    color:#fff;
    padding-left:20%;
    font-size:20px;
}

.child2{
    width:45%;
    text-align: center;
    margin: 4%;
}

.contact p span{
    font-size:16px;
    color:darkgreen;
}

input{
    padding:3% 10%;
    font-size: large;
    margin:1%;
    border-radius: 10px;
}

textarea{
    padding: 2% 4%;
    margin-top:1%;
    font-size:large;
    border-radius: 10px;
}

button{
    background-color: rgb(245, 140, 41);
    color:white;
    border-radius: 15%;
    padding: 3% 10%;
    text-transform: uppercase;
}

.btn:hover{
   background-color:limegreen;
}