@font-face {
    font-family: "AdhesiveNrSeven";
    src: url("../fonts/AdhesiveNrSeven.ttf") format("truetype");
}

@font-face {
    font-family: "RetroGaming";
    src: url("../fonts/%20Gaming.ttf") format("truetype");
}

@font-face {
    font-family: "alagard";
    src: url("../fonts/alagard.ttf") format("truetype");
}

body {
    background: url("../images/backgroundgif.gif") no-repeat center center fixed; 
    /* background: url("https://i.gifer.com/9JU9.gif") no-repeat center center fixed;  */
    background-size: cover;
    font-family: "AdhesiveNrSeven", monospace;
    cursor: url("../images/mouse_icon_50w.png") 0 20, auto;
}

.main-container {
    display: flex; 
    flex-direction: column;
    align-items: center;
    width: 90vw;
    max-width: 900px;
    margin: auto;
    gap: 5px;
}

.full-width {
    width: 100%; 
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.bordered {
    border-image: url("../fonts/border.svg");
    border-image-slice: 4;
    border-image-width: 10px;
}

button {
    font-family: "AdhesiveNrSeven", monospace;
    font-size: large;
    background-color: white;
    border-image: url("../fonts/border.svg");
    border-image-slice: 1;
    border-image-width: 10px;
    padding: 8px;

    cursor: pointer;
}

/* woah speak popup */

#woah-speak-popup {
    position: fixed;
    top: 5%;
    width: 650px; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 111;
}

.woah-speak-top-container {
    width: 100%;
    height: 650px;
    border-image-slice: 10;
    background: url("../images/speak_bg.png");
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 3px;
}

.woah-speak-border {
    width: 94%;
    position: absolute;
    pointer-events: none;
}

#woah-speak-close-btn {
    border-image-slice: 2;
    border-image-width: 20px;
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}

#woah-speak-close-btn img {
    width: 30px;
    height: 30px;
    padding: 7px;
}

.speak-title-row {
    display: flex; flex-direction: row; justify-content: center;
    gap: 10px;
}

.flag {
    width: 85px;
    height: 80px;
}

.logo-combined {
    width: 300px;
}

#speak-price-text {
    font-family: "alagard", monospace;
    font-size: 20px;
}

.speak-img-wrapper {
    display: flex; flex-direction: row;
    gap: 5px;
    z-index: 10;
}

.speak-example, .speak-textbox {
    background-color: white;
    border-image-slice: 8;
}

.speak-textbox {
    font-size: x-large;
    height: 330px;
    background: url("../images/speak_textbox.png") no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speak-example img, .speak-textbox {
    width: 240px; 
    padding: 8px;
    padding-bottom: 2px;
}

textarea {
    font-size: large;
    border: none;
    background-color: transparent;
    resize: none;
    height: 250px;
    width: 210px;
}

#speak-btn-popup, #speak-btn-popup-placeholder {
    width: 220px;
    height: 50px;   
}

#speak-btn-popup-placeholder {
    visibility: hidden;
}

#speak-btn-popup {
    position: absolute;
    bottom: 115px;
    overflow: hidden;
    background: url("../images/speak_logo_bg.png");
    display: flex; align-items: center; justify-content: center;
    border-image-slice: 1;
    font-size: x-large;
    background-clip: content-box;
}

#speak-btn-popup::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    transition: 0.5s;
}

#speak-btn-popup:hover::before {
    left: 100%;
}

.inactive-txn-link {
    color: lightgray;
    cursor: not-allowed;
}

.active-txn-link {
    color: black;
}

.woah-speak-bottom-container {
    width: 100%;
    height: 50px;
    border-image-slice: 1;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
}

#connected-wallet {
    position: absolute;
    left: 15px;
}

#amount {
    position: absolute;
    right: 15px;
}

/* woah speak popup end */

/* #connect-wallet-prompt {
    position: fixed;
    width: 500px;
    height: 50px;
    background-color: white;
    color: black;
} */

.top-orbs-container, .flags-wrapper-mobile, .tweets-container-mobile {
    display: none;
}

.badge {
    width: 70px;
}

.badge-container, .title-row, .links-container, .stats-container, .speak-btn-container, .orb-wrapper, .flags-wrapper-desktop, .tweets-container-desktop {
    display: flex; flex-flow: row nowrap; justify-content: space-between;
}

.title-img, .wojack-small-left, .wojack-small-right {
    height: 140px;
    padding: 7px; 
    padding-bottom: 3px;
}

.orb-wrapper img {
    width: 40px; height: 40px;
}

#connect-wallet-btn {
    color: white;
    background-color: black;
}

#speak-btn-main {
    background-image: url("../images/speak_btn_bg.png");
    width: 200px;
    border-image-slice: 2;
}

.links-container {
    align-items: center;
}

.links-container button {
    background-clip: padding-box;
    padding-left: 15px;
    padding-right: 15px;
}

.links-container button a {
    color: black;
    text-decoration: none;
}

#connect-wallet-btn:hover, .links-container button a:hover {
    color: yellow;
}

#speak-btn-main img {
    width: 70%;
}
#speak-btn-main img:hover {
    width: 85%;
}

.flags-wrapper-desktop img {
    width: 80px; height: auto;
}

.stats-container {
    color: white;
    font-family: "RetroGaming", monospace;
    font-size: large;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url("../images/stats_bg.png") center / contain no-repeat ;
    background-size: 100% 100%;
    height: 150px;
}

.yellow {
    color: yellow;
}

/* .stats-bg {
    width: 100%;
    padding: 9px;
} */

/* grid start */

.grid-container {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto auto;
    row-gap: 5px;
    --grid-element-padding-desktop: 9px;
}

.grid-container div {
    border-image-slice: 8;
    display: flex; align-items: center; justify-self: center;
}

.woah-wojak {
    grid-row: 1; 
    grid-column-start: 1;
    grid-column-end: 2;
}

.woah-wojak img {
    width: 285px;
    padding: var(--grid-element-padding-desktop);
}

.description-container {
    grid-row: 1; 
    grid-column-start: 2;
    grid-column-end: 4;
}

.description-container img {
    width: 577px;
    padding: var(--grid-element-padding-desktop);
}

.video-container {
    grid-row: 2; 
    grid-column-start: 1;
    grid-column-end: 3;
}

.video-container video {
    width: 490px;
    padding: var(--grid-element-padding-desktop);
}

.space-wojak {
    grid-row: 2; 
    grid-column-start: 3;
    grid-column-end: 4;
}

.space-wojak img {
    width: 372px;
    padding: var(--grid-element-padding-desktop);
}

/* grid end */

.tweets-container-desktop div {
    border-image-slice: 7;
    display: flex; align-items: center; justify-self: center;
}

.tweets-container-desktop img {
    width: 280px; padding: 8px;
}

/* mobile layout */

@media screen and (max-width: 1000px) {
    .main-container {
        width: 95vw;
        max-width: 500px;
    }

    #woah-speak-popup {
        width: 90vw;
        max-width: 480px;
        min-width: 300px;
    }
    .woah-speak-top-container {
        height: 550px;
    }
    .woah-speak-border {
        height: 89%;
    }
    #woah-speak-close-btn img {
        width: 20px;
        height: 20px;
        padding: 3px;
    }
    .flag {
        width: 60px;
        height: 55px;
    }
    .speak-title-row {
        gap: 3px;
    }  
    .logo-combined {
        width: 200px;
    }
    .speak-example img, .speak-textbox {
        width: 35vw;
        max-width: 200px;
        min-width: 120px;
    }
    .speak-textbox {
        font-size: large;
        height: 280px;
    }
    textarea {
        width: 95%;
        height: 80%;
    }

    #speak-btn-popup {
        bottom: 112px;
    }

    #speak-price-text {
        font-size: unset;
    }

    .top-orbs-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .top-orbs-container img {
        width: 30px; height: 30px;
    }

    .badge {
        width: 30px;
    }

    .wojack-small-left, .wojack-small-right, .orb-wrapper, .flags-wrapper-desktop, .tweets-container-desktop {
        display: none;
    }

    .speak-btn-container {
        gap: 5px;
    }

    .flags-wrapper-mobile, .tweets-container-mobile {
        display: flex; flex-flow: row nowrap; justify-content: space-between; 
        gap: 5px;
    }

    .flags-wrapper-mobile div {
        border-image-slice: 2;
        display: flex; align-items: center; justify-self: center;
        background-color: black;
    }

    .flags-wrapper-mobile .flag {
        width: 50px;
        padding: 5px;
    }

    .flags-wrapper-mobile .bordered img {
        width: 65px;
        height: 65px;
        padding: 5px;
    }

    button {
        font-size: small;
        padding: 5px;
    }
    
    .title-img {
        width: 98%;
        height: auto;
        padding: 5px;
        padding-bottom: 2px;
    }

    .links-container button {
        padding-left: 8px;
        padding-right: 8px;
    }

    .stats-container {
        font-size: small;
        height: 100px;
    }

    .stats-bg {
        width: 98%;
        padding: 5px;
    }

    /* grid start */

	.grid-container {
        grid-template-rows: auto auto auto;
        grid-template-columns: 0.78fr 1fr;
        --grid-element-padding-mobile: 5px;
    }
    
    .woah-wojak, .description-container, .video-container, .space-wojak {
        display: flex; align-items: center; justify-content: center;
    }

    .woah-wojak {
        grid-row: 3; 
        grid-column-start: 1;
        grid-column-end: 2;
    }
    
    .woah-wojak img, .space-wojak img {
        width: 95%; height: 95%;
        padding: var(--grid-element-padding-mobile);
    }
    
    .description-container {
        grid-row: 1; 
        grid-column-start: 1;
        grid-column-end: 3;
    }
    
    .description-container img, .video-container video {
        width: 97%;
        padding: 7px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .video-container {
        grid-row: 2; 
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .space-wojak {
        grid-row: 3; 
        grid-column-start: 2;
        grid-column-end: 3;
    }
    
    /* grid end */

    .tweets-container-mobile div {
        border-image-slice: 7;
        display: flex; align-items: center; justify-self: center;
    }
    
    .tweets-container-mobile img {
        width: 95%; height: 95%; padding: 2%;
    }

}