html {
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-color: black;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button:hover,
:focus {
    color: #ffffff;
    background: #3700ff;
    border: 1px solid #6f47ff;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;
    box-shadow: 0 0 5px #3700ff, 0 0 20px #3700ff, 0 0 50px #3700ff,
        0 0 100px #3700ff;
}


.titleScreen {
    margin-bottom: 30px;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 15px;
    background-color: #1e1e1e;
    text-align: center;
}

.body-wrapper {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.selection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 20px;
}

@media screen and (max-width: 768px){
    .selection {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
}
.course { 
    border: 1px solid #333;
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.course h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.course button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.course button:hover {
    background-color: #094380;
}

.courses-containers,
.exams-container {
    padding: 20px;
    display: none;
    z-index: 10;
    position: relative;
}

.course-content,
.exam-content {
    border: 1px solid #333;
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    display: none; 
    z-index: 100; 
    position: relative;
}

.course-content.active,
.exam-content.active {
    display: block; 
    z-index: 100;
}

.course-content h3,
.exam-content h3 {
    color: #ffffff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.exam-content p {
    margin-bottom: 20px;
}

input[type="text"],
button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    margin: 5px 0;
}

button:hover {
    background-color: #094380;
}

body.modal-active {
    overflow: hidden;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-content {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.close-btn {
    background: #ff5c5c;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
}
.close-btn:hover {
    background: #ff2b2b;
}


.certifications-section {
    width: 60%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.certification {
    margin: 15px 0;
}

.cert-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background-color: green;
    width: 100%;
    transition: width 0.1s linear;
}


  
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0.15;
    z-index: -1; 
}
  
.slides.fade {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out; 
}

.slides.fade.active {
    opacity: 1;
}

@keyframes changeSlide {
    0% { opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 768px) { 
body {
    overflow-x: hidden;
    width: 100vw;
}
}