* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: #212121;
    font-family: "Inter", sans-serif;
}

/* Header and Nav */
header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0px;
    padding: 10px 0px;
    background-color: white;
    z-index: 100;
}

nav {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: #3a3a3a;
    border-radius: 50px;
    box-shadow: 0px 0px 5px 0px red;
}

nav img {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li a {
    padding: 7px 10px;
    margin: 5px 10px;
    color: aliceblue;
    border-radius: 40px;
    transition: all 0.5s ease;
}

nav li a:hover {
    background-color: aliceblue;
    color: #2a2a2a;
}

nav button {
    border: none;
    border-radius: 20px;
    padding: 7px 10px;
    margin: 5px;
    transition: all 1s ease;
}

nav button:hover {
    background-color: aqua;
}

#navlink {
    display: none;
}

#strike {
    display: flex;
    align-items: center;
}

#strike-text {
    color: aliceblue;
    font-size: 30px;
}

#strike-moto {
    font-size: 11.5px;
    color: aquamarine;
}

nav select{
    border: none;
    border-radius: 50px;
    padding: 7px;
    transition: all 1s ease;
}

nav select:hover{
    background-color: aqua;
}

/* Main Section */
main {
    padding: 5%;
}
#upper-main {
    margin-top: 20px;
    padding: 5%;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

hr {
    height: 1px;
    color: #b2acac;
    margin-bottom: 20px;
}

/* Upper Main */
#upper-one {
    position: relative;
    margin-bottom: 20px;
}

/* Animation */
.text {
    font-size: 70px;
    margin-bottom: 30px;
}

.text span {
    text-shadow: -2px 2px 5px #b2acac;
    position: relative;
    animation: bounce 0.8s linear infinite;
}

.text span:nth-child(1) {
    animation-delay: 0.1s;
}
.text span:nth-child(2) {
    animation-delay: 0.2s;
}
.text span:nth-child(3) {
    animation-delay: 0.3s;
}
.text span:nth-child(4) {
    animation-delay: 0.4s;
}
.text span:nth-child(5) {
    animation-delay: 0.5s;
}
.text span:nth-child(6) {
    animation-delay: 0.6s;
}
.text span:nth-child(7) {
    animation-delay: 0.7s;
}
.text span:nth-child(8) {
    animation-delay: 0.8s;
}
.text span:nth-child(9) {
    animation-delay: 0.9s;
}
.text span:nth-child(10) {
    animation-delay: 1.0s;
}
.text span:nth-child(11) {
    animation-delay: 1.1s;
}
.text span:nth-child(12) {
    animation-delay: 1.2s;
}
.text span:nth-child(13) {
    animation-delay: 1.3s;
}
.text span:nth-child(14) {
    animation-delay: 1.4s;
}
.text span:nth-child(15) {
    animation-delay: 1.5s;
}
.text span:nth-child(16) {
    animation-delay: 1.6s;
}
.text span:nth-child(17) {
    animation-delay: 1.7s;
}
.text span:nth-child(18) {
    animation-delay: 1.8s;
}
.text span:nth-child(19) {
    animation-delay: 1.9s;
}
.text span:nth-child(20) {
    animation-delay: 2.0s;
}
.text span:nth-child(21) {
    animation-delay: 2.1s;
}
.text span:nth-child(22) {
    animation-delay: 2.2s;
}
.text span:nth-child(23) {
    animation-delay: 2.3s;
}
.text span:nth-child(24) {
    animation-delay: 2.4s;
}
.text span:nth-child(25) {
    animation-delay: 2.5s;
}
.text span:nth-child(26) {
    animation-delay: 2.6s;
}
.text span:nth-child(27) {
    animation-delay: 2.7s;
}
.text span:nth-child(28) {
    animation-delay: 2.8s;
}
.text span:nth-child(29) {
    animation-delay: 2.9s;
}
.text span:nth-child(30) {
    animation-delay: 3.0s;
}
.text span:nth-child(31) {
    animation-delay: 3.1s;
}
.text span:nth-child(32) {
    animation-delay: 3.2s;
}
.text span:nth-child(33) {
    animation-delay: 3.3s;
}


/* text-markup */
.text-markup{
    margin: 20px 0px;
    margin-bottom: 30px;
}

.text-markup p{
    color: #5b3c99;
    font-size: 25px;
}

/* Button in upper-main-one */
.upper-main-buttons-container {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

.upper-main-buttons-container button {
    margin: 5px;
    width: 100%;
    border: none;
    padding: 10px;
    background-color: rgb(233, 6, 233);
}

.upper-main-buttons-container button:hover {
    background-color: rgb(255, 0, 255);
}

.upper-main-buttons-container button a {
    color: white;
}

/* Social Icon */
.social-icon {
    margin-bottom: 30px;
}

.social-icon ul{
    display: flex;
    list-style: none;
}

.social-icon ul li {
    margin: 5px 20px;
}

.social-icon ul li a i{
    font-size: 20px;
}

/* Stats Box */
.stats-box {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.stat-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2a2a2a;
}

.core-value {
    font-size: 25px;
    font-weight: bold;
}

@keyframes bounce {
    0% {
        top: 0px;
    }

    50% {
        top: 5px;
    }

    100% {
        top: 0px;
    }
}

/* Image Container */
.img-container {
    display: flex;
    justify-content: center;
    padding: 10px;
}
.img-cont {
    border: 5px solid #3a3a3a;
}

.img-cont-transparant {
    border: 10px solid transparent;
}

/* Message Section */
.message {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    margin-bottom: 60px;
}

.message-main {
    font-size: 40px;
    margin-bottom: 20px;
}

.message p{
    font-size: 20px;
    margin: 15px 20vw;
}

.message button {
    margin: 5px;
    border: none;
    width: 50%;
    padding: 10px;
    background-color: rgb(233, 6, 233);
}

/* Course Detail */
.course-detail {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.course-detail h2{
    font-size: 3em;
}

.course-detail > p{
    margin: 10px 10vw;
    font-size: 20px;
    text-align: center;
}

/* Course Content */
.course-content {
    display: grid;
    grid-template-columns: 400px 400px;
    gap: 10px;
}

.course-card {
    padding: 10px;
    background-color: #bdb7b7;
    border-radius: 10px;
}

.course-card div img {
    width: 100%;
    border-radius: 10px;
}

.course-detail-card {
    margin-top: 10px;
    text-align: center;
}

.course-detail-card span {
    font-size: 12px;
}

.course-detail-card p {
    font-size: 15px;
    margin: 10px 12px;
}

.tag-container {
    display: flex;
    padding: 3px;
}

.tag-container span{
    background-color: #3a3a3a;
    padding: 5px;
    margin: 0 2px;
    border-radius: 3px;
    color: white;
}

@media screen and (max-width: 1023px) {
    #upper-main {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 828px) {
    #navigation {
        display: none;
    }

    #navlink {
        display: block;
    }

    .course-content {
        grid-template-columns: 400px;
    }
}