@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap');

:root {
    --main-color: #8e44ad;
    --red: #e74c3c;
    --oragen: #f39c12;
    --white: #fff;
    --black: #2c3e50;
    --light-color: #888;
    --light-bg: #eee;
    --light-black: #434242;
    --border: .1rem solid rgba(0, 0, 0, .2);
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

*::selection {
    background-color: var(--main-color);
    color: #fff;
}

*::-webkit-scrollbar {
    height: .5rem;
    width: 1rem;
}

*::-webkit-scrollbar-track {
    background-color: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background-color: var(--light-bg);
    padding-left: 30rem;
}

body.dark {
    --white: #222;
    --black: #fff;
    --light-color: #aaa;
    --light-bg: #333;
    --light-black: #fff;
    --border: .1rem solid rgba(255, 255, 255, .2);
}

body.active {
    padding-left: 0;
}

section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

li {
    list-style: none;
}

.my-swal-popup {
    background-color: var(--white);
    /* sweet alert Arka plan rengi */
}

.btn,
.option-btn,
.delete-btn,
.inline-btn,
.inline-option-btn,
.inline-delete-btn {
    border-radius: .5rem;
    padding: 1rem 3rem;
    font-size: 1.8rem;
    color: #fff;
    margin-top: 1rem;
    text-transform: capitalize;
    cursor: pointer;
    text-align: center;
}

.btn,
.option-btn,
.delete-btn {
    display: block;
    width: 100%;
}

.inline-btn,
.inline-option-btn,
.inline-delete-btn {
    display: inline-block;
}

.btn,
.inline-btn {
    background-color: var(--main-color);
}

.option-btn,
.inline-option-btn {
    background-color: var(--oragen);
}

.delete-btn,
.inline-delete-btn {
    background-color: var(--red);
}

.btn:hover,
.option-btn:hover,
.delete-btn:hover,
.inline-btn:hover,
.inline-option-btn:hover,
.inline-delete-btn:hover {
    background-color: var(--black);
    color: var(--white);
}

.flex-btn {
    display: flex;
    gap: 1rem;
}

.message {
    position: sticky;
    top: 0;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.message.form {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    top: 2rem;
    border-radius: .5rem;
}

.message span {
    font-size: 2rem;
    color: var(--black);
}

.message i {
    font-size: 2.5rem;
    color: var(--red);
    cursor: pointer;
    transition: .2s linear;
}

.message i:hover {
    transform: rotate(90deg);
}

.empty {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    font-size: 2rem;
    color: var(--red);
}

/*** Withdraw ***/
.withdraw_container {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.withdraw_card {
    background-color: #1e1e1e;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.withdraw_card img {
    width: 50px;
    height: 50px;
}

.withdraw_card h3 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.withdraw_card p {
    margin: 0;
    font-size: 16px;
}

.withdraw_card.selected {
    border-color: #0bf894;
}

.collapse {
    display: none;
    transition: all 0.3s ease-in-out;
}

.collapse.show {
    display: block;
}

.heading {
    padding-bottom: 1.8rem;
    border-bottom: var(--border);
    font-size: 2.5rem;
    color: var(--black);
    text-transform: capitalize;
    margin-bottom: 3rem;
}

.header {
    background-color: var(--white);
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .flex {
    padding: 1.5rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .flex .logo {
    font-size: 2.5rem;
    color: var(--black);
    font-weight: bolder;
}

.header .flex .search-form {
    width: 50rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background-color: var(--light-bg);
}

.header .flex .search-form input {
    width: 100%;
    background: none;
    font-size: 2rem;
    color: var(--black);
}

.header .flex .search-form button {
    font-size: 2rem;
    color: var(--black);
    cursor: pointer;
    background: none;
}

.header .flex .search-form button:hover {
    color: var(--main-color);
}

.header .flex .icons div {
    font-size: 2rem;
    color: var(--black);
    border-radius: .5rem;
    height: 4.5rem;
    cursor: pointer;
    width: 4.5rem;
    line-height: 4.4rem;
    background-color: var(--light-bg);
    text-align: center;
    margin-left: .5rem;
}

.header .flex .icons div:hover {
    background-color: var(--black);
    color: var(--white);
}

#search-btn {
    display: none;
}

.header .flex .profile {
    position: absolute;
    top: 120%;
    right: 2rem;
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    text-align: center;
    width: 35rem;
    transform: scale(0);
    transform-origin: top right;
}

.header .flex .profile.active {
    transform: scale(1);
    transition: .2s linear;
}

.header .flex .profile img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .5rem;
}

.header .flex .profile h3 {
    font-size: 2rem;
    color: var(--black);
}

.header .flex .profile span {
    color: var(--light-color);
    font-size: 1.6rem;
}

.side-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 30rem;
    background-color: var(--white);
    border-right: var(--border);
    z-index: 1200;
}

.side-bar .close-side-bar {
    text-align: right;
    padding: 2rem;
    padding-bottom: 0;
    display: none;
}

.side-bar .close-side-bar i {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.4rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    background-color: var(--red);
    text-align: center;
    border-radius: .5rem;
}

.side-bar .close-side-bar i:hover {
    background-color: var(--black);
}

.side-bar .profile {
    padding: 3rem 2rem;
    text-align: center;
}

.side-bar .profile img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .5rem;
}

.side-bar .profile h3 {
    font-size: 2rem;
    color: var(--black);
}

.side-bar .profile span {
    color: var(--light-color);
    font-size: 1.6rem;
}

.side-bar .navbar a {
    display: block;
    padding: 2rem;
    margin: .5rem 0;
    font-size: 1.8rem;
}

.side-bar .navbar a i {
    color: var(--main-color);
    margin-right: 1.5rem;
    transition: .2s linear;
}

.side-bar .navbar a span {
    color: var(--light-color);
}

.side-bar .navbar a:hover {
    background-color: var(--light-bg);
}

.side-bar .navbar a:hover i {
    margin-right: 2.5rem;
}

.side-bar.active {
    left: -31rem;
}

.quick-select .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27.5rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
}

.quick-select .box-container .box {
    border-radius: .5rem;
    background-color: var(--white);
    padding: 2rem;
}

.quick-select .box-container .box .title {
    font-size: 2rem;
    color: var(--black);
}

.quick-select .box-container .box p {
    line-height: 1.5;
    padding-top: 1.5rem;
    color: var(--light-color);
    font-size: 1.8rem;
}

.quick-select .box-container .box p span {
    color: var(--main-color);
}

.quick-select .box-container .tutor {
    text-align: center;
}

.quick-select .box-container .tutor p {
    padding-bottom: 1rem;
}

.quick-select .box-container .box .flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
}

.quick-select .box-container .box .flex a {
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    font-size: 1.6rem;
    background-color: var(--light-bg);
}

.quick-select .box-container .box .flex a i {
    margin-right: 1rem;
    color: var(--black);
}

.quick-select .box-container .box .flex a span {
    color: var(--light-color);
}

.quick-select .box-container .box .flex a:hover {
    background-color: var(--black);
}

.quick-select .box-container .box .flex a:hover i {
    color: var(--white);
}

.quick-select .box-container .box .flex a:hover span {
    color: var(--white);
}

.top-players {
    display: flex;
    align-items: center;
    justify-content: start;
}

.courses .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
}

.courses .box-container .box {
    border-radius: .5rem;
    background-color: var(--white);
    padding: 2rem;
}

.courses .box-container .box .tutor {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.courses .box-container .box .tutor img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .5rem;
}

.courses .box-container .box .tutor h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: .2rem;
}

.courses .box-container .box .tutor span {
    font-size: 1.5rem;
    color: var(--light-color);
}

.courses .box-container .box .thumb {
    width: 100%;
    border-radius: .5rem;
    height: 20rem;
    object-fit: cover;
    margin-bottom: .3rem;
}

.courses .box-container .box .title {
    font-size: 2rem;
    color: var(--black);
    margin-top: .5rem;
    padding: .5rem 0;
}

.courses .more-btn {
    margin-top: 2rem;
    text-align: center;
}

.about .row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about .row .image {
    flex: 1 1 40rem;
}

.about .row .image img {
    width: 100%;
    height: 50rem;
}

.about .row .content {
    flex: 1 1 40rem;
    text-align: center;
}

.about .row .content h3 {
    font-size: 2.5rem;
    color: var(--black);
}

.about .row .content p {
    line-height: 2;
    font-size: 1.8rem;
    color: var(--light-color);
    padding: 1rem 0;
}

.about .box-container {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about .box-container .box {
    flex: 1 1 25rem;
    display: flex;
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    align-items: center;
    gap: 2rem;
}

.about .box-container .box i {
    font-size: 3rem;
    color: var(--black);
}

.about .box-container .box h3 {
    color: var(--main-color);
    font-size: 2.5rem;
    margin-bottom: .2rem;
}

.about .box-container .box span {
    font-size: 1.6rem;
    color: var(--light-color);
}

.reviews .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
}

.reviews .box-container .box {
    border-radius: .5rem;
    padding: 2rem;
    background-color: var(--white);
    padding-top: 1.5rem;
}

.reviews .box-container .box p {
    line-height: 2;
    font-size: 1.7rem;
    color: var(--light-color);
}

.reviews .box-container .box .user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.reviews .box-container .box .user img {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.reviews .box-container .box .user h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: .2rem;
}

.reviews .box-container .box .user .stars i {
    color: var(--main-color);
    font-size: 1.5rem;
}

.playlist .row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: var(--white);
}

.playlist .row .col {
    flex: 1 1 40rem;
}

.playlist .row .col .save-list button {
    font-size: 2rem;
    border-radius: .5rem;
    background-color: var(--light-bg);
    padding: 1.2rem 2.5rem;
    cursor: pointer;
    margin-bottom: 2rem;
}

.playlist .row .col .save-list button i {
    color: var(--black);
    margin-right: 1rem;
}

.playlist .row .col .save-list button span {
    color: var(--light-color);
}

.playlist .row .col .save-list button:hover {
    background-color: var(--black);
}

.playlist .row .col .save-list button:hover i {
    color: var(--white);
}

.playlist .row .col .save-list button:hover span {
    color: var(--white);
}

.playlist .row .col .thumb {
    position: relative;
    height: 30rem;
}

.playlist .row .col .thumb span {
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    font-size: 2rem;
    color: #fff;
    background-color: rgba(0, 0, 0, .3);
}

.playlist .row .col .thumb img {
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    object-fit: cover;
}

.playlist .row .col .tutor {
    display: flex;
    align-items: center;
    gap: 1.7rem;
}

.playlist .row .col .tutor img {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.playlist .row .col .tutor h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: .2rem;
}

.playlist .row .col .tutor span {
    color: var(--main-color);
    font-size: 1.5rem;
}

.playlist .row .col .details {
    padding-top: 1.5rem;
}

.playlist .row .col .details h3 {
    font-size: 2rem;
    color: var(--black);
}

.playlist .row .col .details p {
    padding: 1rem 0;
    line-height: 2;
    color: var(--light-color);
    font-size: 1.7rem;
}

.playlist .row .col .details .date {
    font-size: 1.7rem;
    padding-top: .5rem;
}

.playlist .row .col .details .date i {
    color: var(--main-color);
    margin-right: 1rem;
}

.playlist .row .col .details .date span {
    color: var(--light-color);
}

.videos-container .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
}

.videos-container .box-container .box {
    position: relative;
    border-radius: .5rem;
    padding: 2rem;
    background-color: var(--white);
}

.videos-container .box-container .box img {
    height: 20rem;
    width: 100%;
    border-radius: .5rem;
    object-fit: cover;
}

.videos-container .box-container .box i {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    height: 20rem;
    background-color: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    border-radius: .5rem;
    display: none;
}

.videos-container .box-container .box:hover i {
    display: flex;
}

.videos-container .box-container .box h3 {
    font-size: 2rem;
    color: var(--black);
    margin-top: 1rem;
}

.videos-container .box-container .box:hover h3 {
    color: var(--main-color);
}

.watch-video .video-details {
    background-color: var(--white);
    padding: 2rem;
    border-radius: .5rem;
}

.watch-video .video-details .video {
    width: 100%;
    border-radius: .5rem;
    background: #000;
    height: 50rem;
}

.watch-video .video-details .title {
    font-size: 2rem;
    color: var(--black);
    padding: 1.5rem 0;
}

.watch-video .video-details .info {
    display: flex;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: var(--border);
}

.watch-video .video-details .info p {
    font-size: 1.6rem;
}

.watch-video .video-details .info p i {
    margin-right: 1rem;
    color: var(--main-color);
}

.watch-video .video-details .info p span {
    color: var(--light-color);
}

.watch-video .video-details .tutor {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.watch-video .video-details .tutor img {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.watch-video .video-details .tutor h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: .2rem;
}

.watch-video .video-details .tutor span {
    color: var(--light-color);
    font-size: 1.5rem;
}

.watch-video .video-details .flex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.watch-video .video-details .flex a {
    margin-top: 0;
}

.watch-video .video-details .flex button {
    background-color: var(--light-bg);
    cursor: pointer;
    padding: 1rem 2.5rem;
    font-size: 2rem;
    border-radius: .5rem;
}

.watch-video .video-details .flex button i {
    color: var(--black);
    margin-right: 1rem;
}

.watch-video .video-details .flex button span {
    color: var(--light-color);
}

.watch-video .video-details .flex button:hover {
    background-color: var(--black);
}

.watch-video .video-details .flex button:hover i {
    color: var(--white);
}

.watch-video .video-details .flex button:hover span {
    color: var(--white);
}

.watch-video .video-details .description {
    padding-top: 2rem;
}

.watch-video .video-details .description p {
    line-height: 1.5;
    font-size: 1.7rem;
    color: var(--light-color);
    white-space: pre-line;
}

.comments .add-comment {
    background-color: var(--white);
    border-radius: .5rem;
    margin-bottom: 3rem;
    padding: 2rem;
}

.comments .add-comment textarea {
    border-radius: .5rem;
    padding: 1.4rem;
    width: 100%;
    height: 20rem;
    background-color: var(--light-bg);
    resize: none;
    font-size: 1.8rem;
    color: var(--black);
}

.comments .show-comments {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    display: grid;
    gap: 2.5rem;
}

.comments .show-comments .user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comments .show-comments .user img {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.comments .show-comments .user h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: .2rem;
}

.comments .show-comments .user span {
    color: var(--light-color);
    font-size: 1.5rem;
}

.comments .show-comments .content {
    margin-bottom: 2rem;
}

.comments .show-comments .content p {
    font-size: 2rem;
    color: var(--black);
    padding: 0 1rem;
    display: inline-block;
}

.comments .show-comments .content span {
    font-size: 1.7rem;
    color: var(--light-color);
}

.comments .show-comments .content a {
    color: var(--main-color);
    font-size: 1.8rem;
}

.comments .show-comments .content a:hover {
    text-decoration: underline;
}

.comments .show-comments .text {
    border-radius: .5rem;
    background-color: var(--light-bg);
    padding: 1rem 1.5rem;
    color: var(--black);
    margin: .5rem 0;
    position: relative;
    z-index: 0;
    white-space: pre-line;
    font-size: 1.8rem;
}

.comments .show-comments .text::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    height: 1.2rem;
    width: 2rem;
    background-color: var(--light-bg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.edit-comment form {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
}

.edit-comment form .box {
    width: 100%;
    border-radius: .5rem;
    padding: 1.4rem;
    font-size: 1.8rem;
    color: var(--black);
    background-color: var(--light-bg);
    resize: none;
    height: 20rem;
}

.edit-comment form .flex {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: .5rem;
}

.teachers .search-tutor {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: var(--white);
    border-radius: .5rem;
}

.teachers .search-tutor input {
    width: 100%;
    font-size: 1.8rem;
    color: var(--black);
    background: none;
}

.teachers .search-tutor button {
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    background: none;
}

.teachers .search-tutor button:hover {
    color: var(--main-color);
}

.teachers .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
}

.teachers .box-container .box {
    border-radius: .5rem;
    padding: 2rem;
    background-color: var(--white);
}

.teachers .box-container .box .tutor {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.teachers .box-container .box .tutor img {
    height: 5rem;
    width: 5rem;
    object-fit: cover;
    border-radius: 50%;
}

.teachers .box-container .box .tutor h3 {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: .2rem;
}

.teachers .box-container .box .tutor span {
    color: var(--main-color);
    font-size: 1.5rem;
}

.teachers .box-container .box p {
    padding-top: 1rem;
    font-size: 1.7rem;
    color: var(--light-color);
}

.teachers .box-container .box p span {
    color: var(--main-color);
}

.teachers .box-container .offer {
    text-align: center;
}

.teachers .box-container .offer h3 {
    font-size: 2rem;
    color: var(--black);
}

.teachers .box-container .offer p {
    line-height: 2;
    padding-bottom: .5rem;
}

.tutor-profile .details {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    text-align: center;
}

.tutor-profile .details .tutor {
    margin-bottom: 2rem;
}

.tutor-profile .details .tutor img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .5rem;
}

.tutor-profile .details .tutor h3 {
    font-size: 2rem;
    color: var(--black);
    margin: .5rem 0;
}

.tutor-profile .details .tutor span {
    font-size: 1.5rem;
    color: var(--light-color);
}

.tutor-profile .details .flex {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.tutor-profile .details .flex p {
    flex: 1 1 25rem;
    border-radius: .5rem;
    background-color: var(--light-bg);
    padding: 1rem 3rem;
    font-size: 2rem;
    color: var(--light-color);
}

.tutor-profile .details .flex p span {
    color: var(--main-color);
}

.contact .row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact .row .image {
    flex: 1 1 50rem;
}

.contact .row .image img {
    height: 50rem;
    width: 100%;
}

.contact .row form {
    flex: 1 1 30rem;
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    text-align: center;
}

.contact .row form h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.contact .row form .box {
    width: 100%;
    margin: 1rem 0;
    border-radius: .5rem;
    background-color: var(--light-bg);
    padding: 1.4rem;
    color: var(--black);
    font-size: 1.8rem;
}

.contact .row form textarea {
    height: 20rem;
    resize: none;
}

.contact .box-container {
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact .box-container .box {
    flex: 1 1 30rem;
    border-radius: .5rem;
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
}

.contact .box-container .box i {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.contact .box-container .box h3 {
    margin: 1.5rem 0;
    font-size: 2rem;
    color: var(--black);
}

.contact .box-container .box a {
    display: block;
    font-size: 1.7rem;
    color: var(--light-color);
    line-height: 1.5;
    margin-top: .5rem;
}

.contact .box-container .box a:hover {
    text-decoration: underline;
    color: var(--main-color);
}

.profile .details {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
}

.profile .details .user {
    text-align: center;
    margin-bottom: 2rem;
}

.profile .details .user img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .5rem;
}

.profile .details .user h3 {
    font-size: 2rem;
    margin: .5rem 0;
    color: var(--black);
}

.profile .details .user p {
    font-size: 1.7rem;
    color: var(--light-color);
}

.profile .details .box-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.5rem;
}

.profile .details .box-container .box {
    background-color: var(--light-bg);
    border-radius: .5rem;
    padding: 2rem;
    flex: 1 1 30rem;
}

.profile .details .box-container .box .flex {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    margin-bottom: 1rem;
}

.profile .details .box-container .box .flex i {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: .5rem;
    background-color: var(--black);
    line-height: 4.4rem;
    font-size: 2rem;
    color: var(--white);
    text-align: center;
}

.profile .details .box-container .box .flex .material-symbols-outlined {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: .5rem;
    background-color: var(--black);
    line-height: 4.4rem;
    font-size: 2rem;
    color: var(--white);
    text-align: center;
}

.profile .details .box-container .box .flex h3 {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: .2rem;
}

.profile .details .box-container .box .flex span {
    font-size: 1.5rem;
    color: var(--light-color);
}

.profile .details .box-container .box .flex img {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: .5rem;
    line-height: 4.4rem;
    font-size: 2rem;
    color: var(--white);
    text-align: center;
}

.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.form-container form {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
}

.form-container .login {
    width: 50rem;
}

.form-container .register {
    width: 80rem;
}

.form-container form h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
    text-transform: capitalize;
}

.form-container form p {
    padding-top: 1rem;
    font-size: 1.7rem;
    color: var(--light-color);
}

.form-container form p span {
    color: var(--red);
}

.form-container .link {
    padding-bottom: 1rem;
    text-align: center;
    font-size: 2rem;
}

.form-container .link a {
    color: var(--main-color);
}

.form-container .link a:hover {
    color: var(--black);
    text-decoration: underline;
}

.form-container form .box {
    width: 100%;
    border-radius: .5rem;
    margin: 1rem 0;
    font-size: 1.8rem;
    color: var(--black);
    padding: 1.4rem;
    background-color: var(--light-bg);
}

.form-container .flex {
    display: flex;
    gap: 2rem;
}

.form-container .flex .col {
    flex: 1 1 25rem;
}

.liked-videos .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
    text-overflow: hidden;
}

.liked-videos .box-container .box {
    background-color: var(--white);
    border-radius: .5rem;
    padding: 2rem;
    overflow-x: hidden;
}

.liked-videos .box-container .box .tutor {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.liked-videos .box-container .box .tutor img {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.liked-videos .box-container .box .tutor h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: .2rem;
}

.liked-videos .box-container .box .tutor span {
    font-size: 1.5rem;
    color: var(--light-color);
}

.liked-videos .box-container .box .thumb {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    border-radius: .5rem;
    margin-bottom: 1rem;
}

.liked-videos .box-container .box .title {
    font-size: 2rem;
    color: var(--black);
    padding: .5rem 0;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

/*** Custom Modal ***/
/* Modal genel stil */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

/* Modal içeriği */
.modal-content {
    background-color: var(--white);
    color: var(--black);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 500px;
    text-align: center;
    position: relative;
}

.modal-content h2 {
    font-size: 20px;
    font-weight: 800;
}

.modal-content p {
    margin-top: 5px;
    margin-bottom: 5px;
    color: var(--light-color);
    font-size: 16px;
    line-height: 2.7rem;
}

.modal-content p strong {

    margin-top: 5px;
    margin-bottom: 5px;
    color: var(--light-color);
    font-size: 16px;
}

/* Kapatma butonu */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Onay ve iptal butonları */
.confirm-button {
    background-color: #3085d6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.cancel-button {
    background-color: #d33;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.confirm-button:hover,
.cancel-button:hover {
    opacity: 0.9;
}


/* footer */
.footer {
    position: sticky;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: var(--white);
    border-top: var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--black);
    font-size: 2rem;
    margin-top: 1.5rem;
    z-index: 1000;
    /* padding-bottom: 9.5rem; */
}

.footer span {
    color: var(--main-color);
}

/* media queries  */

@media (max-width:1200px) {

    body {
        padding-left: 0;
    }

    .side-bar {
        transition: .2s linear;
        left: -30rem;
    }

    .side-bar.active {
        left: 0;
        box-shadow: 0 0 0 100vw rgba(0, 0, 0, .7);
    }

    .side-bar .close-side-bar {
        display: block;
    }

}

@media (max-width:991px) {

    html {
        font-size: 55%;
    }

}

@media (max-width:768px) {

    #search-btn {
        display: inline-block;
    }

    .header .flex .search-form {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        width: auto;
        border-top: var(--border);
        border-bottom: var(--border);
        background-color: var(--white);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: .2s linear;
    }

    .header .flex .search-form.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .form-container .flex {
        display: flex;
        gap: 0;
        flex-flow: column;
    }

    .watch-video .video-details .video {
        height: 30rem;
    }

}

@media (max-width:450px) {

    html {
        font-size: 50%;
    }

    .heading {
        font-size: 2rem;
    }

    .flex-btn {
        flex-flow: column;
        gap: 0;
    }

    .about .row .image img {
        height: auto;
    }

    .playlist .row .col .thumb {
        height: 20rem;
    }

    .contact .row .image img {
        height: auto;
    }

    .courses .box-container {
        grid-template-columns: 1fr;
    }

    .videos-container .box-container {
        grid-template-columns: 1fr;
    }

    .teachers .box-container {
        grid-template-columns: 1fr;
    }

    .watch-video .video-details .video {
        height: auto;
    }

}

/* GAME 1 */

.container-game {
    width: 450px;
    border-radius: 7px;
    background-color: var(--white);
}

.container-game h2 {
    font-size: 25px;
    font-weight: 500;
    padding: 18px 26px;
    border-bottom: 1px solid #ccc;
}

.container-game .content {
    margin: 25px 20px 35px;
    padding: 20px;
}

.content .word {
    font-size: 33px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 24px;
    margin-right: -24px;
    margin-top: 20px;
    text-transform: uppercase;
    color: var(--black);
}

.content .details {
    margin: 25px 0 20px;
}

.detalis p {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--light-color);
}

.detalis p b {
    font-weight: 500;
}

.content input {
    width: 100%;
    height: 60px;
    outline: none;
    padding: 0 16px;
    border-radius: 5px;
    font-size: 18px;
    border: 1px solid #aaa;
    background-color: var(--light-bg);
    color: var(--black);
}

.content .buttons {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}

.buttons button {
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--black);
    width: 100px;
    font-size: 17px;
    padding: 15px 0;
    border-radius: 5px;
}

.buttons .refresh-word {
    background-color: #6c757d;
}

.buttons .check-word {
    background-color: #5372F0;
}

.buttons .start-game {
    background-color: #258349;
}


/***Leaderboard***/
.ranking-container {
    max-width: 700px;
    margin: 20px auto;
    background: var(--light-white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #999999;
    color: white;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
}

.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s, transform 0.2s;
}

.ranking-item:nth-child(1) {
    background: var(--light-white);
    font-weight: 900;
    font-size: 15px;
    border-left: 5px solid gold;
}

.ranking-item:nth-child(2) {
    background: var(--light-white);
    font-weight: 900;
    font-size: 15px;
    border-left: 5px solid gold;
}

.ranking-item:nth-child(3) {

    background: var(--light-white);
    font-weight: 900;
    font-size: 15px;
    border-left: 5px solid silver;
}

.ranking-item:nth-child(4) {
    background: var(--light-white);
    font-weight: 900;
    font-size: 15px;
    border-left: 5px solid #cd7f32;
}

.ranking-item:hover {
    background: #b7babd;
    transform: translateY(-2px);
}

.ranking-item:hover .name {
    color: var(--white);
}

.ranking-item:hover .rank {
    color: var(--white);
}

.rank,
.name,
.progress,
.rewards {
    flex: 1;
    text-align: center;
    color: var(--black);
}

.rank {
    max-width: 50px;
    font-size: 1.1em;
    font-weight: 900;
    color: var(--black);
}

.progress img {
    width: 30px;
    height: 30px;
}

.rewards img {
    height: 30px;
    width: 45px;
}

.name {
    text-align: left;
    font-size: 1.1em;
    font-weight: 900;
    color: var(--black);
    display: flex;
    align-items: center;
}

.name span {
    display: inline-block;
    max-width: 8ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-user-resim {
    align-items: center;
}

.leaderboard-user-resim img {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-radius: 50%;
}

.leaderboard-username {
    font-size: 16px;
    font-weight: bold;
}

/*** MARKET ***/

.home-products .slide {
    position: relative;
    padding: 2rem;
    border-radius: .5rem;
    border: var(--border);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    margin-bottom: 5rem;
    overflow: hidden;
    user-select: none;
    width: 20%;
}

.home-products .slide img {
    width: 100%;
    height: 5rem;
    object-fit: contain;
    margin-bottom: 2rem;
}

.home-products .slide .name {
    font-size: 2rem;
    color: var(--black);
}

.home-products .slide .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-products .slide .flex .qty {
    width: 7rem;
    padding: 1rem;
    border: var(--border);
    font-size: 1.8rem;
    color: var(--black);
    border-radius: .5rem;
}

.home-products .slide .flex .price {
    margin: 1rem 0;
    font-size: 2rem;
    color: var(--red);
}

.home-products .slide .fa-heart,
.home-products .slide .fa-eye {
    position: absolute;
    top: 1rem;
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.2rem;
    font-size: 2rem;
    background-color: var(--white);
    border: var(--border);
    border-radius: .5rem;
    text-align: center;
    color: var(--black);
    cursor: pointer;
    transition: .2s linear;
}

.home-products .slide .fa-heart {
    right: -6rem;
}

.home-products .slide .fa-eye {
    left: -6rem;
}

.home-products .slide .fa-heart:hover,
.home-products .slide .fa-eye:hover {
    background-color: var(--black);
    color: var(--white);
}

.home-products .slide:hover .fa-heart {
    right: 1rem;
}

.home-products .slide:hover .fa-eye {
    left: 1rem;
}

.market-btn {
    padding: 5px;
}

.swiper-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.home-products .package {
    position: relative;
    padding: 2rem;
    border-radius: .5rem;
    border: var(--border);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    margin-bottom: 5rem;
    overflow: hidden;
    user-select: none;
    width: 40%;
}

.home-products .package img {
    width: 100%;
    height: 5rem;
    object-fit: contain;
    margin-bottom: 2rem;
}

.package span {
    color: var(--light-color);
    font-size: 1.7rem;
}

.package-details {
    margin-top: 5px;
    padding: 5px;
}

.package-details li {
    padding: 5px;
}

.message-alert {
    color: var(--oragen);
}

@media (max-width: 500px) {
    .home-products .package {
        width: 45%;
    }
    
    .home-products .product {
        width: 110px;
    }
}

/** Profile **/


.container_history_span {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 2rem;
    color: var(--light-color);
}

.body_history_span {
    border-bottom: 1px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 2rem;
    color: var(--light-color);
}

.body_history_span .view_details {
    font-size: 2rem;
    color: var(--light-color);
    padding: 7px;
    border-radius: 10px;
}

.balans_history {
    margin-top: 20px;
}

.balans_history span {
    display: inline-block;
    max-width: 9ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile .details {
    overflow: scroll;
}

.withdraw_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--light-color);
}

.withdraw_table th,
.withdraw_table td {
    border: 1px solid var(--light-color);
    padding: 10px;
    text-align: left;
}

.withdraw_table th {
    background-color: var(--dark-color);
    color: var(--light-color);
    font-weight: bold;
}

.withdraw_table td {
    background-color: var(--bg-secondary);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 150px;
}

/*** Game ***/

.custom-box-container-game {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.custom-box-container-game .custom-box-game {
    border-radius: .5rem;
    background-color: var(--white);
    padding: 2rem;
    width: 60rem;
    text-align: center;
}

.custom-box-game img {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .5rem;
}

.search-form-game {
    border-radius: .5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background-color: var(--light-bg);
}

.search-form-game input {
    width: 100%;
    background: none;
    font-size: 2rem;
    color: var(--black);
}

.result {
    color: var(--light-color);
    font-size: 1.5rem;
}

.result {
    display: block;
}

.player-item {
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
}

.player-item:hover {
    background-color: var(--light-bg);
}

.result-table {
    display: flex;
    flex-direction: column;
}

.result-table span {
    color: var(--light-color);
    font-size: 1.5rem;
    padding: 5px;
}

.attempts-container {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.attempt-circle {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-radius: 50%;
}

.fg-game-score {
    text-align: right;
    margin-left: auto;
}

.fg-game-score h6 {
    display: inline;
    margin: 0;
    padding: 0;
}

.correct-answer-img {
    display: none;
}

.player-name {
    display: inline-block;
    max-width: 9ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width:620px) {
    .c-games .custom-box-container-game {
        display: flex;
        flex-direction: column;
    }
}