@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'poppins',sans-serif;
}
::-webkit-scrollbar{
    height: 0;
    width: 0;
}
::selection{
    background-color: #009c00;
    color: #ffffff;
}
.head{
    position: fixed;
    top: 0;
    left: 0;
    height: 8vh;
    width: 100%;
    background-color: white;
    z-index: 10;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.116);
}
.logo{
    position: absolute;
    top: 0;
    left: 13%;
    height: 100%;
    width: 70vh;
}
.logo img{
    height: 100%;
    width: 50%;
}
nav{
    position: absolute;
    top: 0;
    left: 60%;
    width: 45vh;
    height: 100%;
    border-radius: 8px;
}
nav a{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,25%);
    height: 50%;
    width: 10vh;
    font-size: 1.7vh;
    font-weight: bold;
    color: black;
    display: inline-block;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.47s;
    border-radius: 0.7vh;
}
nav a:hover{
    color: white;
    background-color: #006eff;
}
nav a:nth-child(1){
    animation: bord-er 2s infinite;
}
@keyframes bord-er {
    0%,100%{
        border: 3px solid #003aa5;
    }
    50%{
        border: 3px solid transparent;
    }
}
.container{
    position: absolute;
    top: 15%;
    left: 0;
    height: 60%;
    width: 100%;
}
.img-box{
    position: absolute;
    top: 0;
    float: right;
    right: 0;
    height: 100%;
    width: 45%;
    background: url(d.png);
    background-size: 100% 100%;
    animation: bckg infinite 30s;
}
@keyframes bckg {
    0%{
        background: url(d.png);
        background-size: 100% 100%;

    }
    20%{
        background: url(Food&\ Spice.jpg);
        background-size: 100% 100%;

    }
    40%{
        background: url(Pharma.jpg);
        background-size: 100% 100%;

    }
    60%{
        background: url(Ayurvedic\ \(3\).jpg);
        background-size: 100% 100%;

    }
    80%{
        background: url(surgical-products-500x500\ \(1\).jpg);
        background-size: 100% 100%;

    }
    100%{
        background: url(Serine\ &\ herbs.jpg);
        background-size: 100% 100%;

    }
}
.text-box{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 55%;
}
.wrapper{ 
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-45%,-40%);
    height: 100%;
    width: 100%;
}
.wrapper h2{
    padding: 0;
    margin-right: 0;
    color: #004ddd;
    text-shadow: 0 2px 0 rgba(0,0,0,0.5);
    font-size: 3em;
}
.wrapper p{
    color: black;
    font-size: 1.5em;
    margin: 0;
    line-height: 37px;
    font-weight: bold;
    width: 80%;
}
.wrapper a{
    background-color: #003aa5;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 25px;
    transition: 0.47s;
    display: inline-block;
    border: 3px solid #003aa5;
    margin-top: 30px;
}
.wrapper a:hover{
    background-color: white;
    color: black;
    border-radius: 7px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.096);
}
span:before{
    content: '';
    animation: animate infinite 30s;
}
@keyframes animate {
    0%{
        content: 'India Biotech';
    }
    20%{
        content: 'Food - Spice & Corn starch products';
    }
    40%{
        content: 'Pharmaceuticals';
    }
    60%{
        content: 'Ayurvedic raw materials';
    }
    80%{
        content: 'Medical & Surgical products';
    }
    100%{
        content: 'Serine-herbs';
    }
}
.container-2{
    position: absolute;
    top: 97%;
    left: 0;
    height: 60%;
    width: 100%;
}
.container-2 p{
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 3em;
    font-weight: bold;
    color: #004ddd;
}
.box-1{
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%,-50%);
    height: 70%;
    width: 50%;
}
.box-1 h1{
    position: relative;
    top: 0;
    left: 1%;
    line-height: 40px;
}
.box-1 ul{
    position: relative;
    top: 10%;
    left: 1%;
    line-height: 35px;
    font-size: 1.5em;
    font-weight: 100;
}
.box-1 a{
    position: relative;
    top: 20%;
    left: 2%;
    padding: 7px;
    font-size: 1.3em;
    color: white;
    background-color: #004ddd;
    text-decoration: none;
    transition: 0.47s;
    border: 3px solid #004ddd;
}
.box-1 a:hover{
    border-radius: 7px;
    color: black;
    background-color: white;
}
.box-2{
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%,-50%);
    height: 80%;
    width: 30%;
    background: url(d.png);
    background-size: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.096);
}
.container-3{
    position: absolute;
    top: 190%;
    left: 0;
    transform: translate(0%,-50%);
    height: 37%;
    width: 100%;
    background: url(foot-bckg.jpeg);
    background-size: 50%;
    overflow: hidden;
}
.add{
    position: relative;
    top: -7%;
    left: 5%;
}
.add img{
    height: 50%;
    width: 30%;
}
.mail{
    position: relative;
    top: -105%;
    left: 37%;
}
.mail img{
    height: 50%;
    width: 30%;
}
.call{
    position: relative;
    top: -200%;
    left: 70%;
}
.call img{
    height: 50%;
    width: 30%;
}
.foot{
    position: absolute;
    top: 207.4%;
    left: 0;
    transform: translate(0%,-50%);
    height: 5%;
    width: 100%;
    color: white;
    line-height: 45px;
    text-align: center;
    cursor: default;
    background-color: #004ddd;
}

@media (max-width: 1250px){
    .logo{
        left: 7%;
    }
    nav{
        left: 40%;
    }
    nav a{
        font-size: 1.4vh;
        line-height: 30px;
    }
    .wrapper h2{
        font-size: 2.4em;
    }
    .wrapper p{
        font-size: 1em;
        line-height: 30px;
        width: 80%;
    }
    .wrapper a{
        padding: 7px 15px;
        font-size: 0.7em;
        margin-top: 20px;
    }
    .box-1 h1{
        font-size: 1.5em;
        line-height: 35px;
    }
    .box-1 ul{
        line-height: 30px;
        font-size: 1.2em;
    }
    .box-1 a{
        padding: 7px;
        font-size: 1em;
    }
    .container-3{
        overflow: hidden;
    }
    .add{
        top: 10%;
    }
    .add img{
        width: 27%;
    }
    .mail{
        top: -70%;
    }
    .mail img{
        width: 27%;
    }
    .call{
        top: -140%;
    }
    .call img{
        width: 27%;
    }
}
@media (max-width: 1550px){
    .logo{
        left: 10%;
    }
    nav{
        left: 55%;
    }
    nav a{
        font-size: 1.5vh;
        line-height: 40px;
    }
    .wrapper h2{
        font-size: 2.4em;
    }
    .wrapper p{
        font-size: 1em;
        line-height: 30px;
        width: 80%;
    }
    .wrapper a{
        padding: 7px 15px;
        font-size: 0.7em;
        margin-top: 20px;
    }
    .box-1 h1{
        font-size: 1.5em;
        line-height: 35px;
    }
    .box-1 ul{
        line-height: 30px;
        font-size: 1.2em;
    }
    .box-1 a{
        padding: 7px;
        font-size: 1em;
    }
    .container-3{
        overflow: hidden;
    }
}

@media (max-width: 768px){
    .logo{
        left: 2%;
    }
    nav{
        left: 30%;
    }
    nav a{
        font-size: 1.4vh;
        line-height: 35px;
    }
    .wrapper{
        transform: translate(-47%,-42%);
    }
    .wrapper h2{
        font-size: 2em;
    }
    .wrapper p{
        font-size: 1em;
        line-height: 25px;
        width: 80%;
    }
    .wrapper a{
        padding: 7px 15px;
        font-size: 0.7em;
        margin-top: 15px;
    }
    .box-1 h1{
        font-size: 1.2em;
        line-height: 30px;
    }
    .box-1 ul{
        line-height: 27px;
        font-size: 1em;
    }
    .box-1 a{
        padding: 7px;
        font-size: 1em;
    }
    .container-3{
        overflow: hidden;
    }
    .add{
        top: 15%;
    }
    .add img{
        width: 25%;
    }
    .mail{
        top: -40%;
    }
    .mail img{
        width: 25%;
    }
    .call{
        top: -90%;
    }
    .call img{
        width: 25%;
    }
}
@media (max-width: 380px){
    .head{
        box-shadow: none;
    }
    .logo{
        left: 15%;
        width: 70vh;
    }
    nav{
        top: 100%;
        left: 0%;
        width: 100%;
        border-radius: 0;
        background-color: white;
    }
    nav a{
        left: 20%;
    }
    .container{
        top: 10%;
        height: 120%;
        width: 100%;
        box-shadow: none;
    }
    .img-box{
        top: 10%;
        height: 35%;
        width: 100%;
    }
    .text-box{
        top: 40%;
        left: 1%;
        height: 100%;
        width: 100%;
    }
    .wrapper{
        width: 87%;
        left: 44%;
    }
    .wrapper p{
        width: 100%;
    }
    .container-2{
        top: 155%;
        height: 130%;
        width: 100%;
        box-shadow: none;
    }
    .container-2 p{
        left: 50%;
        font-size: 2.5em;
        width: 80%;
    }
    .box-1{
        top: 60%;
        left: 50%;
        height: 100%;
        width: 95%;
    }
    .box-1 h1{
        line-height: 30px;
    }
    .box-1 ul{
        top: 2%;
        line-height: 30px;
        font-size: 1em;
        font-weight: 700;
    }
    .box-1 a{
        top: 5%;
        padding: 5px;
        font-size: 1.2em;
    }
    .box-2{
        top: 83%;
        left: 50%;
        height: 40%;
        width: 100%;
    }
    .container-3{
        top: 310%;
        overflow: hidden;
    }
    .add{
        top: -15%;
        left: 15%;
    }
    .add img{
        width: 70%;
    }
    .mail{
        top: -50%;
        left: 9%;
    }
    .mail img{
        width: 75%;
    }
    .call{
        top: -100%;
        left: 15%;
    }
    .call img{
        width: 75%;
    }
    .foot{
        top: 330.4%;
        font-size: 0.7em;
        overflow: hidden;
    }
}
