body{
    gap:0;
}

.page{
    display:flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.content{
    display:flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color:var(--cloudy-white);
    width:clamp(30rem, 100%, 1800px);
    height: 100%;
    position: relative;
}

.banner{
    display:flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background-image: url(../img/small_banner.avif);
    background-size: cover;
    background-blend-mode:overlay;
    filter:grayscale(.5);
    background-color: #1f2025;
    flex-direction: column;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    overflow: hidden;
}

.banner>img{
    filter: drop-shadow(0px 0px 30px rgb(0, 0, 0));
    min-width: 200px;
    max-width: 16%;
}

.main-page{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding:64px 64px 64px 64px;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100svh - 254px);
    border:1px solid var(--translucid-light);
    background-color: var(--translucid-dark);
    border-top:none;
}

.firt-things-first{
    display: flex;
    width: 100%;
    background-color: var(--translucid-dark);
    border:1px solid var(--translucid-light);
    padding:32px;
    border-radius: 16px;
    box-sizing: border-box;
}

#ftf-head{
    display:flex; 
    align-items:center;
    gap:24px;
    height: 100%;
}

#ftf-h{
    display:flex;
    gap:32px
}

#ftf-head img{
    height: 150px;
}


.lines{
    display: none;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
}

.line{
    height: 3px;
    border-radius: 5px;
    background: linear-gradient(45deg, rgba(34,197,94,.75) 0%, rgba(55, 66, 58, 0) 100%);
    margin:7px 0;
}

.line:nth-child(1){
    width: 100%;
}

.line:nth-child(2){
    width: 95%;
}

.line:nth-child(3){
    width: 90%;
}


.ftf-right{
    display: flex;
    gap:5px;
    margin:7px 0;
    flex-direction: column;
}

.ftf-buttons{
    display: flex;
    gap:32px;
    align-items: center;
}

.ftf-buttons a{
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Montserrat;
    font-size:22px;
    font-weight: 700;
    background-color: var(--translucid-dark);
    outline:1px solid #272727;
    border-radius: 32px;
    padding:16px 32px;
    box-sizing: border-box;
    transition: all 150ms ease-in-out;
}

.ftf-buttons a:hover{
    outline:2px solid var(--main-green);
    background-color:#292c31cc;
}

.ftf-buttons a svg{
    height: 23px;
    width: auto;
}

#quick-play-link{
    background: linear-gradient(45deg, rgba(34,197,94, 1) 0%, rgba(22, 135, 163, 1) 100%);
}

#ftf-sign-up{
    background-color: var(--main-green);
}

.main-page a{
    text-decoration: none;
    color:var(--cloudy-white);
    font-weight: 600;
}

.main-page h1{
    font-weight: 600;
    margin:0;
    font-size:clamp(24px, 3vw, 32px);
    color:var(--cloudy-white);
    margin-bottom:5px;
}

.main-page p{
    text-align: start;
    color:#a2a2a2;
    font-size:18px;
    margin:0;
}

.main-page hr{
    height: 1px;
    width: 100%;
    border:none;
    background-color: var(--translucid-light);
    margin:20px 0 20px 0;
}

.iscrim-welcome{
    margin-bottom:50px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

.formulas-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top:75px;
}

.formulas-container{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:40px;
}

.formula{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:20px;
    box-sizing: border-box;
    padding:20px;
    background-color:var(--translucid-dark);
    border:1px solid var(--translucid-light);
    border-radius: 10px;
    width: 250px;
    height: 250px;
}

.formula h2{
    margin:0;
    font-weight: 500;
    color:#d6d6d6;
    font-size:clamp(12px, 3vw, 24px);
    text-align: center;
}


.formula img{
    height: 70%;
    width: 90%;
}

.supported-games-wrapper{
    margin-top:75px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.supported-game{
    min-height: 200px;
    min-width: 150px;
    max-height: 200px;
    max-width: 150px;
    background-color: var(--deep-steel);
    border:1px solid #303030;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: 450%;
    background-repeat: no-repeat;
    border-radius: 10px;
    font-size:24px;
    font-weight: 500;
    transition:all 550ms cubic-bezier(0.4, 0, 0.2, 1);
}

.supported-game:hover{
    background-size:340%;
}

.game-logo{
    width: 80%;
    height: 30%;
}

.supported-games-container{
    display: flex;
    gap:16px;
    max-width: 100%;
    overflow-x:auto;
    overflow-y: hidden;
    padding-bottom:12px;
}

.scrollable::-webkit-scrollbar {
    width: 2px;
    position: relative;
    height: 4px;
    
}

.scrollable::-webkit-scrollbar-track {
    border-radius: 8px;
    background: #36373f;
}

.scrollable::-webkit-scrollbar-thumb {
    background: rgb(85, 85, 85);
    border-radius: 10px;
}

.scrollable::-webkit-scrollbar-thumb:hover {
    background: #1b1b1b;
}

.scrollable ::-webkit-scrollbar {
    width: 5px;
    position: relative;
    height: 4px;
}

.join-now-wrapper{
    display: flex;
    flex-direction: column;
    margin-top:58px;
    margin-bottom: 10px;
    align-items: center;
    gap:32px;
}

.signup-wrapper{
    display: flex;
    gap:32px;
}

.signup-as{
    display: flex;
    flex-direction: column;
    gap:10px;
    width: 250px;
}

.player{
    align-items: flex-start;
}

.host{
    align-items: flex-end;
}

.signup-as a{
    background-color: var(--main-green);
    padding:10px 20px;
    border-radius: 22px;
    width: fit-content;
}

.signup-as a:hover{
    background-color: var(--main-green-hover);
}




.premium-plans-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top:40px;
}

.premium-plans-wrapper .an-actual-plans-wrapper{
    display: flex;
    gap:32px;
}

.an-actual-plans-wrapper .plan-card ul{
    padding-left:25px;
    margin:0;
}

.an-actual-plans-wrapper .plan-card ul li{
    font-size:20px;
    font-family: Montserrat;
    padding:10px;
    padding-left:0;
    list-style: none;
}

.an-actual-plans-wrapper .plan-card ul li::before{
    content: '✓';
    margin-right:8px;
}

.an-actual-plans-wrapper .plan-card{
    background-color: var(--translucid-dark);
    border:1px solid var(--translucid-light);
    border-radius: 10px;
    width: 50%;
    padding:20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.an-actual-plans-wrapper .plan-card .plan-card-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.an-actual-plans-wrapper .plan-card .plan-card-header h2{
    font-size:32px;
    margin:0;
    font-weight: 550;
}

.an-actual-plans-wrapper .basic .plan-card-header h2{
    color:rgb(200, 200, 200);
}

.an-actual-plans-wrapper .basic-plus .plan-card-header h2{
    color:rgb(147, 252, 137);
}

.an-actual-plans-wrapper .premium .plan-card-header h2{
    color:gold;
}

.an-actual-plans-wrapper .plan-card .plan-card-header div{
    font-size:52px;
    font-weight: 500;
    letter-spacing: 3px;
    display: flex;
    gap:8px;
}

.an-actual-plans-wrapper .plan-card .plan-card-header div span{
    font-size:20px;
    letter-spacing: 1px;
    font-weight: 500;
    color:gray;
    margin-top:3px;
}

.an-actual-plans-wrapper .plan-card .plans-action{
    width: 100%;
    margin-top:20px;
    display: flex;
    gap:32px;
    align-items: center;
}

.an-actual-plans-wrapper .plan-card .plans-action button,
.an-actual-plans-wrapper .plan-card .plans-action a{
    background-color: var(--main-green);
    border-radius: 10px;
    padding:20px;
    border:none;
    font-family: Montserrat;
    color:var(--cloudy-white);
    font-size:20px;
    margin-left: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap:10px;
    transition:filter 150ms ease-in-out
}


.an-actual-plans-wrapper .plan-card .plans-action button:hover,
.an-actual-plans-wrapper .plan-card .plans-action a:hover{
    filter:brightness(1.1);
}


@media only screen and (max-width: 660px){
    .main-page{
        width: 100vw;
        padding:8px;
    }
    .formulas-container{
        gap:20px;
        justify-content: center;
    }
    .formula{
        width: 150px;
        height: 150px;
        padding:8px;
    }
    .supported-games-container{
        width: 90vw;
    }
    .supported-game{
        min-height: 120px;
        min-width: 80px;
        max-height: 120px;
        max-width: 80px;
    }
    .main-page p{
        font-size:14px;
    }
    .formulas-wrapper,
    .supported-games-wrapper,
    .join-now-wrapper{
        margin-top:20px;
    }
}



@media only screen and (max-width: 1426px) {
    .ftf-buttons a{
        font-size:16px;
        padding:13px 26px;
    }
    .ftf-buttons{
        gap: 16px;
    }
    .ftf-right p{
        font-size:17px;
    }
    #ftf-head img{
        height: 130px;
    }
}

@media only screen and (max-width: 1187px) {
    #ftf-h{
        flex-direction: column;
    }
    .lines{
        display: flex;
    }
    #ftf-head{
        align-items: unset;
    }
    .ftf-buttons{
        justify-content: center;
    }
    #ftf-head img{
        height: unset;
        width: 60%;
    }
}

@media only screen and (max-width: 660px){
    .ftf-right p{
        font-size:14px;
    }
    .line{
        height: 2px;
    }
    #ftf-h{
        gap:24px;
    }
    .firt-things-first{
        padding:24px;
    }
    .lines{
        display: none;
    }
    #ftf-head img{
        width: 80%;
    }
    #ftf-head{
        justify-content: center;
    }
}

@media only screen and (max-width: 580px){
    .ftf-buttons a{
        padding:10px 20px;
        font-size:14px;
    }
    .ftf-buttons span{
        font-size:12px;
    }
    .firt-things-first{
        padding:20px;
    }
}

@media only screen and (max-width: 480px){
    .ftf-buttons{
        flex-direction: column;
        gap:8px;
    }
    .firt-things-first{
        padding:16px;
    }
    
    #ftf-head img{
        width: 100%;
    }
}
