@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

*{
    padding: 0;
    margin: 0;
}



body{
    font-family: 'Bangers', cursive;
    background-color: rgb(190,205,190); 
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease forwards;
    /* background: radial-gradient(circle,rgb(190,205,190), rgb(150,150,150)); */
}

.navBar{
    display: flex;
    align-items: center;
    background-color: rgb(100, 100, 100);
}
.navList{
    display: flex;
}
.navList a{
    text-decoration: none;
    display: block;
    padding: 1em;
    color: aliceblue;
}

.navBar img{
    height: 100%;
    max-height: 45px;

}

.navList a:hover{
    background-color: rgb(156, 156, 156);
}

.navBtn{
    display: none;
}

@media(max-width: 1500px){
    .navBtn{
        display: block;
        font-size: 2em;
        padding-inline: 10px;
        padding-bottom: 3px;
        border: none;
        background-color: rgb(100, 100, 100);
        color: aliceblue;
        cursor: pointer;
    }
    .navBtn:hover{
        background-color: rgb(156, 156, 156);
    }

    .navList{
        display: none;
    }

    .drop:hover .navList{
        display: block;
        position: absolute;
        right: 1px;
        background-color: rgb(100, 100, 100);
    }
    .navBar{
        justify-content: space-between;
    }
}

/* распологаем все панели красиво */

.mainCont{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(1);
    /* background-color: rgb(142, 196, 196); */
}

.leftBar{
    grid-column: 1/3;
}

.mainInfo{
    grid-column: 3/13;
}

.mainInfo a{
    text-decoration: none;
}

.leftBar ,
.mainInfo p{
    color: rgb(255, 255, 255);
    margin: 1em;
    padding: 1em;
    border-style: solid;
    border-width: 0.5px;
    border-color: rgb(0, 0, 0);
}

.leftBar{
    border-color: black ;
    height: 40%;
}



@media(max-width: 1450px){
    .mainCont{
        grid-template-rows: repeat(2);
    }
    .leftBar {
        grid-column: 1/13;
        grid-row: 1/1;
    }

    .mainInfo {
        grid-column: 1/13;
        grid-row: 2/2;
    }
    
}


@media(max-width: 1000px){
    .mainContainer{
        grid-template-rows: repeat(3);
    }
    .card{
        margin-inline: 0;
    }
}



/* Анимация появления */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
