* {
    padding: 0;
    margin: 0;
}

body {
    height: 100vh;
}

#card3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #f6f6f6;
    height: 100%;
    position: relative;
}

#card3 i {
    font-size: 12px;
    color: #e60012;
}

/* front */
#card3 .front {
    height: 220px;
    margin-top: 30px;
    width: 90%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: #fff;
    align-items: center;
}

#card3 .front .up {
    height: 50%;
    width: 85%;
    display: flex;
    justify-content: space-between;
}

#card3 .front .up .logo-box {
    display: flex;
    flex-direction: column;
    width: 60%;
    justify-content: center;
    align-items: center;
}

#card3 .front .up .logo {
    /* width: 55px; */
}

#card3 .front .up .logo-box img {
    width: 100%;
}

#card3 .front .up .logo-box .logo-con p:first-child {
    font-size: 12px;
}

#card3 .front .up .logo-box .logo-con p:last-child {
    font-size: 8px;
}

#card3 .front .up .right {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#card3 .front .up .right .name {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #e60012;
}

#card3 .front .up .right .name p:first-child {
    font-size: 20px;
    font-weight: bold;
    color: #e60012;
}

#card3 .front .up .right .name p:last-child {
    font-size: 14px;
    font-weight: bold;
}

#card3 ul {
    list-style: none;
}

#card3 .front .right-con {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

#card3 .front .right-con p {
    font-size: 8px;
}

#card3 .front .right-con li {
    margin-bottom: 5px;
}

#card3 .front .right-con li div {
    display: flex;
    justify-content: space-between;
}

/* front down */
#card3 .front .down {
    height: 50%;
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#card3 .front .down .left .name p:first-child {
    font-size: 16px;
    margin-bottom: 3px;
    color: #e60012;
}

#card3 .front .down .left .name p:last-child {
    font-size: 12px;
    color: #e60012;
    margin-bottom: 8px;
}

#card3 .front .down .left .box div {
    display: flex;
    align-items: center;
}

#card3 .front .down .left .box i {
    font-size: 13px;
    margin-right: 3px;
}

#card3 .front .down .left .box p {
    font-size: 13px;
}

#card3 .right .img {
    width: 60px;
    height: 60px;
    border: 1px solid #333;
}

#card3 .right .img img {
    width: 100%;
}

/* opposite */
#card3 .opposite {
    height: 220px;
    margin-top: 15px;
    border-radius: 10px;
    width: 90%;
    position: relative;
    background-color: #fff;
}

#card3 .opposite .logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
}

#card3 .opposite .logo {
    width: 60%;
}

#card3 .opposite .logo-box img {
    width: 100%;
}

#card3 .opposite .logo-box .logo-con p:first-child {
    font-size: 12px;
}

#card3 .opposite .logo-box .logo-con p:last-child {
    font-size: 8px;
}

#card3 .opposite .title {
    font-size: 16px;
    color: #e60012;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

#card3 .opposite .con {
    font-size: 14px;
    text-align: center;
}

/* btn */
#card3 .btn {
    width: 90%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 10px;
}

#card3 .btn i {
    color: #f4c4c6;
}

#card3 .btn-box {
    width: 90%;
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    border-radius: 10px;
}

#card3 button {
    padding: 10px 12%;
    background: linear-gradient(to bottom, #ca181f, #e93c43);
    border: 0;
    color: #fff;
    border-radius: 5px;
}

#card3 button i {
    margin-right: 10px;
}

#card3 .btn .logo-box p {
    color: #fff;
}


@media (max-width: 390px) {
    #card3 button {
        padding: 10px 9%;
    }
}

@media (max-width: 330px) {
    #card3 button {
        padding: 10px 6%;
    }
}

@media (max-width: 350px) {
    #card3 .front .left .logo-box {
        left: 18%;
    }

    #card3 .opposite .right .logo-box {
        left: 2%;
    }

}

/* nav */
#card3 .nav {
    width: 100%;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: absolute;
    bottom: 0;
}

#card3 .nav ul {
    list-style: none;
}

#card3 .nav ul li {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e3e3e3;
}

#card3 .nav ul li a {
    text-decoration: none;
}

#card3 .nav ul li:last-child {
    border-bottom: 0;
    color: #9e9e9e;
}

@media screen and (min-width: 768px){
    #card3 .front{
        width: 375px;
    }
    #card3 .opposite{
        width: 375px;
    }
    #card3 .btn{
        width: 375px;
    }
}
