/* v1752496578 */
@font-face {
    font-family: Funnel;
    src: url('../fonts/FunnelDisplay-Regular.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: Young;
    src: url('../fonts/YoungSerif-Regular.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Gabarito';
    src: url('../fonts/Gabarito-Medium.woff2') format('woff2');
    font-display: swap;
}
:root {
    --lightbrown: #b53434;
    --darkbrown: #382629;
    --darkgray: #1b1b1b;
    --beige: #be916f;
    --poma: #ffc76c;
    --roz: rgb(255, 126, 87);
    --jasny: #ffe6c8;
}
html, body {
    overflow-x: hidden;
}
#mentor_main_content, #mentor_start_content,#mentor_journal_content{
    flex-direction: column;
    text-align: center;
    align-items: center;
}
#mentor_main_content{
    padding-top: 50px;
}

#mentor_start_content,#mentor_journal_content{
    padding-top: 50px;
    background-color: #ffdda7;
}

#section1, #section2, #section3, #section4, #section5, #section6, #section7, #section8, #section9, #section10, #section11{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#section1, #section7, #section11, #section10{
    background: linear-gradient(120deg, var(--poma), var(--roz));
    position: relative;
}
#section11{
    padding-top: 30px;
}
#section7{
    padding-top: 40px;
    padding-bottom: 20px;
}

.media-spol{
    display: flex;
    flex-direction: row;
    width: 30%;
    justify-content: space-around;
    padding-bottom: 20px;
    padding-top: 20px;
    z-index: 10;
    align-items: center;
    border-radius: 30px;
}
.media1{
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.modal-content{
    border-radius: 26px;
    background: linear-gradient(120deg, var(--poma), var(--roz));
    border: none;
}

.modal-content button:last-child{
    background-color: var(--jasny);
}
#section8{
    background-color: var(--jasny);
}
.cookie-options input{
    border-radius: 50px;
}
#privacyPolicyModal a{
    color: #1b1b1b;
}

#section6{
    background-color: #ffdda7;
}
#fale{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#fale2{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    aspect-ratio: 450 / 500;
    height: 99%;
    width: auto;
}
#okladka, #phone{
    max-width: 450px;
    max-height: 500px;
    aspect-ratio: 450 / 500;
    width: 100%;
    height: 100%;
}

#section5, #section2{
    background-color: var(--jasny);
}
#section2{
    padding-top: 50px;
    padding-bottom: 50px;
}
#section2 h2{
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    background: linear-gradient(120deg, var(--poma), var(--roz));
    padding-top: 10px;
    padding-bottom: 10px;
}
#section3{
    padding-bottom: 30px;
    padding-top: 30px;
    background-color: var(--jasny);
}
#section4{
    padding-bottom: 30px;
    padding-top: 50px;
    background: linear-gradient(120deg, var(--poma), var(--roz));
    position: relative;
}
#content1 p{
    padding-right: 50px;
    margin: 0;
}
#film-div, #about-div1{
    flex-direction: row;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 350px;

}
#film, #about-photo{
    flex: 3;
    margin-bottom: auto;
    margin-top: auto;
    flex-direction: row;
    align-items: center;
    display: flex;

}
#film-text, #about-text{
    flex: 4;
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: left;
    z-index: 2;
}
#main-signup{
    width: 80%;
    margin-bottom: 20px;
    background-color: white;
    color: var(--darkgray);
    border-radius: 50px;
    padding-right: 10px;
    padding-left: 10px;
    transition: all 0.3s;
}
#main-signup:hover{
    background-color: var(--lightbrown);
    color: white;
    box-shadow: none;
}

.tutorform button{
    border-radius: 50px;
    background-color: var(--jasny);
    opacity: 90%;
    color: var(--darkgray);
    padding-top: 18px;
    padding-bottom: 18px;
}
.tutorform input{
    border-radius: 50px;
}
.tutorform button:hover{
    opacity: 100%;
}
.tutorform p{
    text-align: center;
}
.tutor-main{
    margin-top: 80px;
    margin-bottom: 50px;
    border-radius: 30px;
    background-image: linear-gradient(120deg, var(--poma), var(--roz));
    width: 40%;
}
.tutor-main .profilegrid1{
    width: 100%;
}
.duze_tut{
    margin-bottom: 20px;
}
#logo-head{
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: center;
}
#logo-head h3{
    color: var(--darkgray);
    font-weight: bold;
    padding-left: 20px;
}
#ai-logo {
    height: auto;
    aspect-ratio: 10/4;
    width: 25%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}


.code-activation-form {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 30%;
    margin-top: 10px;
    margin-bottom: 30px;
    border: 2px solid var(--roz);
    border-radius: 28px;
}

.code-input {
    padding: 20px 0;
    font-size: 1rem;
    border: none;
    outline: none;
    background-color: white;
    width: 100%;
    border-top-right-radius: 26px;
    border-top-left-radius: 26px;
}
.code-input::placeholder{
    padding-left: 30px;
    padding-right: 10px;
}

.code-activation-form button {
    padding: 15px 15px;
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0;
    width: 100%;
    border-radius: 0 0 26px 26px;
    margin-bottom: 0;
    background-color: var(--poma);
}

.code-activation-form button:hover {
    background-color: var(--roz);
    box-shadow: none;
}

h1,h2,h3{
    color: var(--darkgray);
    margin-top: 5px;
    margin-bottom: 5px;
}
h2, h1{
    text-align: left;
}
h1{
    font-family: Gabarito;
    color: var(--darkgray);
    font-weight: bold;
    letter-spacing: 1px;
}
h2{
    font-family: Gabarito;
    letter-spacing: 1px;
    font-weight: bold;
}
p{
    text-align: left;
}
#center7, #center11{
    font-weight: normal;
}
#center1{
    font-size: 3rem;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    text-align: left;
}
h3{
    font-family: Gabarito;
    letter-spacing: 2px;
}
p, li, label{
    font-family: Afacad;
    color: var(--darkgray);
}
li img{
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

header{
    background-color: var(--darkgray);
}

header nav {
    width: 80%;
    padding-left: 200px;
}

header nav ul li a{
    color: white;
}
header nav ul li a:hover{
    text-decoration: underline;
}

#fttxt a::before{
    left: -15px;
    color: white;
}
#sidebuttons{
    display: flex;
    flex-direction: column;
}

#shop-button{
    background-color: var(--poma);
    color: var(--darkgray);
    border: 2px solid var(--poma);
    padding-top: 15px;
    padding-bottom: 15px;
}
#shop-button:hover{
    box-shadow: none;
    border: 2px solid white;
}
footer {
    background: var(--darkbrown);
    position: relative;
    z-index: 1;
    margin-top: auto;
    margin-bottom: 0;
}
footer li{
    color: white;
}
#fttxt a{
    color: white;
    transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out;
}
#fttxt h4{
    color: white;
}
#rights{
    padding-bottom: 20px;
    color: white;
}
#pakiety2{
    cursor: pointer;
}
.grupa{
    margin-top: 20px;
    width:95%;
    padding-left: 1%;
    padding-right: 1%;
    background-color:var(--beige);
    z-index: 3;
}
#kolumna{
    display: flex;
    flex-direction: row;
    flex: 1;
}
.tutors-container{
    display: flex;
    flex-direction: row;
    overflow: auto;
    flex-wrap: wrap;
    width: 70%;
    justify-content: space-around;
}

.tutorzy{
    width: 95%;
}
.grupa p{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--darkgray);
    padding-bottom: 10px;
    padding-top: 5px;
}
.grupa h3{
    margin-top: 20px;
    text-align: center;
}

#about h1, #about h2{
    text-align: center;
    margin-top: 30px;
}
#about p{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    margin-top: 30px;
}
#about .tutor-list{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
#about .tutor-list p{
    color: var(--darkgray);
    width: auto;
    margin-top: 0;
    font-size: 1rem;
}

#ai1 {
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}
.lesson-count {
    font-weight: bold;
    color: var(--darkgray);
}
body{
    font-family: Afacad;
    background-color: var(--jasny);
    line-height: 1.6;
    overflow-x: hidden;

}
.signup-form, .login-form {
    border-radius: 26px;
    background-image: linear-gradient(120deg, #ffc76c, rgb(255, 126, 87)) !important;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 0;
}
.profilegrid1 {
    background-color: transparent !important;
    border-radius: 0 !important;
}
.profile-photo{
    background-color: rgba(255, 230, 200, 0.56);
    border-radius: 200px;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 20px;
}
.signup-form input, .login-form input{
    border-radius: 50px;
}
.login-form a, .signup-form a, .account-alternative a{
    color: #007bff;
}
#privacyPolicyModal h2, #privacyPolicyModal p{
    color: var(--darkgray);
    text-align: center;
}
#privacyPolicyModal button{
    border-radius: 20px;
    opacity: 90%;
    color: var(--darkgray);
}
#privacyPolicyModal button:hover{
    opacity: 100%;
}
#privacyPolicyModal #acceptEssential{
    background-color: var(--poma);

}
#privacyPolicyModal #acceptAll{
    background-color: var(--lightbrown);
}
#aismain{
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    flex-direction: row;
    margin: 0;
    padding-top: 90px;
    justify-content: space-between;
    flex: 1;
}
.middle-content {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    overflow-y: auto;
}
.subject-selection {
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
}
.subject-selection ul{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 20px;
    width: auto;
    padding-inline-start: 0;
}
.subject-selection ul li{
    text-decoration: none;
    list-style: none;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: bolder;
    color: white;
    opacity: 70%;
    transition: opacity 0.3s ease-in-out;
    padding: 10px 15px;
    border: 1px solid white;
    border-radius: 50px;
    background-color: #ff7e57;
}
.subject-selection ul li:hover{
    opacity: 100%;
}
.subject-selection p {
    margin-top: 50px;
}
.menu .active {
    font-weight: bold;
}
.btn {
    width: 100%;
    cursor: pointer;
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 20px;
    opacity: 100%;
}
.thank-you ul{
    padding-inline-start: 0;
    width: 100%;
}
.thank-you .btn{
    width: 100%;
    border-radius: 50px;
}
.thank-you h3{
    margin-bottom: 20px;
}

a{
    text-decoration: none;
    color: var(--poma);
}
.primary, .check-voice-btn:hover {
    background: var(--poma);
    color: var(--darkgray);
}
.primary:hover, .check-voice-btn{
    color: var(--darkgray);
    background-color: var(--roz);
}
.check-voice-btn, .start-lesson-btn{
    min-width: 79px;
}
.check-voice-btn, .start-lesson-btn{
    height: 85px;
    border-radius: 20px;
}
.start-lesson-btn{
    width: 100%;
    cursor: pointer;
    display: flex;
    padding: 0;
    font-size: 1.3rem;
    font-weight: bold;
    align-items: center;
    flex-direction: row;
    transition: all 0.2s ease-in-out;
    text-align: center;
    justify-content: center;
}
.continue-lesson-btn{
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    color: var(--darkgray);
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 26px;
}
.continue-lesson-btn:hover{
    background-color: var(--roz);
}
.main-content {
    width:100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    overflow-y: auto; /* Makes only this section scroll */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    padding-left: 8%;
    padding-top: 30px;
    padding-bottom: 100px;
    position: relative;
}
.content-pakiety {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 70%;
    padding-top: 30px;
    padding-bottom: 50px;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
}
.login-main{
    padding-top: 20px;
}
.login-main, .sign-main, .reset-password-request{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.reset-password-request{
    width: 80%;
}
.reset-password-request p{
    margin-bottom: 30px;
}
.info-main{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
}
.login-main p, .sign-main p{
    text-align: center;
}
.account-alternative p{
    font-size: 1.5rem;
}
#login-container{
    margin-top: 50px;
}
#login-container2{
    margin-top: 80px;
}
.login-btn, #request{
    background-color: #ffe6c8;
    color: #1b1b1b;
    border-radius: 20px;
    width: 90% !important;
    margin-left: auto;
    margin-right: auto;
}
.login-btn:hover{
    background: var(--lightbrown);
    color: white;
}
#request{
    margin-top: 30px;
}
.gsi-material-button {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.gsi-material-button-contents{
    color: var(--darkgray);
}
.row {
    display: flex;
    justify-content: center; /* Center elements horizontally */
    width: 100%;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 20px;
}
#list-tutors{
    width: 100%;
    flex-direction: row;
    margin-bottom: 50px;
    margin-top: 30px;
}
#tutorzy{
    display: flex;
    flex: 0 0 18%;
}
#tutorzy .row{
    flex-direction: row;
}

#content-start, #content1{
    flex-direction: column;
    width: 70%;
    align-items: center;
}
#content-start .row{
    height: auto;
    display: flex;
    align-items: center; /* All children (cards) will be the same height */
    flex-direction: column;
}
.package-columns {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    column-gap: 5px;
}
.column {
    width: 23%; /* Obie kolumny mają równe szerokości */
    flex-direction: column;
}
.column-start{
    flex-direction: column;
    align-items: center;
}
.package-pricing{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}
.package-selection{
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    text-align: center;
}
.package-selection label{
    margin-right: 10px;
    width: 50%;
}
.package-selection input{
    width: 50%;
    padding: 8px 0;
    text-align: center;
    font-size: 16px;
    border: 2px solid var(--poma);
    background: white;
    font-family: Afacad;

}
.package-info{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.package-pricing input {
    width: 100%;
    margin-top: 20px;
    background-color: transparent;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bolder;
}
.package-columns label{
    font-weight: bold;
}
.card {
    overflow: hidden;
    color: white;
    border-top: none;
    transition: background-color 0.4s ease-in-out;
}

.kursimg{
    position: relative;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 90%;
    aspect-ratio: 1 / 1;
    height: auto;
    flex: auto;
    margin-bottom: 10px;
}
#inset{
    box-shadow: inset 0 0 0 2px var(--roz);
}
.tutor-img{
    flex: 0 0 40%;
    aspect-ratio: 1/1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--poma);
    border-radius: 20px;
}
.card-header h3, .start-card h3 {
    color: var(--darkgray); /* White text for visibility */
    font-size: 20px;
    font-weight: bolder;
    white-space: nowrap; /* Prevents text wrapping */
}
.card-header h3{
    padding-top: 10px;
    padding-bottom: 10px;
}
.card-header{
    margin-top: 0;
    border-top-right-radius: 26px;
    border-top-left-radius: 26px;
}

#przedmiot{
    text-align: center;
    border-bottom: 2px solid var(--roz);
    background-image: linear-gradient(120deg, var(--poma), var(--roz));
}
.start-card h3{
    padding: 0;
}
.card-body{
    display: flex;
    flex-direction: column;
    background-color: transparent;
    padding: 0;
    align-items: center;
}
.start-card{
    display: flex;
    flex-direction: column;
    background-color: white;
    height: auto;
    overflow: hidden;
    padding: 0.5rem;
    box-shadow: inset 0 0 0 2px white;
    border-radius: 26px;
    position: relative;
}
.content-container{
    display: flex;
    flex: 7;
    flex-direction: column;
    justify-content: left;
    height: auto;
    color: var(--darkgray);
    background-color: var(--jasny);
    width: 100%;
    border-radius: 26px;
}
form{
    background-color: transparent;
}
.column form{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
}
.content-container p{
    color: var(--darkgray);
    font-weight: normal;
    margin: 0;
}

#center2{
    font-size: 1.5rem;
    margin-top: 10px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
}
#sklep {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}
#sklep div {
    flex: 1 1 calc(33.333% - 34px); /* 3 per row with 50px gap */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.div-p{
    width: 100%;
    box-shadow: inset 0 0 0 2px var(--roz);
    border-radius: 0 0 26px 26px;
    background-color: var(--jasny);
}
.pwhite{
    flex: 1;
    text-align: left;
    margin: 0;
    padding: 15px 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    width: 90%;
}
#sklep div h3{
    margin: 0;
    padding: 15px 0;
    background: linear-gradient(120deg, var(--poma), var(--roz));
    border-top-right-radius: 26px;
    border-top-left-radius: 26px;
    width: 100%;
    text-align: center;
}
.sklep-img{
    width: 80%;
    aspect-ratio: 1 / 1;
    height: auto;
}
#content-statystyki p{
    justify-content: space-between;
}
#content-statystyki h3, #content-statystyki p, #dziennikcode{
    width: 30%;
    display: flex;
    margin-right: auto;
    margin-left: auto;
}

.tutor-info{
    flex: 1;  /* Takes up remaining space */
    overflow-y: auto;  /* If text is too long, a scrollbar appears */
}

.info-start p{
    height: auto;
    padding-right: 10px;
    padding-bottom: 0;
}
.tutor-info::-webkit-scrollbar {
    width: 5px;
}
.tutor-info::-webkit-scrollbar-track {
    background-color: var(--poma);
}
.tutor-info::-webkit-scrollbar-thumb {
    background-color: var(--text-color);
    border-radius: 10px;
}
.info-start p {
    scrollbar-width: thin;
    scrollbar-color: var(--text-color) var(--poma);
}
.tutor-info button{
    width: 49%;
}
.tutor-info{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tutor-info p{
    padding-bottom: 10px;
    color: var(--darkgray);
    word-wrap: break-word;
    margin-top: 0;
    line-height: 1.5em;                    /* wysokość jednej linii */
    height: 150px;           /* 8 linii */
    width: 85%;
}
.tutor-list h3{
    margin-top: 10px;
    border-bottom: 2px solid var(--roz);
    padding-bottom: 10px;
}
#content-start .tutor-list{
    width: 100%;
}
#tutorzy_container .tutor-list{
    flex-direction: row;
    flex: 1;
}
#tutorzy_container .tutor-list .row{
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}
.tutor-list{
    margin-top: 20px;
    flex: 0 0 19%;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5px;
    padding-top: 10px;
}
#tutorzy{
    padding: 5px;
}
.tutor-list2, #tutorzy{
    border-radius: 30px;
    background: linear-gradient(80deg, rgba(255, 199, 108, 0.8), rgba(255, 126, 87, 0.8));
}
.ai-button {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 20px;
    background-color: var(--poma);
    transition: all 0.3s ease-in-out;
}
.ai-button:hover{
    background-color: var(--roz);
}
.buy-section{
    width: 90%;
}

.loading {
    opacity: 0.6;
    min-width: 76px;
}
.translate-button {
    align-self: start; /* or center, depending on your design */
}
#center4{
    text-align: center;
    margin-bottom: 30px;
}
#content-journal h1{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 0;
}
#journal-wrapper{
    width: 60%;
    margin-bottom: 30px;
}
#journal-tbody{
    overflow-y: scroll;
    max-height: 700px;
}
#journal-table {
    width: 100%;
    border-collapse: collapse;
}

#journal-table thead,
#journal-table tbody {
    display: block;
}

#journal-tbody {
    max-height: 700px;
    overflow-y: auto;
}
#journal-wrapper th{
    background-color: var(--poma);
    color: var(--darkgray);
}
table td{
    border-bottom: 1px solid white;
}
table th{
    border-bottom: none;
}
#journal-table th,
#journal-table td {
    padding: 0.5rem;
    text-align: left;
    width: 33.3%; /* Dopasuj ręcznie do layoutu */
    box-sizing: border-box;
}
.small{
    background-color: #9a3f4b;
}
#center3{
    text-align: center;
    width: 90%;
    border: none;
}
#center9{
    text-align: center;
    width: 100%;
    font-weight: normal;
}

#center6{
    padding-left: 20px;
    padding-right: 20px;
}

.thank-you{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

@media (max-width: 1700px){
}
@media (max-width: 1550px){
}
@media (max-width: 1496px){
    .column {
        width:22%;
    }
}
@media (max-width: 1450px) {
    .tutor-list {
        flex: 0 0 24%;
        margin: 10px 0;
    }
    .media-spol{
        width: 35%;
    }
}
@media (max-width: 1350px) {
    #ai-logo{
        margin-left: 0;
    }
    .column {
        width:30%;
    }
    #tutorzy{
        flex: 0 0 23%;
    }
}
@media (max-width: 1300px){
    .package-columns{
        column-gap: 10px;
    }
    .tutor-main{
        width: 60%;
    }
}
@media (max-width: 1200px){
    #aismain{
        flex: 1;
    }
    #sklep div {
        flex: 1 1 calc(50% - 25px); /* 2 per row with 50px gap */
    }
    #prezent{
        width: 50%;
    }
    #kolumna{
        display: flex;
        flex-direction: column;
    }
    #ai-logo{
        width: 30%;
    }
    .main-content{
        margin-bottom: 20px;
    }

    .ai-school-button-container ul{
        width: 60%;
    }
    #center6, #ai1, #center4{
        font-size: 2rem;
    }
    #center6{
        z-index: 2;
    }
    #center7{
        font-size: 1.5rem;
        z-index: 3;
    }
    h3{
        font-size: 1.2rem;
    }
    #center2{
        font-size: 1.2rem;
    }
    #center1{
        font-size: 2.35rem;
    }
    #film-div, #about-div1{
        width: 100%;
    }
    .media-spol{
        width: 40%;
    }
}
@media (max-width: 1150px) {
  .tutor-list {
    flex: 0 0 32%;
  }
}
@media (max-width: 1100px){
}
@media (max-width: 1024px) {
    .column{
        width: 45%;
    }

    li, p{
        font-size: 1rem;
    }
    header nav ul li a{
        font-size: 1.1rem;
    }
    .ai-school-button-container ul{
        width: 65%;
    }
    #ai-logo{
        margin-left: 0;
        width: 35%;
    }
    #dziennikbtn1, #content-statystyki h3, #content-statystyki p, #dziennikcode {
        width: 50%;
    }
    .media-spol{
        width: 50%;
    }
}
@media (max-width: 1000px){
    th{
        display: table-cell;
    }
}
@media (max-width: 950px){
    .right-menu{
        margin-right: 20px;
        margin-left: auto;
    }
    #film-div, #about-div1{
        flex-direction: column;
    }
    #film{
        flex: 1;
    }
    #film-text{
        flex: 1;
        align-items: center;
    }
    #about-div1 h2{
        text-align: center;
        font-size: 2.5rem;
    }
    #center1{
        text-align: center;
        font-size: 3rem;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    #section3 p{
        padding-right: 0;
    }
    #about-text{
        padding-bottom: 30px;
    }
    #ai1{
        padding-right: 20px;
        padding-left: 20px;
    }
}
@media (max-width: 900px){
    .tutor-list {
        flex: 0 0 48%;
    }
}
@media (max-width: 895px){
    #tutorzy{
        flex: 0 0 22%;
    }
    #tutorzy_container .tutor-list .row{
        gap: 10px;
    }
}
@media (max-width: 865px){
}
@media (max-width: 850px){
    .main-content{
        padding-top: 20px;
    }
    .right{
        align-items: flex-start;
    }
    #aismain{
        padding-top: 100px;
    }

   .subject-selection{
       flex-direction: column;
   }
   .ai-school-button-container ul{
        width: 80%;
    }
   .code-activation-form {
        width: 50%;
   }
   .media-spol{
        width: 60%;
    }

}