@import url('https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    background: linear-gradient(180deg,  #015EEA 0%, #00C0FA 100%);
    background-color: #00C0FA;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    color: #002A68;
    font-size: 20px; 
    font-family: 'Istok Web', sans-serif;
}

body.dark-mode{
    background: linear-gradient(180deg,  #3f6194 0%, #220d42 100%);
    background-color: #001a4b;
    color: #f5f5f5;
    background-repeat: no-repeat;
    background-attachment: fixed; 
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.center-rail{
    width:1000px; 
    margin: 0 auto; 
    opacity:0; 
    animation: fade-slide .5s ease-in;
    animation-fill-mode: forwards;
}
.pink{
    color: #FF6D90; 
}
.blue{
    color: #00ABDF; 
}
.green{
    color: #00BC40; 
}
.orange{
    color: #f39933; 
}

.logo{
    max-width: 500px;
    position: absolute; 
    top: 20px; 
    z-index:999999999999;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 10px); }
    100%   { transform: translate(0, -0px); }    
}

.container{
    position: relative;
    top: 170px; 
    border-radius: 80px;

    padding: 20px 40px 20px; 
    margin: 0px 80px 0px 80px; 
    background: #ffffff1a;
    box-shadow: 0px 7px 10px 0px #015eeab3, 0px 2px 35px 0px #6ABAD3 inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.container:hover {
    box-shadow: 0px 7px 10px 0px #076affb3, 0px 2px 35px 0px #73dcfc inset;
} 

.dark-mode .container{
    background: #8302fc1a;
    box-shadow: 0px 7px 10px 0px #01204eb3, 0px 2px 35px 0px #5c0ba8 inset;
}

.dark-mode .container:hover {
    box-shadow: 0px 7px 10px 0px #023480b3, 0px 2px 35px 0px #6d0dc7 inset;
} 


@keyframes fade-slide{
    0%{ 
      opacity: 0;
    }
    50%{ 
        opacity: .3;
      }
    100%{ 
      opacity: 1; 
    }
  }

.flex-container{
    display: flex;
    flex-direction: row; 
    align-items: center;
    flex-wrap: nowrap;
}

.netcat{
    flex: 1.2; 
    padding-right: 40px; 
}
.netcat img{
    max-width:100%; 
    animation-name: floating-sparkle;
    animation-duration: 1.5s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
} 

.right-text-container{
    flex:1; 
    width: 250px; 
    height: auto;  
}

.paragraph-content{
    padding: 10px 20px; 
    border-radius: 30px;
    background: #fff; 
    box-shadow: 0px 4px 4px 0px #211e3340 inset;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.paragraph-content:hover{
        box-shadow: 0px -7px -7px 0px #211e3375 inset;
}

.dark-mode .paragraph-content{
    background: #08173331; 
    box-shadow: 0px 4px 4px 0px #180635b3 inset;
}

.socials{
    font-size: 20px; 
    width: 100%; 
    text-align: center;
}

.socials ul{
    padding-inline-start: 0px;
}

.socials li{
    list-style-type: none; 
    display:inline; 
}

.socials li a{
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    color:white; 
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.16) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(134, 154, 184, 0.28) 14.06%, rgba(0, 42, 104, 0.28) 31.25%, rgba(29, 116, 159, 0.28) 89.58%, rgba(224, 238, 255, 0.28) 100%);
    box-shadow: -3px -2px 6px 0px rgba(255, 255, 255, 0.03) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25); 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5em;
    height: 2.5em;
}

.socials li a:hover{
    background: linear-gradient(179deg, #047fbda1 27.60%, #1be6d5a1 89.06%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset; 
}

.socials li a img{
    width: 1.2em;
    height: 1.2em; 
}

.navigation{
    font-size: 20px;
    width: 100%; 
    text-align: center;
}

.navigation ul{
    padding-inline-start: 0px;
}

.navigation li{
    list-style-type: none; 
    display:inline; 
}

.navigation li a{
    text-decoration: none;
    padding: .3em 1.6em; 
    margin: 1em .5em 1em 0;
    text-align: center;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    color:white; 
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.16) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(134, 154, 184, 0.28) 14.06%, rgba(0, 42, 104, 0.28) 31.25%, rgba(29, 116, 159, 0.28) 89.58%, rgba(224, 238, 255, 0.28) 100%);
    box-shadow: -3px -2px 6px 0px rgba(255, 255, 255, 0.03) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25); 
}

.navigation li a:hover{
    background: linear-gradient(179deg, #047fbda1 27.60%, #1be6d5a1 89.06%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset; 
}

.bottom-sparkle{
    z-index: 999999;
    max-width: 100px;
    padding-top:90px;
    padding-right:50px; 
    float: right; 
    animation-name: floating-sparkle;
    animation-duration: 1.5s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating-sparkle {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 5px); }
    100%   { transform: translate(0, 0px); }    
}

.bottom-sparkle img{
    max-width: 100px; 
    height: auto; 
}


@media only screen and (max-width: 600px){
    body{
        background: none;
        background-color: #3a7fe7;
    }
    body.dark-mode{
        background: none;
        background-color: #001a4b;
    }
    .center-rail{
        width:100%; 
        margin: 10px auto; 
    }

    .logo{
        width:97%; 
        animation: none; 
    }

    .container{
        position: relative;
        top: 150px; 
        border-radius: 50px;
        /* top right bottom left  */
        padding: 50px 20px 30px; 
        margin: 0px auto 0px auto; 
    }

    .flex-container{

        flex-direction: column; 
    }
    .netcat{
        padding-right: 0px; 
    }
    .right-text-container{
        width: 90%; 
        height: auto;  
        /* padding:1em 1.5em; */
        margin: 15px 0px 0px 15px; 
        border-radius: 30px;
    }

    .navigation{
        width: 100%;
        margin: 0px auto; 
        padding-top:10px; 
    }

    .navigation ul{
        padding:0px; 
        margin: 0; 
    }

    .navigation li{
        list-style-type: none; 
        display:block; 
        line-height: 50px;
    }

    .bottom-sparkle{
        position: relative;
        z-index: 999999;
        width: 100%;
        max-width: 50px;
        float: none; 
        margin: 160px auto 0px; 
        animation-name: none;
        padding-top:0px;
        padding-right:0px; 
    }

    .bottom-sparkle img{ 
        max-width: 50px;
        height: auto; 
    }
}