

body{
    font-family: 'Poppins', sans-serif;
    min-height: 100vh; 
    background:var( --pozadi_2);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center; 
    display: flex; 
    flex-direction: column;
  }
  main {
  
    display: flex;
    flex-direction:row;
    justify-content: space-evenly;
    padding-top: 78px;
    flex: 1;
    }
    .mid{
    width: 40%;
    padding:10px 4% 0 4%;
   
    }
    .right{
    width: 30%;
    }
    .left{
    width: 30%;
    display: flex;
    flex-direction:column;
    align-items:center;
    background-image: var(--pozadi_Lpng);
    background-size: 700px;
    background-repeat: no-repeat;
    background-attachment: fixed;

  }
.main_heading h1 {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
    color:var(--nadpis_h1); 
    font-size: 30px;
}
.filter {
    text-align: center;
    margin-bottom: 10px; 
    padding: 10px 0 10px 0; 
    
}


.filter_input{
    width: 300px;
    padding: 10px;
    outline: none;
    font-size: 20px;
    font-family: Verdana,Tahoma, sans-serif;
    border: 1px solid black;
    border-radius: 5px;
   text-align: center;
}
.filter_input:focus{
    background-color: var(--tr_thhover);
}
.all_students{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 30px;
    align-items: center;
         
}

.one_student{
    width: 250px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--pozadi_box);
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0px 0px 10px hsl(220, 20%, 26%);
    text-decoration: none;
    
}

.one_student:hover{
    transform: scale(1.05);
}

a.one_student h2{
    color: var(--nadpis_a);
    font-size: 17px;
      
}

.one_student a {
    color: var(--nadpis_a);
    font-size: 15px;
    
}
.roky{
    text-align: center;
    border: 2px solid var(--nadpis_h2);
    border-radius: 3px;
    width: 50%;
    margin: 20px auto 20px auto;
}
.roky a{
    text-decoration: none;
    color: var(--nadpis_h2);
    font-size: 20px;
}

@media(max-width: 1410px){
  
    .right{
        display: none;
    }
    
    .mid{
      width: 70%;
    }
  }
  
  @media(max-width: 1010px){
    
    .left{
        display: none;
    }
    
    .mid{
        align-items: center;
        width: auto;
    }
  }
@media (max-width: 500px){
    .main_heading h1 { 
        margin-bottom: 15px;
        padding-top: 15px;
        font-size: 25px;
    }
    .filter {
        
        margin-bottom: 20px;  
    }
    .filter_input{
        width: 200px;
        font-size: 15px;
    }
    .all_students{
        gap: 20px;
    }
    .one_student{
        width: 250px;
        height: 70px;  
    }
    .one_student h2{
        font-size: 15px;
    }
    .one_student h3{
        font-size: 11px;
    }
    
    
}
