@font-face {
    font-family: 'Sofia Pro Semi';
    src: url('../fonts/SofiaProSemiBold.woff2') format('woff2'), url('../fonts/SofiaProSemiBold.woff') format('woff'), url('../fonts/SofiaProSemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro Light'), local('SofiaProLight'), url('../fonts/SofiaProLight.woff2') format('woff2'), url('../fonts/SofiaProLight.woff') format('woff'), url('../fonts/SofiaProLight.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro ExtraLight'), local('SofiaProExtraLight'), url('../fonts/SofiaProExtraLight.woff2') format('woff2'), url('../fonts/SofiaProExtraLight.woff') format('woff'), url('../fonts/SofiaProExtraLight.ttf') format('truetype');
    font-style: normal;
    font-weight: 200;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro Regular'), local('SofiaProRegular'), url('../fonts/SofiaProRegular.woff2') format('woff2'), url('../fonts/SofiaProRegular.woff') format('woff'), url('../fonts/SofiaProRegular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro Medium'), local('SofiaProMedium'), url('../fonts/SofiaProMedium.woff2') format('woff2'), url('../fonts/SofiaProMedium.woff') format('woff'), url('../fonts/SofiaProMedium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro Bold'), local('SofiaProBold'), url('../fonts/SofiaProBold.woff2') format('woff2'), url('../fonts/SofiaProBold.woff') format('woff'), url('../fonts/SofiaProBold.ttf') format('truetype');
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro Black'), local('SofiaProBlack'), url('../fonts/SofiaProBlack.woff2') format('woff2'), url('../fonts/SofiaProBlack.woff') format('woff'), url('../fonts/SofiaProBlack.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
}

@font-face {
    font-family: 'Sofia Pro';
    src: local('Sofia Pro UltraLight'), local('SofiaProUltraLight'), url('../fonts/SofiaProUltraLight.woff2') format('woff2'), url('../fonts/SofiaProUltraLight.woff') format('woff'), url('../fonts/SofiaProUltraLight.ttf') format('truetype');
    font-style: normal;
    font-weight: 200;
}

/* Base styles */

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 10px;
}

body {
    font-family: 'Sofia Pro', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-repeat: no-repeat;
    background: url(../images/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button,
input {
    border: none;
}

button {
    cursor: pointer;
    background-color: transparent;
}

input,
textarea {
    outline: none;
}

img,
video {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Reusable classes */

/* Reusable flex class for components */

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex--column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* Reusable grid class for components */

.grid {
    display: grid;
}

/* Reusable components */

.nav {
    -ms-flex-item-align: center;
    align-self: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.logo {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo img {
    margin-right: 0.5rem;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    width: 25%;
}

@media screen and (max-width:991px) {
    .logo img {
        width: 95%;
    }
}

.logo .logo__text {
    font-size: 1.8rem;
    font-weight: bold;
}

.metamask {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.5rem 3rem;
    font-size: 1.4rem;
    background: linear-gradient(45deg, #0026cb, #ffd400);
    border-radius: 1.3rem;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
}

.metamask img {
    max-width: 32px;
    margin-right: 0.5rem;
}

.metamask:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

@media screen and (max-width: 600px) {
    #myAddr {
        max-width: 80px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .container {
        max-width: 1440px;
        padding: 0 4rem;
        margin: 0 auto;
    }
}

.container {
    max-width: 1440px;
    padding: 0 3rem;
    margin: 0 auto;
}

.container--nav {
    padding-top: 3rem;
}

.section {
    margin: 8rem 0;
}

.btn {
    width: 100%;
    padding: 3rem 2rem;
    margin-top: 2rem;
    font-family: inherit;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background: linear-gradient(45deg, #0026cb, #ffd400);
    border-radius: 1rem;
    -webkit-transition: 0.2s linear;
    -o-transition: 0.2s linear;
    transition: 0.2s linear;
}

.btn:hover {
    background: linear-gradient(45deg, #ffd400, #0026cb);
}

/* Sections styles */

.app__container {
    max-width: 600px;
    padding: 4rem 2rem;
    background-color: #00012e;
    border-radius: 3rem;
    box-shadow: 0px 0px 20px#062d4e;
}

.app__data-container:not(:last-child) {
    margin-bottom: 4rem;
}

.app__data-wrapper {
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
}

.app__title {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: #c9aa0a;
}

.app__value {
    font-size: 1.8rem;
    font-weight: bold;
}

.app__value--big {
    font-size: 4.2rem;
}

.app-timer {
    display: grid;
    grid-template-columns: repeat(4, 80px);
    -webkit-column-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.app-timer__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    color: #fff;
}

.app-timer__value {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 4rem;
}

.app-timer__title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #a2a2a2;
}

.app__address {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 150px;
}

.app__address .app__address-text {
    max-width: 130px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.app__address img {
    max-width: 16px;
}

.app__progress {
    width: 100%;
    height: 20px;
    margin-bottom: 2rem;
    background-color: #2a2a2a;
    border-radius: 0.5rem;
}

.app__progress-bar {
    width: 10%;
    height: 100%;
    background-color: #fff;
    border-radius: 0.5rem;
}

.app__add-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 2rem;
}

.app__add-btn img {
    max-width: 20px;
}

.app-trade__items {
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 2rem;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
}

.app-trade__item {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem 2rem;
    background-color: rgb(0 1 30);
    border-radius: 1rem;
    box-shadow: 0 0 20px 0px #00011e;
}

.app-trade__item:first-child {
    position: relative;
}

.app-trade__item:first-child::after {
    position: absolute;
    right: 46%;
    bottom: -17px;
    display: none;
    width: 20px;
    height: 20px;
    content: '';
    background-color: #2a2a2a;
    background-image: url(../images/down-arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    border-radius: 0.6rem;
    outline: 4px solid #1a1a1a;
}

.app-trade__token {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.app-trade__token img {
    max-width: 30px;
    margin-right: 1rem;
    background-color: #686868;
    border-radius: 50%;
    padding: 4px;
}

.app-trade__token img:hover {
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.app-trade__item-info {
    flex-basis: 55%;
}

.app-trade__item-input {
    flex-basis: 20%;
    flex-grow: 1;
    text-align: end;
}

.app-trade__item-value {
    width: 100%;
    background-color: transparent;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: end;
    color: #fff;
}

.app-trade__item-value::placeholder {
    opacity: 1;
    color: #fff;
}

.app-trade__balance {
    font-size: 1.6rem;
}

@media screen and (max-width: 575px) {
    .app {
        padding: 0 2rem;
    }
    .app-timer {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .app-trade__items {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
    .app-trade__item {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 1rem 1rem 2rem;
        background-color: rgb(0 1 30);
        ;
        border-radius: 1rem;
    }
    .app-trade__item:first-child::after {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .app__title {
        font-size: 1.4rem;
    }
    .app__address .app__address-text {
        max-width: 100px;
    }
    .app__value--big {
        font-size: 3.2rem;
    }
}

#referLink {
    width: -webkit-fill-available;
    text-align: center;
    color: #fff;
    background-color: #131c47;
    border: 1px solid #828364;
    border-radius: 10px;
}

/*--Popup Css--*/

#pop {
    display: none;
    position: fixed;
    top: 20%;
    left: 25%;
    width: 50%;
    height: 70%;
    background-color: white;
    z-index: 10;
}

#pop iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#popupdarkbg {
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .75);
    display: none;
}

@media screen and (max-width: 600px) {
    #pop {
        top: 25%;
        left: 10%;
        width: 80%;
        height: 55%;
    }
}

#popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 65%;
    background-color: white;
    z-index: 10;
}

#popup iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#airdrop-btn_mobile {
    display: none;
}

#popupdarkbg {
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .75);
    display: none;
}

@media screen and (max-width: 600px) {
    #popup {
        top: 20%;
        left: 10%;
        width: 80%;
        height: 20%;
    }
}

@media screen and (max-width: 900px) {
    #popup {
        top: 20%;
        left: 10%;
        width: 80%;
        height: 20%;
    }
    #airdrop-btn_mobile {
        display: block;
    }
    #airdrop-btn_desk {
        display: none;
    }
}