/* меню
1. header 
1.1 nav
2. main
2.1 main-nav
2.2 main-content

*/

body {
    Margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: white;
    background-color: #1a1a22;
    font-family: Verdana, Geneva, Tahoma, sans-serif, Helvetica;
    font-size: 14px;
}   

h1, h2, h3 {
    margin: 0;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

img {
    border-radius: 7px;
    max-width: 100%;
}

a {
    color: #eeeeeeb9;
    text-decoration: none;
}

/* 1. header */

header {
    width: 100%;
    height: 100%; 
}

.container-header {
    width: 100%;
    height: 250px;
}

.header-login {
display: flex;
height: 200px;
background-color: #33282c;
border-bottom: solid 1px #63432d;
}

.header-login-item-1 {
min-width: 370px;
background-image: url(img/login-image.jpg);
background-repeat: no-repeat;
background-position-x: right;
border-right: solid 1px #63432d;

}

.t {
    margin-left: 84%;
    margin-top: 6%;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    box-shadow: 0 0 10px #f1df78; 
    background-color: #161616e7;
    &:hover {
        background-color: #ebebeb;
        box-shadow: 0 0 20px #ffd900; 
        transition: background-color .7s linear;
    }
}

.header-login-item-2 {
width: 70%;
text-align: left;
padding-top: 19px;
padding-left: 21px;
background-image: url(img/login-fon.jpg);
background-attachment: scroll;
background-repeat: no-repeat;
background-position: right;
}

.staratlas {
    width: 250px;
}

.header-login-item-2 h1 {
    color: #eeeeee;
    text-shadow: 2px 3px #01010273;
    &:hover {
        text-shadow: 0 0 10px #ffd900; 
        transition: text-shadow .5s linear;
    }
}

.header-login-item-2 h3 {
    color: #eeeeee;
    text-shadow: 1px 2px #01010273;
    &:hover {
        text-shadow: 0 0 5px #ffd900; 
        transition: text-shadow .5s linear;
    }
}

.header-login-item-3 {
width: 30%;
padding-top: 54px;
}

/* 1.1 nav */

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
  
    height: 50px;
    width: 100%;
    background-color: #131319;
    font-family: industryMedium;
    font-weight: 500;
    font-size: 14px;
    Letter-spacing: 2px; 
    color: rgba(236, 236, 236, 0.788);
    text-transform: uppercase;
    &:hover {
        background-color: rgba(30, 64, 99, 0.349);
        border-bottom: 1px solid #0505055d;
        border-top: 1px solid #2e2e2e5d;
        transition: background-color 1s linear;
    }

}

.nav-item {
        margin: 0 13px 1px 13px;
        border: solid 1px transparent;
        border-radius: 10px;
        text-decoration: none;
        &:hover {
            border-color: rgba(255, 255, 255, 0.521);
            background-color: #010102;
            transition: border 1s linear,background-color 1s linear;
        }
        
    }

.nav-item a {
    display: block;
    color: rgba(236, 236, 236, 0.788);
    padding: 7px 10px;
    height: 100%;
}

#active {
    color: rgb(235, 198, 34);
    cursor: default;
}




/* 2. main */

.main-content {
    background-color: #1a1a22;
    max-width: 100%;
    height: 100%;
}

.main-content-design {
    max-width: 100%;
    height: 100%;
    margin: 20px;
    padding: 40px 0 0 0;
    border: solid 2px #6969698e;
    border-radius: 15px;
    box-shadow: inset 0px 15px rgba(182, 182, 182, 0.048);
    overflow: hidden;
    text-align: center;
}

.trading {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.atlas {
    width: 435px;
    height: 300px;
    margin: 10px 10px 10px 10px;
}

.polis {
    width: 435px;
    height: 300px;
    margin: 10px 15px 10px 15px;
}

.solana {
    width: 435px;
    height: 300px;
    margin: 10px 10px 10px 10px;
}

.block-sait {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.block-sait-item {
    width: 440px;
    background-color: rgba(30, 64, 99, 0.349);
    text-align: center;
    margin: 10px;
    padding: 10px;
    padding-bottom: 20px;
    border-radius: 10px;
    text-decoration: none;
    line-height: 35px;
    border: 1px solid rgba(2, 7, 12, 0.349);
    overflow: hidden;
    &:hover {
        background-color: rgba(3, 20, 36, 0.349);
        transition: box-shadow 0.5s, background-color .5s linear;
        box-shadow: 0 0 10px #ffd90091;
    }
}

.tema {
    padding-bottom: 10px;
    color: #ffab73;
}

.block-sait-item img {
    opacity: 0.7;
    &:hover {
        opacity: 1.2;
    }
}

@media (max-width: 1500px) {

.block-sait-item {
    width: 340px;
} 

.atlas {
    width: 340px;
}
.polis {
    width: 340px;
}

.solana {
    width: 340px;
}


}

@media (max-width: 1240px) {

    .block-sait-item {
        width: 300px;
    } 
    
    .atlas {
        width: 300px;
    }
    .polis {
        width: 300px;
    }
    
    .solana {
        width: 300px;
    }
    
    
    }

@media (max-width: 1070px) {

        .block-sait-item {
            width: 250px;
        } 
        
        .atlas {
            width: 250px;
        }
        .polis {
            width: 250px;
        }
        
        .solana {
            width: 250px;
        }

        .nav {
            display: flex;
            justify-content: center;
            align-items: center;
          
            height: 50px;
            width: 100%;
            background-color: #131319;
            font-family: industryMedium;
            font-weight: 500;
            font-size: 10px;
            Letter-spacing: 2px; 
            color: rgba(236, 236, 236, 0.788);
            text-transform: uppercase;
            &:hover {
                background-color: rgba(30, 64, 99, 0.349);
                border-bottom: 1px solid #0505055d;
                border-top: 1px solid #2e2e2e5d;
                transition: background-color 1s linear;
            }
        
        }
        
        .nav-item {
                margin: 0 4px 1px 4px;
                padding: 0;
                border: solid 1px transparent;
                border-radius: 10px;
                text-decoration: none;
                &:hover {
                    border-color: rgba(255, 255, 255, 0.521);
                    background-color: #010102;
                    transition: border 1s linear,background-color 1s linear;
                }
                
            }
        
        }

        
        @media (max-width: 820px) {

           
    
            .nav {
                display: flex;
                justify-content: center;
                align-items: center;
              
                height: 50px;
                width: 100%;
                background-color: #131319;
                font-family: industryMedium;
                font-weight: 300;
                font-size: 8px;
                Letter-spacing: 1px; 
                color: rgba(236, 236, 236, 0.788);
                text-transform: uppercase;
                &:hover {
                    background-color: rgba(30, 64, 99, 0.349);
                    border-bottom: 1px solid #0505055d;
                    border-top: 1px solid #2e2e2e5d;
                    transition: background-color 1s linear;
                }
            
            }
            
            .nav-item {
                    margin: 0 4px 1px 4px;
                    padding: 0;
                    border: solid 1px transparent;
                    border-radius: 10px;
                    text-decoration: none;
                    &:hover {
                        border-color: rgba(255, 255, 255, 0.521);
                        background-color: #010102;
                        transition: border 1s linear,background-color 1s linear;
                    }
                    
                }
            
                .header-login-item-1 {
                    min-width: 70px;
                    
                    }

                    .t {
                        margin-left: 24%;
                        margin-top: 25%;
                        
                    }
                    .atlas {
                        width: 33%;
                        height: 250px;
                        margin: 10px 2px 30px 2px;
                    }
                    
                    .polis {
                        width: 33%;
                        height: 250px;
                        margin: 10px 2px 30px 2px;
                    }
                    
                    .solana {
                        width: 33%;
                        height: 250px;
                        margin: 10px 2px 30px 2px;
                    }

            }



















