body {
    background-color: #F59033;
    /*background-image: linear-gradient(to right, #ff6a00, #ee0979); #fbf3ba #f12711 #E94057,#8A2387*/
    background-image: linear-gradient(to right, #f59033, #C02425);
    margin: 0;
    min-height: 100vh;
}
.title {
    font-family: 'Madimi One';
}
.main-text {
    font-family: consolas;
    font-size: 1.1rem;
    color: white;
}
.os-text {
    font-family: consolas;
    font-size: 1.1rem;
    color: white;
}
@keyframes bling {
    from {
        background-position: 0;
    }
    to {
        background-position: 150px;
    }
}
.salmon-color {
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, #f59033, #fbf3ba, #f59033);
    background-size: 150px;
    color: transparent;
    animation: bling 1s linear infinite;
}
.cloud-color {
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, white, grey, white);
    background-size: 150px;
    color: transparent;
    animation: bling 1s linear infinite;
}
/* @media screen and (max-width: 600px) and (min-width: 400px) {
    .main-text {
        font-size: 0.5rem;
    }
    .title {
        font-size: 1rem;
    }
    .os-text {
        font-size: 0.7rem;
    }
    ul {
        padding: 0.4px;
    }
    .card {
        margin: 0rem
    }
} */

.card {
    min-width: 18rem;
    padding: 2rem;
    margin: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.01);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 15px rgba(1, 1, 1, 0.2);
    /*flex: 0 0 calc(25% - 2rem);*/
}
.card-title {
    margin-top: 0;
    margin-bottom: .5rem;
    font-size: 1.2rem;
}
.hover:hover {
    /*background-color: green;*/
}
#test {
    background-image: url("./pic.jpg");
}
#client-area {
    padding: 10px;
    background: #f59033;
}
#OS-libraries img{
    width: 40%;
    height: auto;
}


/* card and animation CSS start */
.cus-container
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 0;
}

.cus-container .box
{
    position: relative;
    width: 370px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 30px;
    transition: 0.5s;
}

.cus-container .box::before
{
    content:' ';
    position: absolute;
    top: 0;
    left: 50px;
    width: 60%;
    height: 100%;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
}

.cus-container .box::after
{
    content:'';
    position: absolute;
    top: 0;
    left: 50px;
    width: 60%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transform: skewX(15deg);
    transition: 0.5s;
    filter: blur(30px);
}

#os-library::before,
#os-library::after {
    transform: skewX(0deg);
    width: 0%;
}

.cus-container .box:hover:before,
.cus-container .box:hover:after
{
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 90px);
}

#os-library {
    width: 1000px;
    height: auto;
}

#os-library:hover:before,
#os-library:hover:after
{
    transform: skewX(0deg);
    left: 50px;
    width: calc(100%);
}

.cus-container .box:nth-child(1):before,
.cus-container .box:nth-child(1):after
{
    /*background: linear-gradient(315deg, #ff0058, #ffbc00)*/
    background: linear-gradient(315deg, #ff0058, #ffbc00)
}

.cus-container .box:nth-child(2):before,
.cus-container .box:nth-child(2):after
{
    /*background: linear-gradient(315deg, #3F5EFB, #FC466B)*/
    background: linear-gradient(315deg, #3F5EFB, #FC466B)
}

.cus-container .box:nth-child(3):before,
.cus-container .box:nth-child(3):after
{
    /*background: linear-gradient(315deg, #373B44, #4286f4)*/
    background: linear-gradient(315deg, #373B44, #4286f4)
}

#os-library:before,
#os-library:after
{
    background: linear-gradient(315deg, #ff9472, #f2709c)
}

.cus-container .box span
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.cus-container .box span::before
{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.1s;  
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08)
}

.cus-container .box:hover span::before
{
    top: -70px;
    left: 10px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

.cus-container .box span::after
{
    content:'';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s;
    animation: animate 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    animation-delay: -1s;
}

.cus-container .box:hover span:after
{
    bottom: -70px;
    right: 10px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

@keyframes animate
{
    0%, 100%
    {
        transform: translateY(25px);
    }
    
    50%
    {
        transform: translate(-25px);
    }
}

.cus-container .box .content
{
    position: relative;
    left: 0;
    width: 100%;
    height: 80%;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    transform: 0.5s;
    color: #fff;
}

.cus-container .box:hover .content
{
    left: -25px;
    padding: 60px 40px;
    height: 90%;
}

.cus-container .box .content h2
{
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.cus-container .box .content p
{
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.4em;
}

.cus-button,
.cus-container .box .content a
{
    font-size: 1.1em;
    color: #111;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 5px;
    width: fit-content;
}

.cus-button:hover,
.cus-container .box .content a:hover
{
    background: #ffcf4d;
    border: 1px solid rgba(255, 0, 88, 0.4);
    box-shadow: 0 1px 15px rgba(1, 1, 1, 0.2);
    color: black;
}
/* card and animation CSS end */


/* For terms of service and privacy policy */
.custom-page {
    font-family: sans-serif;
    color: black;
}

.custom-page ul,
.custom-page p {
    font-size: 1.3rem;
    margin: 0px;
}

.custom-page > div {
    margin-top: 30px;
    margin-bottom: 20px;
}

.custom-page > div > ol {
    font-size: 1.3rem;
    margin-left: 40px;
}

.custom-page ul {
    margin: 20px;
}

.custom-page h1 {
    padding-top: 30px;
}

.custom-ol {
    font-size: 1.2rem;
    margin: 0px;
}

.custom-ol > li {
    margin: 2rem;
}

.custom-part {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* For world server map */
.map-container {
    position: relative;
}

.map-container img {
    width: 100%;
    height: auto;
}

.pin {
    background: #4362f8;
    position: absolute;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.pin::before {
    content: " ";
    background: #4362f8;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 1.3s ease-in-out infinite;
}

.pin span {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 3em;
    padding: 0.2em 0.4em;
    font-size: 1em;
}

.right-span {
    left: 1.5em;
}

.left-span {
    left: -5em;
}

.sanjose {
    top: 30.3%;
    left: 17.2%;
}

.hongkong {
    top: 41.6%;
    left: 81.1%;
}

.location-text {
    font-family: 'Madimi One';
    font-size: 1.1rem;
}

@keyframes pulse {
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(15);
    }
}

/* For benchmark results */
.benchmark_text {
    font-size: 0.6rem;
}



/* To accomodate small screens */
@media screen and (max-width: 1200px) {
    .benchmark_text {
        font-size: 0.5rem;
    }
}
@media screen and (max-width: 1000px) {
    .benchmark_text {
        font-size: 0.3rem;
    }
}
@media screen and (max-width: 800px) {
    .pin {
        width: 0.7em;
        height: 0.7em;
    }
    .benchmark_text {
        font-size: 0.25rem;
    }
}
@media screen and (max-width: 600px) {
    .main-text {
        font-size: 1rem;
    }
    .title {
        font-size: 1.4rem;
    }
    .os-text {
        font-size: 0.6rem;
    }
    ul {
        padding: 0.2px;
    }
    .card {
        margin: 0rem
    }
    #OS-libraries img{
        width: 100%;
    }
    #os-library:hover:before,
    #os-library:hover:after
    {
        left: 5px;
    }
    .location-text {
        font-size: 0.5rem;
    }
    .pin {
        width: 0.6em;
        height: 0.6em;
    }
}