html {
    font-family: "Montserrat";
    height: 100%;
}

h1 {
    font-size: 38px;
    color: #000;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    padding: 3% 0 1%;
    padding: 3vh 0 1%;
    margin: auto auto 30px;
    max-width: 80%;
}

.version {
    font-size: 45px;
    font-weight: bold;
}

.box {
    margin-bottom: auto;
}

.wrap .button {
    background-color: rgb(255, 0, 118);
    font-size: 20px;
    color: rgb(255, 255, 255);
    margin: 0 auto 44px;
    padding: 15px 0;
    border: 0;
    width: 180px;
    cursor: pointer;
    transition: background .3s ease;
    text-decoration: none!important;
    box-shadow: 0px 19px 41px 0px rgba(0, 0, 0, 0.08);
    text-transform: uppercase;
    padding: 20px;
    border: 0!important;
    margin-top: 10px;
    margin-bottom: 0;
}

.box-1,.box-2 {
    display: flex;
}

.box-1 a, .box-2 a {
    margin: 10px;
}

.wrap .button:nth-child(2n) {
    background: #34219e;
}

.wrap:hover .button {
    background: #34219e;
}

.wrap .button:hover,.wrap .button:focus {
    background: #34219e;
}

.wrap:first-child .version {
    background: #addeef;
}

.version {
    position: absolute;
    right: -10%;
    top: -3%;
    padding: 0 20px;
    border-radius: 50%;
    height: 105px;
    line-height: 105px;
    color: #fff;
    width: 65px;
}

.front .version {
    background: #ff0076;
}

.back .version {
    background: #34219e;
}

section {
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-items: stretch;
    margin: auto;
    padding: 0;
}

li {
    flex-direction: column;
    display: flex;
    justify-items: center;
    justify-content: center;
    text-align: center;
    margin: 30px 60px 30px;
    position: relative;
}

body {
    padding: 0;
    margin: 0;
    font-size: 100%;
    position: relative;
    background: #fff;
    height: 100%;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
}

ol {
    margin: auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

.box-1,.box-2 {
    padding-top: 0;
    display: flex;
    margin: 0;
    flex-direction: row;
    flex-wrap: wrap;
    /* padding: 0; */
    margin: 0;
}

.wrap img {
    margin: 17px auto;
    box-shadow: 0px 19px 41px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.box:before {
    background: #f7f7f7;
    content: '';
    position: absolute;
    height: 60%;
    width: 300%;
    top: 20%;
    bottom: 3%;
    left: -100%;
    right: -100%;
    z-index: -1;
}

@media (max-width: 1024px) {
    .wrap a:before {
        height: 60%;
    }

    .version {
        right: 3%;
        top: -4%;
        padding: 0 10px;
        font-size: 35px;
        height: 85px;
        line-height: 85px;
        width: 65px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 20px;
        padding: 50px 15px 0;
        word-break: break-all;
    }

    .wrap {
        max-width: 80%;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 15px auto;
        position: relative;
        width: auto;
        flex: auto;
    }

    .list li {
        padding: 0;
        display: flex;
        overflow: visible;
        text-align: center;
        width: 100%;
        flex: 0 0 100%;
    }

    .container {
        flex-direction: column;
        padding: 0;
        width: auto;
    }

    .button {
        text-align: center;
        width: 100%;
    }

    .wrap a:before {
        height: 60%;
    }

    .version {
        padding: 0 10px;
        font-size: 30px;
        height: 85px;
        line-height: 85px;
        width: 65px;
        right: 4%;
        top: -3%;
    }
}

.card {
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 600ms;
    transition: all 600ms;
    /* pointer-events: none; */
}

.wrap:hover .card{
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flip {
    -webkit-perspective: 1000;
    text-decoration: none;
}

.front, .back {
    top: 0;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: initial;
    transform-style: preserve-3d;
    -webkit-transition: transform .9s ease-in-out;
    transition: transform .9s ease-in-out;
    text-decoration: none!important;
    display: flex;
    flex-direction: column;
}

.front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    position: absolute;
}

div:target.flip .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

div:target.flip .back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

@media (max-width: 562px) {
    .wrap a:before {
        height: 55%;
    }

    .version {
        padding: 0 10px;
        font-size: 25px;
        height: 65px;
        line-height: 65px;
        width: 45px;
        right: 3%;
        top: -4%;
    }
}

@media (max-width: 360px) {
    .wrap a:before {
        height: 50%;
    }

    .version {
        padding: 0 5px;
        font-size: 14px;
        height: 45px;
        line-height: 45px;
        width: 35px;
        right: 4%;
        top: -2%;
    }
}

@media (max-width: 300px) {
    .wrap a:before {
        height: 45%;
    }
}