/*English Grammar Guide, Zaprogramowana na potrzebę projektu stypendialnego przez ucznia SLO w Żarach Szymona Zawiszę - Jest on właścicielem i twórcą tego kodu oraz domeny i strony internetowej, englishgg.szymonzawisza.pl*/
/*English Grammar Guide, Programmed for the needs of a scholarship project by a student of SLO in Żary, Szymon Zawisza - He is the owner and creator of this code and the domain and the website, englishgg.szymonzawisza.pl*/

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #333;
    color: white;
    padding: 2px 20px;        
    text-align: center;
    font-size: 13px;
    line-height: 3px;     
    z-index: 1000;  
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    overflow: hidden;
    white-space: nowrap;
}

body {
    margin-top: 70px;
    margin-left: 270px;
}



.sidebar {
    position: fixed;
    top: 45px; 
    left: 0;
    width: 250px; 
    height: calc(100% - 65px);
    background-color: #f4f4f4;
    border-right: 1px solid #ccc;
    padding: 15px;  
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 999;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 12px; 
}

.sidebar a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    background-color: #eaeaea;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #d1d1d1;
}




.main-content {
    padding: 30px;     
    background-color: #f9f9f9; 
    color: #333;        
    font-family: Arial, sans-serif; 
    box-sizing: border-box;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px; 
    font-weight: 600;
    border-bottom: 2px solid #ddd; 
    padding-bottom: 5px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555; 
}

ul {
    margin-left: 20px; 
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 10px;
}


.section-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 20px;
    margin-bottom: 30px; 
    transition: box-shadow 0.3s;
}

.section-box:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}


button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #555;
}

.different {
    color: white;
}

html {
  scroll-behavior: smooth;
}

#extras {
    border-bottom: 0px solid;
    border-top: 2px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
    text-align: center;
}


.answers {
    cursor: pointer;
    color: #555;
    transition: color 0.3s; 
    justify-content: baseline;
    background-color: #555;
    padding: 4px;
    display: inline;
    float: right;
}
