/*************** MAIN ELEMENTS ***************/

body {
    margin: 0;
    padding: 0;
}

div {
    position: absolute;
}

#wrapper {
    display: block;
    top: 0;
    left: 0;
    width: 300px;
    height: 600px;
    overflow: hidden;
    background: #000;
}

#wrect {
    width: inherit;
    height: inherit;
    background: #000;
    pointer-events: none;
}

#border {
    border: 1px solid #333;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: inherit;
    height: inherit;
    pointer-events: none;
}

#bgexit {
    width: inherit;
    height: inherit;
    cursor: pointer;
}

#image {
    position: absolute;
    display: block;
}

/******************** LOGO ********************/

#logo {
    cursor: pointer;
    width: 86px;
    height: 86px;
    top: 15px;
    left: 15px;
    background: url("logo.svg") no-repeat;
    background-size: contain;
}

/******************** BUTTON ********************/

#cta {
    max-width: 210px;
    width: max-content;
    height: 39px;
    box-sizing: border-box;
    padding: 0 33px;
    bottom: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    background: #ee3224;
    color: #fff;
    left: 50%;
    border-radius: 20px;
    transform: translateX(-50%);
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
    overflow: hidden;
}

#ctaafter {
    position: absolute;
    background: #295571;
    height: 195px;
    left: -220px;
    position: absolute;
    top: -30px;
    -webkit-transform: rotate(35deg);
    transform: rotate(15deg);
    -webkit-transition: all 2500ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 2500ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 180px;
    z-index: -10;
}

#cta:hover #ctaafter {
    left: 120%;
    -webkit-transition: all 2500ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 2500ms cubic-bezier(0.19, 1, 0.22, 1);
}

/******************** ICONS ********************/
#deck {
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 285px;
    height: 214px;
    bottom: 64px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    perspective: 1000px;
}

.iconWrapper {
    border-radius: 2px;
    height: 66.75px;
    width: 66.75px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
}

.iconFront {
    border-radius: inherit;
    width: 100%;
    height: 100%;
    background: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.iconBack {
    border-radius: 2px;
    width: 100%;
    height: 100%;
    background: #295571;
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

.iconBack:after {
    content: '';
    display: block;
    position: absolute;
    top: 6%;
    left: 6%;
    height: 85%;
    width: 85%;
    border-radius: 2px;
    border: 1px solid #00aeef;
    pointer-events: none;
}

.spanIcon {
    width: 100%;
    height: 70%;
    position: relative;
    pointer-events: none;
}

svg {
    width: 100%;
    height: 100%;
}

.spanName {
    width: 100%;
    height: 15%;
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
    font-family: 'Arial', sans-serif;
    color: #00aeef;
    margin-top: 4px;
    line-height: 100%;
    pointer-events: none;
    user-select: none;
}

/********************** TEXT ***********************/

#text {
    width: inherit;
    height: 100px;
    top: 230px;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: #fff;
}

.blue {
    color: #00bdf2;
}

#headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 600;
    height: 40%;
    line-height: 82%;
    padding-right: 3px;
}

#subheadline {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 119%;
    letter-spacing: 0.2px;
    height: 35%;
    display: none;
    padding-top: 32px;
}

#description {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    color: #00bdf2;
    font-size: 15px;
    letter-spacing: 0.2px;
    height: 20%;
    display: none;
    margin-top: 8px;
}

#wintext {
    width: inherit;
    height: 120px;
    bottom: 80px;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: #fff;
}

#headline2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 39px;
    line-height: 82%;
}

#subheadline2 {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.2px;
    padding-top: 6px;
}