body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width:none;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body::-webkit-scrollbar {
  display: none;
}

header {
    text-align: center;
}
nav{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.2rem;
    margin: 0;
    background: rgba(255, 255, 245, 0.8); /* Adjust the alpha (fourth value) for transparency */
    backdrop-filter: blur(10px); /* Adjust the blur amount as needed */
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(192, 192, 180, 0.24);
    z-index: 3;
}
nav img{
    position: relative;
    height:calc(2.9rem + 2.6vh);
    width: calc(10.1rem + 8vw);
    margin-left: 1.3rem;
}
header{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15.5rem;
    background-image: url("images/wav.webp");
    background-repeat:repeat no-repeat;
    background-size:52%;
    background-position:center;
}
h1{
    text-align: center;
    font-weight: bolder;
    font-size: 60px;
    margin: 0 1.5rem;
    word-spacing: 1px;
    background: linear-gradient(90deg, #5f5f5f -0.02%, #666666 40.23%, #303030 70.2%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.center{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.center h3{
    text-align: center;
    padding: 8rem 0rem;
    font-size: 1.46em;
    margin: 0;
    line-height: 36.6px;
    max-width: 85%;
}
.centre{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.centre h3{
    text-align: center;
    padding: 3.1rem 0rem 2.6rem 0rem;
    font-size: 1.46em;
    margin: 0;
    line-height: 36.6px;
    max-width: 80vw;
}
.section1 h3 {
    margin-bottom: -0.1rem;  
}
.section1 a{
    color: rgb(63, 49, 155);
}
.section1 a:active{
    color: darkblue;
}



.section1,.section2,.section4,.section5{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}
h2{
    text-align: left;
    max-width: 85%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
h3,h4,p{
    text-align: justify;
    max-width: 60%;   
}
p{
    font-size: medium;
    font-weight: 500;
    color: #414141;
}
ul{
    margin: -1rem 0 0 5px;
    padding: 5px 10px 5px 10px;
    
}
ul li{
    padding-bottom: 5.6px;
    font-weight: bold;
    color: #414141;
    font-size:medium;
    padding-left: 2px;
}





.box{
   display: flex;
   flex-direction: column;
   align-items:center;
   width: 50vw;
   border: 10px solid rgb(255, 254, 212); 
   border-radius: 50px;
   background-color: rgb(250, 250, 250);
   padding: 0.2rem 3.7vw 1rem 3.7vw;
   margin-top: 0.4rem;
}
.box h3,.box h4,.box p{
    max-width: 100%;  
}


.DCandAC {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(216, 216, 216, 0.527); 
    border-radius: 50px;
    padding: 0.4rem 0 0.4rem 0.4rem;
    background-color: rgb(250, 250, 250);
    margin-top: 1.3rem;
    margin-bottom: 7.4rem;
}
.DCandAC p {
    text-align: left;
    display: inline-block;
    max-width: 550px;
    font-weight: bold;
    letter-spacing: 0.14px;
    word-spacing: 1.25px;
    padding: 0 1.7rem;
    margin: 14px 0;
    font-size: large;
    color: black;
}


.blur{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -13rem auto 14vh auto;
    width: 100%;
    height: 15rem;
    background-image: url(https://pcorpcapacitors.in/powerfactor/images/blur.webp);
    background-repeat:no-repeat;
    background-size:125%;
    background-position:top;
    transform: rotate(180deg);
    opacity: 0.5;
}



.imgwave img {
    display: block;
    margin: 2rem auto 8rem auto;
    max-width: 65%;
    height: auto;
}



.autosize{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.inductive,
.capacitive {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 36.5rem;
}

.inductive h3,
.capacitive h3 {
    max-width: 90%;
}

.section2 .inductive img,
.section2 .capacitive img {
    max-width: 66%;
    height: auto;
}


.section5 img {
    display: block;
    margin: 0 auto;
    max-width: 73%;
    height: auto;
    border-radius: 50px;
    border: 1.5px solid rgba(216, 216, 216, 0.527); 
}


.fraction{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}
.ans{
    display: inline-block;
    margin-left: 10px;
}
.nume{
    border-bottom:2px solid black;
    text-align: center;
    padding: 2px 0;
}
.deno{
    text-align: center;
    padding: 2px 0;
}




.section{
    margin: 6.7rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.containr{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.containr p {
    padding: 0 19vw; 
    font-size: large; 
    text-align: justify; 
}
.youtube-video {
    aspect-ratio: 16/9;
    width: 62vw;
    border-radius: 20px;
}


.container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    /*background-color: rgb(255, 252, 215);*/
    padding-top: calc(3.2rem);
    max-width: 100%;
}

.container p{
    padding: 0;
    max-width: 100%;
    margin: 3px 5px;
    text-align: center;
}
  
.button {
    padding: 5px 10px;
    margin: 10px 5px;
    background-color: rgb(255, 255, 255);
    color:#414141;
    cursor: pointer;
    border: 1.5px solid rgb(204, 204, 204);
    border-radius: 50px;
    cursor: pointer;    
}
.button.active {
    background-color: rgb(227, 247, 255) ;
}

.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*background-color: rgb(255, 252, 215);*/
    color: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s ease-in-out;  
    max-width: 100%;
}

  
.dropdown.open {
    max-height: 2000vh; 
}
  
.iframe-container {
    position: relative;
    aspect-ratio: 16/9;
    width: 62vw;
    margin: 3.2vh 0 2vh 0;
}
  
.video-container {
    position: absolute;
    top: 0;
    aspect-ratio: 16/9;
    width: 62vw;
    border-radius: 20px;
}

/* Add this to your existing CSS */

.more {
    max-width: 60%;
}

.content {
    text-align: justify;
}

.content h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: black;
}

.content h3, .content p {
    max-width: 100%;
}

.content p {
    font-size: medium;
    font-weight: 500;
    color: #414141;
    text-align: justify;
}

.content ul {
    margin: 0;
    padding: 0;
}

.content ul li {
    padding-bottom: 5.6px;
    font-weight: bold;
    color: #414141;
    font-size: medium;
    padding-left: 2px;
}
 





@media (max-width : 768px)  {
    
    header{
        background-size: 82vh;
    }
    .youtube-video {
        aspect-ratio: 16/9;
        width: 100vw;
        border-radius: 0px;
        margin-top: -7px;
        margin-top: 0;
        margin-right: 0;
        padding: 0;
      }

    h1{
        font-size: 40px;
        margin: 0;
    }
 
    .section{
        margin: 5.1rem 0 0 0;
    }
    p{
        visibility: visible;
        margin: 7.9px 0 10px 0;
        font-family: 'Roboto', sans-serif;
        font-size: clamp(1.3em, 4vw, 1.7em);
        padding: 0 0 0 0;
        font-size: medium;
        font-weight: 500;
        color: #414141;
    }
    .containr p{
        padding: 0;
    }
    .section1,.section2,.section4,.section5{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: justify;
    }
    h2{
        text-align: left;
        max-width: 85%;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    h3,h4,p{
        text-align: justify;
        max-width: 85%;   
    }
    .blur{
        margin-top: -19rem;
    }
    .center h3{
        max-width: 90%;
    }
    .imgwave img {
        max-width: 100%;
    }
    .box{
        width: 83vw;
    }
    .DCandAC{
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    .DCandAC p{
        padding: 0 1rem;
    }
    .section5 img{
        max-width: 90%;
    }
    .section2 .inductive img,
    .section2 .capacitive img {
        max-width: 85%;
        height: auto;
    }
    .blur{
        opacity: 0.65;
        margin-bottom:16.5vh;
    }

    .container{
        padding: inherit 0;
    }
    .iframe-container {
        width: 100%;
    }
      
    .video-container {
        width: 100%;
        border-radius: 0px;
    }

    .more{
        max-width: 85%;
    }
}
