body {
    background-color: #F6F4EB;
    font-family: 'JetBrains Mono', monospace;
}

h1 {
    text-align: center;
    font-size: 40px;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 50px;
    margin: 30px 50px 15px 50px;
    align-items: center;
}

.courses {
    width: 450px;
    display: flex;
    flex-direction: column;
    background-color: #9ec7dc;
    height: 55vh;
    padding: 30px;
    border-radius: 20px;
    align-items: center;
}

.search {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    outline: none;
}

.main-table {
    width: 100%;
    margin: 15px 0 3em 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-table {
    width: 100%;
    background-color: lavender;
    text-align: center;
    border-radius: 10px 10px 0 0;
    border: 1px solid #000;
}

.courses-added {
    width: 100%;
    height: 323px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    max-height: 323px;
    border-radius: 0 0 10px 10px;
    overflow-y: auto;
}

.courses-added::-webkit-scrollbar {
    width: 8px;
    background: #000;
    border-radius: 0 0 10px 0;
}

.courses-added::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 0 10px 10px 0;
}

.header-course {
    font-weight: bold;
}



.course {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #000;
    align-items: center;
    justify-content: space-around;
}

.downloads {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    font-size: 18px;
}

/* .course-th {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 5px 0 5px;
} */

.color-picker {
    border-radius: 100%;
    width: 25px;
    height: 25px;
    border: none;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-color: transparent;
}

.btn2 {
    background-color: transparent;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-weight: bold;
    cursor: pointer;
}

.color-picker::-webkit-color-swatch {
    border-radius: 50%;
    border: 1px solid #000;
}

.color-picker::-moz-color-swatch {
    border-radius: 50%;
    border: 1px solid #000;
}

.course-name {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn1 {
    padding: 10px;
    border-radius: 100px;
    width: 75%;
    font-size: medium;
    font-weight: bold;
    cursor: pointer;
}

footer {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-footer {
    margin-right: 5px;
}

.a-footer {
    text-decoration: none;
    color:#000;
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

.schedule {
    background-color: #F6F4EB;
    width: 75%;
    height: 80vh;
    padding: 0;
    max-height: 80vh;
    border-radius: 10px;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    margin: 1px;
}

.container-schedule {
    width: 100%;
    height: 100%;
    padding: 0;
    max-height: 100%;
    display: grid;
    z-index: 998;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    justify-items: center;
    overflow-y: auto;
}

.container-schedule::-webkit-scrollbar {
    width: 8px;
    background: #000;
    border-radius: 0 0 10px 0;
    display: none;
}

.container-schedule::-webkit-scrollbar-thumb {
    background: gray;
    /* border-radius: 0 10px 10px 0; */
}

.head-schedule {
    width: 100%;
    height: 8%;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
}

.column {
    width: 100%;
    text-align: center;
    border-right: 1px solid #000;
    /* border-bottom: 1px solid #000; */
}

.last {
    border-right: none;
    border-left: 1px solid #000;
}

.title {
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #000;
    text-align: center;
    border-right: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-title {
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-p {
    font-size: 17px;
}

.intervals {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
}

.course-card {
    font-size: small;
    border: 1px solid #000;
    border-radius: 10px;
    margin: 5px;
}

.course-time {
    font-size: medium;
}

.dropdown {
    background-color: #DEEBEB;
    border-radius: 10px;
    position: absolute;
    margin-top: 45px;
    z-index: 999;
    width: 452px;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s;
    overflow: hidden;
}

.dropdown.active {
    max-height: 390px;
    opacity: 1;
    overflow-y: scroll;
}

.dropdown::-webkit-scrollbar {
    width: 8px;
    background: #4682A9;
    border-radius: 0 10px 10px 0;
}

.dropdown::-webkit-scrollbar-thumb {
    background: #749BC2;
    border-radius: 0 10px 10px 0;
}

.search-course {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    padding-left: 10px;
    padding-right: 10px;
}

.lab {
    border: 1px solid #000;
    height: 20px;
    width: 20px;
    text-align: center;
    border-radius: 50%;
}

.message {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;  
    border-bottom: 1px solid #000;
}

.search-course:hover {
    background-color: #88a0ad;
}

.course-section {
    font-weight: bold;
}

.hide {
    display: none;
}

/* Veremos */

@media (max-height: 768px) {

    h1 {
        text-align: center;
        font-size: 35px;
        margin-top: 20px;
    }

    .courses-added {
        height: 223px;
        max-height: 223px;
    }

    .courses {
        width: 400px;
        height: 55vh;
        padding: 30px;
    }

    .main-table {
        margin: 15px 0 2em 0;
    }

    .schedule {
        height: 78vh;
        max-height: 78vh;
    }

    .container {
        margin: 5px 50px 5px 50px;
    }

    .course-card {
        font-size: 12px;
        /* margin-top: 8px; */
        margin: 5px;
    }

    .course-time {
        font-size: 14px;
    }

    /* .column {
        padding-top: 8px;
    } */

    .head-schedule {
        margin-bottom: 10px;
    }

    .dropdown {
        width: 402px;
    }

    .dropdown.active {
        max-height: 340px;
    }
}

@media (max-height: 900px) {

    h1 {
        margin-top: 20px;
    }

    .courses-added {
        height: 223px;
        max-height: 223px;
    }

    .courses {
        width: 400px;
        height: 55vh;
        padding: 30px;
    }
    .main-table {
        margin: 15px 0 2em 0;
    }

    .schedule {
        height: 78vh;
        max-height: 78vh;
    }

    .container {
        margin: 5px 50px 5px 50px;
    }

    .course-card {
        font-size: 12px;
        /* margin-top: 8px; */
        margin: 5px;
    }

    .course-time {
        font-size: 14px;
    }

    /* .column {
        padding-top: 8px;
    } */

    .head-schedule {
        margin-bottom: 10px;
    }

    .dropdown {
        width: 402px;
    }

    .dropdown.active {
        max-height: 340px;
    }
}