@import url('https://fonts.googleapis.com/css?family=poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins',sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    background: #232427;
}
.header, .footer{
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 40px;
    min-width: 992px !important;
}
@media (min-width: 576px) {
    .header, .footer{
      max-width: 540px;
    }
}
  
  @media (min-width: 768px) {
    .header, .footer{
      max-width: 720px;
    }
}
  
  @media (min-width: 992px) {
    .header, .footer{
      max-width: 960px;
    }
}
  
  @media (min-width: 1200px) {
    .header, .footer{
      max-width: 1140px;
    }
}
pre{
    text-align: center;
    background-color: rgba(68, 66, 66, 0);
    color: white;
}
@media screen and (max-width: 576px) {
    .one{
        font-size: 1rem;
    }
    .two{
        font-size: 1.2rem;
    }
    .three{
        font-size: 0.85rem;
    }
    .xtwo{
        font-size: 1.1rem;
    }
    .xthree{
        font-size: 0.78rem;
    }
}
@media screen and (min-width: 577px) and (max-width: 770px) {
    .one{
        font-size: 2rem;
    }
    .two{
        font-size: 1.7rem;
    }
    .three{
        font-size: 1.7rem;
    }
    .xtwo{
        font-size: 1.7rem;
    }
    .xthree{
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 750px) and (orientation: landscape) {
    .one{
        font-size: 2rem;
    }
    .two, .xtwo, .three, .xthree{
        font-size: 1.3rem;
    } 
}
.top:hover, .bottom:hover{
    color: wheat;
    transition-duration: 1s;
    border-radius: 400px 400px 50px 50px / 200px 200px 50px 50px;
    text-shadow: 1px 1px white;
    box-shadow: 3px 2px 5px black;
}
.top:hover{
    background: linear-gradient(rgba(68, 66, 66, 0.5),rgba(68, 66, 66, 0.1));
}
.bottom:hover{
    background: linear-gradient(rgba(68, 66, 66, 0.1),rgba(68, 66, 66, 0.5));
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px 0;
}
.container .card{
    position: relative;
    min-width: 280px;
    height: 360px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
                inset -5px -5px 15px rgba(255, 255, 255, 0.1),
                5px 5px 5px rgba(0, 0, 0, 0.3),
                -5px -5px 15px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 30px;
}
.container .card .box{
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #2a2b2f;
    border: 2px solid #1e1f23;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.container .card .box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.container .card .box:hover{
    transform: translateY(-50px);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.5);
}
.container .card .box .content{
    padding: 20px;
    text-align: center;
}
.container .card .box .content h3{
    font-size: 1.8em;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
    transition: 0.5s;
}
.container .card .box .content p{
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
    transition: 0.5s;
}
.container .card .box .content a{
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: #000;
    margin-top: 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 400;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.container .card:nth-child(1) .box .content a{
    background: blueviolet;
}
.container .card:nth-child(2) .box .content a{
    background: burlywood;
}
.container .card:nth-child(3) .box .content a{
    background: coral;
}
.container .card:nth-child(4) .box .content a{
    background: cyan;
}
.container .card:nth-child(5) .box .content a{
    background: darkkhaki;
}
.container .card:nth-child(6) .box .content a{
    background: darkslateblue;
}
.container .card:nth-child(7) .box .content a{
    background: deepskyblue;
}
.container .card:nth-child(8) .box .content a{
    background: firebrick;
}
.container .card:nth-child(9) .box .content a{
    background: fuchsia;
}
.container .card:nth-child(10) .box .content a{
    background: green;
}
/* Above lines are to be changed for as many child present in the page. */
