@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.header {
    padding-top: 5px;
    padding-left: 50px;
    text-align: left;
    font-size: 15px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    background-color: white;
}

main {
    margin-top: 60px;
}

.logo img {
    height: 50px;
}

nav {
    flex: 1;
    font-family: "Lexend", Arial, sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: #007bff;
}

.logout-button {
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

.logout-button:hover {
    color: #007bff;
}

.btn {
    padding: 10px 15px;
    border-radius: 5px;
}

.btn.login {
    border: 1px solid #333;
}

.btn.signup {
    background-color: #4caf50;
    color: white;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    margin-right: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.begin {
    background-color: #63ce87;
    color: white;
    border: none;
}

.learn-more {
    background-color: rgba(238, 255, 244, 0.5);
    color: #333;
    border: 2px solid rgba(238, 255, 244, 0.8);
}

.btn:hover {
    transform: scale(1.05);
}

main {
    padding: 40px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.content {
    max-width: 50%;
}

.content h2 {
    font-size: 88px;
    margin-bottom: 15px;
    color: #333;
}

.content p {
    font-size: 23px;
    line-height: 1.6;
    color: #777;
}

.image {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    overflow: hidden;
    width: 90%;
}

.image img {
    width: 110%;
    max-width: none;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(10%);
}

footer {
    background-color: #ffffff;
    width: 100%;
    padding: 20px 0;
    position: relative;
    margin-top: auto;
    text-align: center;
}

.universities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.university {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 20px;
}

.university img {
    width: 120px;
    height: auto;
    margin-bottom: 5px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.about {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about h2 {
    font-size: 72px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.about h2 .bold {
    font-weight: bold;
}

.about h2 .regular {
    font-weight: normal;
}

.about h2 .judul3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about p {
    margin-bottom: 20px;
    color: #555;
    max-width: 900px;
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.founder img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.founder div {
    text-align: left;
}

.founder p {
    margin: 2px 0;
    font-size: 18px;
    color: #333;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.gallery img {
    width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.profile-pic-container {
    position: relative;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: inline-block;
}

.profile-pic-header {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #63ce87;
}

.profile-pic {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lexend", Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

.konten {
    padding-top: 300px;
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
}

.speaking-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 20px 0;
    background: linear-gradient(90deg, #eefff4, #63ce87, #97ab9e);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.speaking-info div {
    display: flex;
    align-items: center;
}

.speaking-info .icon {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.speaking-info span {
    font-size: 16px;
    color: #777;
}

.speaking-info h2 {
    font-size: 36px;
    margin: 5px 0;
}

.weekdays {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.weekdays span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0eeee;
    color: #333;
    font-weight: bold;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin: 0 10px;
}

.weekdays span:hover {
    transform: scale(1.1);
    background-color: #ffffda;
}

.weekdays .active {
    color: black;
    background-color: #ffffda;
    font-weight: bold;
}

.courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.course-card {
    background-color: #eefff4;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
}

.course-card img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.text-link h3,
a {
    text-decoration: none;
    color: black;
}

.availability {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    padding: 0;
}

.availability img {
    width: 30px;
    height: 30px;
    margin-right: 0;
    vertical-align: middle;
    position: relative;
    top: 6px;
}

.availability p {
    color: #cebc63;
    margin: 0;
    padding-left: 5px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.tips-container {
    font-family: "Lexend", Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 20px;
    background-color: transparent;
    border-radius: 8px;
    padding-bottom: 50px;
    transition: background-color 0.3s;
    width: 89%;
}

.tips-text {
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    font-family: "Lexend", Arial, sans-serif;
}

.tips-text:hover {
    background-color: rgba(254, 255, 159, 0.7);
}

.tips-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.tips-text span {
    font-size: 18px;
    font-family: "Lexend", Arial, sans-serif;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #ff0000;
}

main {
    padding: 20px;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.content-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    text-align: left;
    font-family: "Lexend", Arial, sans-serif;
}

.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}

.control-button {
    padding: 10px 20px;
    background-color: #6374ce;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.control-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.record {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

#timer {
    font-size: 18px;
    margin-left: 5px;
}

#recordingsList {
    margin-top: 20px;
}

#recordingsList div {
    margin-bottom: 10px;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -170px;
}

.pause-button {
    padding: 10px 20px;
    background-color: #f0eeee;
    color: black;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pause-button:hover {
    background-color: #e0e0e0;
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.record {
    font-size: 10px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    background-color: #6374ce;
    border-radius: 20px;
    padding: 7px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress {
    width: 50%;
    height: 100%;
    background-color: #ffea00;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-bar:hover .progress {
    background-color: rgba(255, 234, 0, 0.8);
}

.record-icon {
    margin-right: 5px;
}

.questions {
    flex-grow: 1;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: "Lexend", Arial, sans-serif;
}

.pause-button {
    padding: 10px 20px;
    background-color: #f0eeee;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pause-button:hover {
    background-color: #ddd;
}

.questions ol {
    padding-left: 20px;
    font-family: "Lexend", Arial, sans-serif;
}

.questions li {
    margin-bottom: 15px;
    font-size: 16px;
    font-family: "Lexend", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    width: 100%;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    font-family: "Lexend", Arial, sans-serif;
}

h2 {
    font-size: 24px;
    margin: 20px 0;
    color: #333;
    text-align: left;
    font-family: "Lexend", Arial, sans-serif;
}

.instruction-section {
    width: 100%;
    margin-left: 0;
    font-family: "Lexend", Arial, sans-serif;
}

p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    text-align: left;
    font-family: "Lexend", Arial, sans-serif;
}

ul {
    margin-bottom: 20px;
    padding-left: 0px;
    text-align: left;
    font-family: "Lexend", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.profile-container {
    background-color: #eefff4;
    border-radius: 15px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 1009px;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* .profile-pic {
    width: 1000%;
    height: 1000%;
    object-fit: cover;
    border-radius: 50%;
} */

.edit-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 2;
}

.edit-icon img {
    width: 30px;
    height: 30px;
}

.user-name {
    font-size: 22px;
    font-weight: bold;
    margin-top: 95px;
    margin-bottom: 5px;
}

#fileInput {
    display: none;
}

.user-id,
.join-date {
    color: #888;
    font-size: 14px;
    text-align: left;
    margin-top: 3%;
}

.flag-icon img {
    width: 150px;
    height: 85px;
    margin-top: 10px;
    margin-left: 810px;
    margin-bottom: 0%;
}

.statistics-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

.statistics-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.stat-item img {
    width: 90px;
    height: 80px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #888;
}

.achievements-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    padding: 10px;
    width: 80%;
}

.view-all {
    color: #00aaff;
    font-size: 14px;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

.add-friends-section {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    margin: 30px auto;
    text-align: left;
}

.friend-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-content img {
    width: 150px;
    height: 80px;
}

.signature-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

.signature-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.signature-controls button {
    padding: 10px 20px;
    background-color: #63ce87;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signature-controls button:hover {
    background-color: #55b879;
}

.plane1 {
    width: 65px;
    height: auto;
    display: block;
    margin-left: 10px;
}

.plane2 {
    width: 55px;
    height: auto;
    display: block;
    margin-left: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main {
    padding: 100px;
    text-align: center;
}

.record {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.sound-response-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 10px 0;
}

.sound-icon {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sound-icon img {
    width: 60%;
    height: auto;
}

.response-container {
    width: 100%;
    text-align: left;
    padding-left: 10px;
}

.response-box {
    width: 200%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
}

.replay-count {
    font-size: 14px;
    margin-top: 10px;
}

.check-button {
    background-color: #eefff4;
    color: #63ce87;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-right: 10px;
}

.check-button:hover {
    background-color: #d4f7e2;
    transform: scale(1.05);
}

.check-button:disabled {
    background-color: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
}

.finish-button {
    background-color: #63ce87;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left: 100%;
}

.finish-button:hover {
    background-color: #55b879;
    transform: scale(1.05);
}

.finish-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.next-button {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left: 1000px;
}

.next-button:hover {
    background-color: #333;
    transform: scale(1.05);
}

.next-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* .header {
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.main,
.about {
    padding-top: 900px;
    margin: 0 auto;
    width: 90%;
}

.logo img {
    height: 50px;
}

.timer {
    position: absolute;
    left: 40px;
    top: 110px;
    font-size: 36px;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    position: relative;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.word {
    font-size: 24px;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.button-container .response-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-container .response-image:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.response-image img {
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.drag-area {
    margin-top: 20px;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px dashed #ccc;
    transition: background-color 0.3s ease;
}

.drag-area:hover {
    background-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main {
    padding: 40px;
    text-align: center;
}

h2 {
    font-size: 24px;
    margin: 20px 0;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.results-table th,
.results-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.results-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.action-icon {
    width: 20px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
}

.action-icon:hover {
    opacity: 0.7;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    width: 400px;
    height: 300px;
    background-color: #d9f2cb;
    border-radius: 36px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px;
}

.popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    animation: popupBounce 0.6s ease;
}

@keyframes popupBounce {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-content {
    position: relative;
    text-align: center;
    padding: 20px;
}

.popup-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup-text {
    font-size: 22px;
    font-weight: 600;
    color: #63ce87;
    margin-bottom: 20px;
}

.confirm-btn {
    background-color: #63ce87;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.confirm-btn:hover {
    background-color: #55b879;
    transform: scale(1.05);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.login-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
}

.login-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #f9f9f9;
}

.login-form h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.login-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.forgot-password {
    text-decoration: none;
    color: #6374ce;
    float: right;
    margin-bottom: 20px;
}

.login-button {
    width: 100%;
    background-color: #6374ce;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
}

.or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.or-separator hr {
    width: 30%;
    border: none;
    border-top: 1px solid #ddd;
}

.or-separator span {
    margin: 0 10px;
    color: #888;
}

.google-login,
.facebook-login {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.google-login img,
.facebook-login img {
    width: 20px;
    margin-right: 10px;
}

.signup-text {
    text-align: center;
    margin-top: 20px;
}

.signup-text a {
    color: #6374ce;
    text-decoration: none;
}

.login-image {
    flex: 1;
    height: 100vh;
    overflow: hidden;
}

html,
body {
    height: 100%;
    margin: 0;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: 30px auto;
    margin-left: 130px;
}

#signatureCanvas {
    border: 2px solid #63ce87;
    background-color: #f0eeee;
    cursor: crosshair;
}

.signature-section canvas {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 15px;
}

.signature-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.signature-controls button {
    padding: 10px 20px;
    background-color: #63ce87;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signature-controls button:hover {
    background-color: #55b879;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
}

.user-info .user {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    margin-right: 10px;
}

.user-info .user:hover {
    color: #007bff;
}

.user-info .profile-pic-header {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-info .logout-button {
    background-color: #eefff4;
    border: none;
    color: #63ce87;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.user-info .logout-button:hover {
    background-color: #dff5e8;
}

.user-info.raise {
    margin-top: 0;
}

.user-info.lower {
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .content {
        max-width: 100%;
        text-align: center;
    }

    .content h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .content p {
        font-size: 18px;
        line-height: 1.6;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 80%;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .image {
        width: 100%;
        margin-top: 20px;
    }

    .image img {
        width: 100%;
        max-width: none;
        height: auto;
        transform: none; /* Hilangkan transformasi */
    }

    .profile-pic-container {
        width: 120px;
        height: 120px;
        bottom: -100px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    body {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }

    .konten {
        padding-top: 200px;
        width: 95%;
    }

    .speaking-info {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
    }

    .speaking-info h2 {
        font-size: 28px;
    }

    .speaking-info span {
        font-size: 14px;
    }

    .weekdays span {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .courses {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-card img {
        width: 100px;
        height: 80px;
    }

    .availability img {
        width: 25px;
        height: 25px;
        top: 4px;
    }

    .availability p {
        font-size: 14px;
    }

    .profile-pic-container {
        bottom: -80px;
    }

    .speaking-info {
        padding: 15px 0;
        gap: 10px;
    }

    .weekdays {
        margin: 15px 0;
    }

    .weekdays span {
        margin: 0 5px;
    }

    .text-group {
        font-size: 14px;
    }

    .next-button {
        font-size: 14px;
        padding: 8px 15px;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .question-tracker {
        padding: 10px;
        margin-top: 10px;
    }

    .question-tracker h3 {
        font-size: 16px;
        margin-left: 0;
        text-align: center;
    }

    .question-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-left: 0;
    }

    .question-box {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .header {
        padding: 10px 15px;
    }

    .logo img {
        height: 40px;
    }

    nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100% - 60px);
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 20px;
        transition: left 0.3s ease;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        margin: 10px 0;
    }

    nav ul li a {
        width: 100%;
        padding: 10px 20px;
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    nav.active {
        left: 0;
    }

    .user-info {
        display: none;
    }

    .btn {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 3px;
    }

    footer {
        padding: 10px 5px;
        font-size: 10px;
    }

    .universities {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .university img {
        width: 60px;
    }

    .about {
        padding: 20px 10px;
    }

    .about h2 {
        font-size: 36px;
    }

    .about p {
        font-size: 16px;
    }

    .gallery {
        flex-direction: column;
    }

    .gallery img {
        width: 100%;
    }

    .profile-header {
        height: 150px;
    }

    .edit-icon {
        width: 30px;
        height: 30px;
    }

    .statistics-section,
    .achievements-section,
    .add-friends-section {
        width: 90%;
        padding: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .signature-section {
        width: 90%;
        margin-left: auto;
    }

    .courses {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-card img {
        width: 100px;
        height: auto;
    }

    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-form {
        width: 100%;
    }

    .login-button {
        padding: 10px 15px;
        font-size: 14px;
    }

    .or-separator hr {
        width: 25%;
    }

    .signup-text {
        font-size: 14px;
    }

    .login-image {
        display: none;
    }

    main {
        margin-top: 120px;
        padding: 20px;
    }

    h1 {
        font-size: 28px;
    }

    textarea {
        height: 120px;
    }

    #signatureCanvas {
        width: 100%;
        height: 150px;
    }

    main {
        padding: 20px;
    }

    .sound-icon img {
        width: 50px;
    }

    .response-box {
        width: 100%;
        height: 80px;
    }

    .question-tracker {
        padding: 20px;
        font-family: "Lexend", sans-serif;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        margin-top: 20px;
    }

    .question-tracker h3 {
        font-size: 18px;
        font-weight: bold;
        color: #4b3f50;
        margin-bottom: 15px;
        text-align: center;
        margin-left: 500%;
    }

    .question-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 10px;
        margin-bottom: 20px;
        margin-left: 10000%;
        text-align: center;
    }

    .question-box {
        width: 50px;
        height: 50px;
        background-color: #d3d3d3;
        color: #4b3f50;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 18px;
        font-weight: 600;
        transition: background-color 0.3s ease;
    }

    .question-box.active {
        background-color: #5c4653;
        color: white;
    }

    .question-box.correct {
        background-color: #63ce87;
        color: white;
    }

    .question-box.incorrect {
        background-color: #ff6b6b;
        color: white;
    }

    .question-box:hover {
        transform: scale(1.05);
    }

    .check-button:hover,
    .next-button:hover {
        background-color: #d0f5e7;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .question-tracker,
    .check-button {
        margin-top: 10px;
        text-align: left;
    }

    .results-table {
        font-size: 14px;
    }

    .popup {
        width: 300px;
        height: 180px;
    }

    .popup-text {
        font-size: 18px;
    }

    .confirm-btn {
        font-size: 16px;
    }

    .close-btn {
        font-size: 20px;
    }

    .confetti {
        display: none;
    }
}

.question-tracker {
    padding: 20px;
    font-family: "Lexend", sans-serif;
}

.question-tracker h3 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    color: #4b3f50;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
}

.question-box {
    width: 50px;
    height: 50px;
    background-color: #d3d3d3;
    color: #4b3f50;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.question-box.active {
    background-color: #5c4653;
    color: white;
}

.question-box.correct {
    background-color: #63ce87;
    color: white;
}

.question-box.incorrect {
    background-color: #ff6b6b;
    color: white;
}

.question-box:hover {
    transform: scale(1.05);
}
