body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
header{
    width: 100%;
    height: auto;
    background-color: bisque;
    position: fixed;
    top: 0;
    z-index: 1;
}
header div{
    float: left;
    justify-content: space-between;
    align-items: center;
}
header .logo{
   margin-left: 200px;
   padding-right: 20px;
}
header .logo:hover{
    box-shadow: 5px 10px 30px rgba(130, 147, 255, 0.5);
    transition: all 0.5s ease-in 0.1s;
    outline: none;
    border-radius: 10%;
}
header .nav{
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 200px;
}
header .nav ul{
    list-style: none;
}
header .nav ul li{
    float: left;
    padding-right: 40px;
    padding-top: 10px;
}

header .nav ul li a{
    text-decoration: none;
    color: rgb(255, 44, 6);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
}
header .nav ul li a:hover{
    color: #7f97ff;
}



.iconarea{
    position: fixed;
    top: 330px;
    left: 2px;
    transform: translateY(-50%);
    background-color: #f9f9ff;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
    padding: 5px 0px;
    z-index: 1;
    border-radius: 20%;
}
.iconarea :hover{
    background-color:#000000;
    transition: all .5s ease-in-out;
}

.iconarea a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    text-decoration: none;
    color: #000000;
}
.iconarea a:hover{
    color: red;
    font-size: 20px;
    transition: all .3s ease-in-out;
}


/* Section 1 start */
.section1{
    width: 100%;
    height: auto;
}
.sec1 img{
    margin-top: 50px;
    max-width: 100%;
    height: auto;
}
.section1 h3{
    text-align: center;
    color: brown;
    text-shadow: 1px 2px green;
    text-decoration-color: black;
    text-overflow: 100px;
    text-decoration-color: brown;
    text-wrap: 5px;
    position: relative;
}
@media only screen and (max-width: 600px){

}



.box1{
    width: 300px;
    height: 100px;
    background-color: yellow;
    margin: auto;
    transition-property: all;
    transition-delay: 1s;
    transition-duration: 1s;
    position: relative;
}
.box1:hover{
    width: 200px;
    height: 50px;
}
.sec2 {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.box2{
    width: 200px;
    height: 200px;
    background-color: red;
    margin-top: 40px;
    position: relative;
    animation-name: square;
    animation-duration: 6s;
    animation-timing-function: linear ;
    animation-delay: 2s;
    animation-iteration-count: infinite ;
    animation-direction: alternate;
    animation-fill-mode: backwards;
    animation-play-state: running;
}

@keyframes square {
    0% {
        background-color: red ;
        right: 0px;
        left: 0px ;
    }
    25%{
        background-color: green ;
        right: 50px;
        left: 40px;
    }
    50%{
        background-color: blue;
        right: 50px;
        left: 40px;
        
    }
    75%{
        background-color: black;
        right: 50px;
        left: 60px;
        border-radius: 50%;

    }
    100%{
        background-color: blanchedalmond;
        right: 00px;
        left: 0px;
        border-radius: 40%;
    }
}
.circle{
    width: 150px;
    height: 150px;
    border: 10px solid blue;
    margin-top: 50px;
    margin-left: 100px;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 50%;
    animation: circle 3s infinite forwards;
}
@keyframes circle{
    0%{border-color: red; transform: scale(1);}
    25%{border-color: green; transform: scale(1.1);}
    50%{border-color: white; transform: scale(1.2);}
    75%{border-color: blue; transform: scale(1.3);}
    80%{border-color: black; transform: scale(1.4);}
    100%{border-color: brown; transform: scale(1.5);}
}
.box3{
    width: 30px;
    height: 30px;
    border: 5px solid blue;
    animation: box 2s infinite alternate;
}
@keyframes box{
    0%{transform: rotate(0deg); border-width: 5px;}
    25%{border-color: aqua; border-width: 10px;}
    50%{border-color: red; border-width: 15px;}
    75%{border-color: blue; border-width: 25px;}
    88%{border-color: black; border-width: 35px;}
    100%{transform: rotate(360deg);}
}

/* Section 1 end */

.sec3{
    margin-top: 100px;
}
.sec4{
    margin-top: 150px;
}


/* Footer start */
footer{
    background-color: rgba(23, 25, 41, 0.8);
    width: 100%;
    height: 300px;
    color: white;
    position: absolute;
    margin-top: 15%;
}
.foot{
    width: 90%;
    height: auto;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    margin-top: 80px;
}
.f1 p{
    color: whitesmoke;
    opacity: 0.7;
}
.f1 input{
    font-size: 15px;
    outline: none;
    border: none;
    padding: 10px 150px 10px 10px ;

}
.f1 button{
    font-size: 18px;
    outline: none;
    border: none;
    padding: 8px 10px ;
    color: white;
    background-color: #7f97ff;
    cursor: pointer;
}
.f1 a i{
    font-size: 25px;
    cursor: pointer;
    padding: 2px 5px;
    color: white;
}
.foot .f1 i:hover {
    color: #8393ff;
}
/* Footer end */





/*Responsive CSS for Desktop*/
@media (min-width:1024px){
    .sec2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sec3{
        margin-left: 400px;
    }
    .sec3 video {
        width: 500px;
        height: auto;
        margin-left: 20px;
    }
    
    .sec3 img {
        width: 500px;
        height: auto;
        margin-left: 20px;
    }

}



/* Responsive CSS for Mobile Devices */

/* Smaller tablets and large phones (landscape view) */
@media only screen and (max-width: 991px) {

    header {
        position: relative;
        height: auto;
    }

    header .logo {
        margin-left: 0;
        
    }
    header .nav {
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 0;
    }

    header .nav ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: 40px;
        justify-content: space-between;
        
    }

    header .nav ul li{
        font-weight: normal;
        float: left;
        padding: 2px ;
        list-style: none;
        border: 1px solid black;
    }
    header .nav ul li 

    .sec2{
        display: inline-flex;
        justify-content: space-between;
    }

    





    footer {
        height: auto;
        margin-top: 20px;
        padding: 50px 0;
    }

    .foot {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 10px;
    }

    .f1 input {
        width: 80%;
        padding: 10px;
    }

    .f1 button {
        margin-top: 10px;
        margin-left: 150px;
    }

}



/* Mobile devices (portrait and smaller screens) */
@media only screen and (max-width: 600px) {

    body {
        font-size: 14px;
    }

    header .logo {
        margin-left: 10px;
    }

    header .nav ul li a {
        font-size: 15px;
        padding: 5px;
    }
    header .nav{
        position: relative;
    }
    header .nav ul li {
        padding: 5px;
        border: 2px solid #7f97ff;
    }
    header .nav ul li:hover{
        background-color: rgba(0, 0, 0, 0.2);
    }
    .sec2 {
        width: 90%;
    }
        
    .box2 {
        width: 100px;
        height: 100px;
    }
        
    .box3 {
        width: 20px;
        height: 20px;
    }
        
    .circle {
        width: 100px;
        height: 100px;
    }
        
    .sec3 video  {
        width: 300px;
        height: auto;
        margin-left: 25px;
    }
    .sec3 img{
        width: 300px;
        height: auto;
        margin-left: 25px;
    }

    




    footer {
        font-size: 14px;
    }

    .f1 a i {
        font-size: 20px;
    }
}
