@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,700;1,200;1,300&display=swap');

* {
    padding: 0px 0px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #d1cfcf;
    font-family: 'Source Sans Pro', sans-serif;
    width: 100%;
    height: 100vh;
}



header {
    position: fixed;
    width: 100%;
    top: 0%;
    height: 60px;
    text-align: right;
    z-index: 25;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.199);
}


nav {
    position: sticky;
    width: 100%;
    height: 0%;
    top: 0%;
    
    z-index: 25;
    color: white;
    background-color: rgb(255, 255, 255);
    
}


ul {
    float: right;
    z-index: 25;
    top: 0%;
    background-color: #ffffff;
    height: 60px;
    right: 801px;
    width: 100%;
    position: flex;
    padding: 10px;
}

ul li {
    list-style: none;
    display: inline block;
    float: right;
    width: fit-content;
    height: 18px;
    top: 0px;
    font-weight: 100;
    
}


ul li a {
    display: block;
    font-family: sans-serif;
    top: 0%;
    font-weight: 100;
    text-decoration: none;
    color: #006743;
    transform: translateY(-10%);
    padding: 20px 20px;
    border-radius: 5px;
    margin: 0px 2px;
}

ul li a.active {
   
    background-color: #ffcd1a;
    transition: 0.5s;
    color: #006743;
    
}

ul li a:hover {
   
    background-color: #006743;
    transition: 0.5s;
    color: #ffffff;
}

.pg-contain {
    position: relative;
    width: 100%;
    height: 100vh;
}



.container {
    display: block;
    justify-content: center;
    top: 72px;
    left: 140px;
    width: 80%;
    height: 575px;
    position: absolute;
    aspect-ratio: 1/1;
    
    bottom: 20%;
}


.btm-spc {
    position: relative;
    display: none;
    width: 100%;
    height: 100vh;
    background-color: #e2e0e0;
}


.innersection {
    
    justify-content: center;
    top: 72px;
    left: 140px;
    height: 575px;
    width: 80%;
    overflow: hidden;
    position: relative;
}



#navi {
    position: absolute;
    width: 100%;
    height: 0px;
    top: 10px;
    padding: 0px;
    z-index: 16;
    background-image: linear-gradient(#001b128f 50%,#001b1200);
}


#tul {
    float: right;
    z-index: 16;
    top: 0px;
    height: 0px;
    background-image: linear-gradient(#001b12 20%, #001b1200);
    width: 100%;
    
    padding: 0px;
    position: flex;
}

#lit {
    list-style: none;
    background-image: radial-gradient(#001b12a6 60%, #001b1200);
    float: left;
    top: 10px;
    font-weight: 100;
    height: 31px;
}

#lit a {
    display: block;
    font-family: Arial;
    top: 10px;
    font-weight: 100;
    text-decoration: none;
    color: #ffffff;
    padding: 11px;
    margin-left: 10px;
    border: 2px solid white;
    border-radius: 20px;
}

#lit a.active {
   
    background-color: #ffcd1a;
    transition: 0.5s;
    color: #006743;
}


#lit a:hover {
   
    background-color: #ffcd1a;
    transition: 0.5s;
    color: #006743;
}












#lscontain {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 500px;
    height: 500px;
    padding: 50px;
    z-index: 26;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
    background: rgb(255, 255, 255);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}




#lscontain.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

#tint {
    position: absolute;
    top: 60px;
    left: 0%;
    z-index: 20;
    width: 100%;
    height: 1048px;
    padding: 0;
    
    background: rgba(31, 24, 24, 0.63);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}


#tint.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}


#alertpop {
    position: fixed;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 300px;
    padding: 50px;
    z-index: 25;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
    background: rgb(255, 255, 255);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    border-radius: 3px;
}




#alertpop.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}




#alertmsg {
    position: relative;
    padding: 0px;
    float: left;
    align-self: center;
    text-align: center;
    height: 30px;
    width: 100%;
    font-size: small;
    font-weight: 500;
    top: 35%;
    color: rgb(255, 0, 0);
    
   
}


#neuberechnen {
    position: relative;
    width: 100%;
    top: 45%;
    align-items: center;
}

#neuberech {
    position: relative;
    width: 30%;
    color: rgb(31, 30, 30);
    font-size: 14px;
    left: 10%;
}


#neuquerschnitt {
    position: absolute;
    float: left;
    width: 30%;
    right: 10%;
    background-color: #eeeaea;
    margin: none;
    border-color: #006743;
    border-radius: 3px;
}


#containnew {
    position: fixed;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 400px;
    padding: 50px;
    z-index: 25;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
    background: rgb(255, 255, 255);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    border-radius: 3px;
}




#containnew.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}


#defalert {
    position: fixed;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 200px;
    padding: 50px;
    z-index: 25;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
    background: rgb(255, 255, 255);
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    border-radius: 3px;
}


#defalert.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

#notdefinedalert {
    position: relative;
    padding: 0px;
    float: left;
    align-self: center;
    height: 30px;
    width: 100%;
    font-size: small;
    font-weight: 500;
    top: 45%;
    color: rgb(141, 139, 139);
    left: 13%;
   
}


#btnalert {
    position: absolute;
    background-color: #006743;
    color: white;
    cursor: pointer;
    width: 40%;
    padding: 5px;
    left: 5%;
    top: 70%;
    border-color: white;
    outline: none;
   
    border-radius: 5px;
}


#btnalert:hover {
    background-color: #EBB700;
    color: #ffffff;
    border-color: #EBB700;
    transition: 0.5s;
    
}


#btnumrechner {
    position: absolute;
    background-color: #006743;
    color: white;
    cursor: pointer;
    width: 40%;
    padding: 5px;
    right: 5%;
    top: 70%;
    border-color: white;
    outline: none;
   
    border-radius: 5px;
}


#btnumrechner:hover {
    background-color: #EBB700;
    color: #ffffff;
    border-color: #EBB700;
    transition: 0.5s;
    
}


#btnls {
    position: absolute;
    background-color: #006743;
    color: white;
    cursor: pointer;
    width: 35%;
    margin-left: 10px;
    padding: 5px;
    bottom: 15px;
    outline: none;
    transform: translateY(30);
    border-radius: 5px;
    border-color: white;
}

#btnls:hover {
    background-color: #EBB700;
    color: #ffffff;
    border: none;
    transition: 0.5s;
}


#btnabbrech {
    position: absolute;
    background-color: #006743;
    color: white;
    cursor: pointer;
    width: 35%;
    right: 10px;
    padding: 5px;
    bottom: 15px;
    outline: none;
    transform: translateY(30);
    border-radius: 5px;
    border-color: white;
}

#btnabbrech:hover {
    background-color: #EBB700;
    color: #ffffff;
    border: none;
    transition: 0.5s;
}


#ls {
    width: 150px;

}

#halt{
    position: absolute;
    align-self: center;
    margin: 0%;
    padding: 0%;
    width: 35%;
    left: 30%;
    top: 0%;
    
    transform: translateY(-20);
}



.calculator {
    position: relative;
    background-image: radial-gradient(rgba(110, 109, 109, 0.486) 20%, black);
    width: 38%;
    left: 10%;
    top: 10%;
    color: #464545;
    align-content: center;
    border-radius: 10px;
    padding: 10px 5px 20px 20px;
    aspect-ratio: 1/1;
    
}



.heading h4 {
    position: relative;
    font-size: 20px;
    color: #006743;
    align-self: center;
    left: 20%;
}

.heading h5 {
    position: relative;
    font-size: 20px;
    color: #ffcd1a;
    align-self: center;
    text-align: center;
}


h6 {
    color: #ffffff;
    text-align: center;
}

.input-group {
    position: relative;
    margin: 5px 0px;
    
    
}

.labels, #umgeb, #bet {
    position: relative;
    color: rgb(235, 234, 234);
    top: 20%;

}

.input-group label {
    display: absolute;
   
    top: 20%;
}





.input-group input,

.input-group select {
    width: 45%;
    padding: 2px;
    position: absolute;
    float: right;
    margin: 8px 0px;
    right: 5%;
    top: 0%;
    background-color: #eeeaea;
    margin: none;
    border-color: #ffffff;
    border-radius: 3px;
}

#umbgebtemp, #betriebstemp {
    width: 30%;
    padding: 2px;
    position: absolute;
    float: right;
    margin: 8px 0px;
    right: 5%;
    top: 0%;
    background-color: #eeeaea;
    margin: none;
    border-color: #ffffff;
    border-radius: 3px;
}

.checkboxtext {
    position: relative;
    width: 70%;
    float: right;
    right: 20%;
    color: rgb(247, 246, 246);
    top: 20%;

}

#umtemps {

    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}


#umtemps.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}


#bettemps {

    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}



#bettemps.active {
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}



.input-group button {
    position: relative;
    background-color: #006743;
    color: white;
    cursor: pointer;
    width: 35%;
    margin-top: 10px;
    padding: 5px;
    
    outline: none;
    transform: translateY(30);
    border-radius: 5px;
    border-color: white;
}

.input-group button:hover {
    background-color: #EBB700;
    color: #ffffff;
    border: none;
    transition: 0.5s;
}




#results {
    position: absolute;
    width: 40%;
    float: left;
    left: 50%;
    
    top: 10%;
    aspect-ratio: 1/1;
    background-color: black;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.199);
    border-radius: 10px;
    
}




#contain {
    position: relative;
    width: 100%;
    height: 262px;
    display: none;
    background-color: #000000;
    border-radius: 10px 10px 10px 10px;
    aspect-ratio: 1/1;
}



.solsis {
    position: relative;
    width: 60%;
    height: 50%;
    left: 100px;
    padding: 20px 40px;
    align-content: center;
    background-color: black;
    border-radius: 10px;
}



.anlage {
    position: absolute;
    width: 100%;
    border-radius: 10px;
    top: 0%;
    z-index: 15;
    
}


.anlagew {
    display: none;
    position: absolute;
    width: 100%;
    border-radius: 10px;
    top: 0%;
    z-index: 15;
    
}



#anim {

    position: absolute;
    width: 90%;
    padding-top: 80%;
    top: 0%;
    
    align-content: center;
    border-radius: 20px;
}



#space {
    position: relative;
    padding: 2px 2px;
    height: 4px;
    text-align: center;    
    width: 100%;
    font-size: medium;
    background-color: #000000;
    
}
    
#outcome {
    position: relative;
    padding: 10px 10px;
    font-weight: 400;
    height: 30px;
    text-align: center;    
    width: 100%;
    font-size: medium;
    background-color: #006743;
    color: rgb(255, 255, 255);
    
}

#outcomeI {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #000000c4;
    color: rgb(221, 218, 218);
    
}

#outcomeR {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #001a11c4;
    color: rgb(221, 218, 218);
    
}

#outcomeV {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #000000c4;
    color: rgb(221, 218, 218);
    
}

#outcomeP {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #001a11c4;
    color: rgb(221, 218, 218);
   
}

#outcomeQ {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #000000c4;
    color: rgb(221, 218, 218);
    
}

#outcomeB {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #001a11c4;
    color: rgb(221, 218, 218);
    
}

#cover-up {
    position: relative;
    padding: 10px 10px;
    height: 50px;
    width: 100%;
    font-size: small;
    background-color: #000000;
    color: rgb(221, 218, 218);
    border-radius: 0px 0px 10px 10px;
    aspect-ratio: 1/1;
}


#space2 {
    position: relative;
    padding: 2px 2px;
    height: 4px;
    text-align: center;    
    width: 100%;
    font-size: medium;
    background-color: #000000;
    
}
    


#outcomeI2 {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    
}

#outcomeR2 {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #ffffffc4;
    color: rgb(0, 0, 0);
    
}

#outcomeV2 {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    
}

#outcomeP2 {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #ffffffc4;
    color: rgb(0, 0, 0);
   
}

#outcomeQ2 {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    
}

#outcomeB2 {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #ffffffc4;
    color: rgb(0, 0, 0);
    
}

#cover-up2 {
    position: relative;
    padding: 10px 10px;
    height: 50px;
    width: 100%;
    font-size: small;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border-radius: 0px 0px 10px 10px;
    aspect-ratio: 1/1;
}


.box {
    position: absolute;
    
    width: 52%;
    height: 38%;
    top: 48%;
    left: 36%;
    background: #aa618c23;
    border-radius: 8px;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 190px;
    background: linear-gradient(0deg,transparent,#45f3ff,
    #45f3ff);
    transform-origin: top left;
    animation: animate 6s linear infinite;
    
}

.box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 190px;
    background: linear-gradient(0deg,transparent,#45f3ff,
    #45f3ff);
    transform-origin: top left;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}

@keyframes animate {
    0%
    {
        transform: rotate(360deg);
    }
    100%
    {
        transform: rotate(0deg)
    }
}

.form {
    position: absolute;
    inset: 4px;
    border-radius: 8px;
    background: rgb(0, 0, 0);
    z-index: 10;
}

.movingbluenetz1 {
    
    position: absolute;
    top: 30%;
    left: 85%;
    width: 10%;
    height: 10%;
    background: linear-gradient(0deg,transparent,#45f3ff,
    #45f3ff);
    transform-origin: top left;
    animation: animate 6s linear infinite;
    
}

.movingbluenetz2 {
    
    position: absolute;
    top: 30%;
    left: 85%;
    width: 10%;
    height: 10%;
    background: linear-gradient(0deg,transparent,#45f3ff,
    #45f3ff);
    transform-origin: top left;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}

.movingsun1 {
   
    position: absolute;
    top: 20%;
    left: 24%;
    width: 15%;
    height: 10%;
    background: linear-gradient(45deg,transparent,#fbff02,
    #ffee00);
    transform-origin: top left;
    animation: animate 6s linear infinite;
    
}

.movingsun2 {
    
    position: absolute;
    top: 20%;
    left: 24%;
    width: 15%;
    height: 10%;
    transition-delay: 10s;
    background: linear-gradient(45deg,transparent,#fbff02,
    #ffee00);
    transform-origin: top left;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}

.gap{
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #ffffffcc;
    color: rgb(255, 0, 0);
    border-radius: 20px;

}


#auslösecharacteristik, #maxSI {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #ffffffcc;
    color: rgb(126, 94, 94);
    border-radius: 20px
}


#outcomeLS, #vielfachesdesstromes, #minauslösestrom {
    position: relative;
    padding: 10px 10px;
    height: 30px;
    width: 100%;
    font-size: small;
    background-color: #e6e5e5;
    color: rgb(0, 0, 0);
    border-radius: 20px
}


nav #baricon {
    display: none;
    color: #ffee00;
    font-size: 30px;
    line-height: 80px;
    top: 0px;
    float: right;
    padding-right: 20px;
    cursor: pointer;
}


@media (max-width: 1500px) {

    
    nav a{
        font-size: 13px;
    }
}


@media (max-width: 1100px) {
    
   
    
    nav #baricon {
        display: block;
    
    }

    #menu {
        align-items: center;
        z-index: 25;
        top: 70px;
        background-color: #00140dd0;
        height: 100vh;
        left: 0px;
        width: 100%;
        text-align: center;
        position: fixed;
        transition: 0.5s;
        display: none;
    }

    #menu.active {
        display: block;
        left: 0px;
    }

   

    ul li {

        display: block;
        line-height: 40px;
        margin: 10px;
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    


    ul li a {
        display: block;
        color: #ffffff;
        font-size: 15px;
        padding: 10px 10px;
    }

    ul li a.active {
        
       
        background-color: #ffee00;
        transition: 0.5s;
        color: #006743;
       
    }


    a:hover {
       
        color: #ffee00; 
    }



    nav, header {
        position: sticky;
        width: 100%;
        height: 0px;
        top: 0%;
        
        z-index: 25;
        color: rgba(255, 255, 255, 0);
        background-color: rgba(255, 255, 255, 0);
       
    }

    #navi {
        display: none;
        
    }


    .pg-contain {
        position: relative;
        width: 100%;
        height: 1200px;
    }
    
    .container {
        
        justify-content: center;
        top: 60px;
        left: 0%;
        width: 100%;
        padding: 0px;
        position: relative;
        background-color: #e7e7e700;
        aspect-ratio: 1/1;
        align-items: center;
    }
    
    
    
    .innersection {
       
        justify-content: center;
        padding: 0px;
        top: 0%;
        margin: 0px;
        height: 100vh;
        width: 100%;
        left: 0%;
        aspect-ratio: 1/1;
        position: absolute;

    }

    footer {

        display: none;
    }

    .calculator {
        position: absolute;
        background-image: radial-gradient(rgba(110, 109, 109, 0.486) 10%, #012b1cc2);
        width: 96%;
        margin-top: 15px;
        top: 0%;
        left: 2%;
        height: 85vh;
        color: #464545;
        align-content: center;
        border-radius: 10px;
        padding: 20px 20px;
        display: block;
        aspect-ratio: 1/1;
    }

    

    #results {
        position: absolute;
        display: block;
        width: 96%;
        top: 105%;
        left: 2%;
        aspect-ratio: 1/1;
        margin-bottom: 55px;
        background-color: rgb(255, 255, 255);
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.473);
        border-radius: 10px;
        
    }


    #contain {
        position: relative;
        width: 100%;
        display: none;
        background-color: #ffffff;
    }
    
    .solsis {
        position: relative;
        width: 60%;
        height: 50%;
        left: 100px;
        padding: 20px 40px;
        align-content: center;
        background-color: rgb(255, 255, 255);
        border-radius: 10px;
    }
    
    
    
    .anlagew {
        display: block;
        
        
    }

    .anlage {
        display: none;
       
        
    }

    .form {
        position: absolute;
        inset: 4px;
        border-radius: 8px;
        background: rgb(255, 255, 255);
        z-index: 10;
    }
    


    .btm-spc {
        display: block;
        position: relative;
        width: 100%;
        height: 20%;
    }
    
    

    #lscontain {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 90%;
        height: 90%;
        padding: 10%;
        z-index: 25;
        box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
        background: rgb(255, 255, 255);
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
    }

    #lscontain.active {
        visibility: visible;
        opacity: 1;
        transition: 0.5s;
    }

}


@media (max-width: 600px) {
    
    #alertpop {
        position: fixed;
        align-items: center;
        top: 40%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 96%;
        height: 40%;
        padding: 50px;
        z-index: 25;
        box-shadow: 0 5px 30px rgba(0, 0, 0, .30);
        background: rgb(255, 255, 255);
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
        border-radius: 3px;
    }
    
    
    #alertpop.active {
        visibility: visible;
        opacity: 1;
        transition: 0.5s;
    }

}






footer {

    position: fixed;
    width: 100%;
    bottom: 0%;
    z-index: 25;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 200;
    color: #ffffff;
    text-align: center;
    padding-top: 10px;
    align-content: center;
    background-color: #006743;
    height: 40px;
}