html, body {
    height: 100%;
    width: 100%;
    display: flex;
    margin: 0;
    flex-direction: column;
}
.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: solid 0.5px gray;
    position: fixed;
    width: 100%;
    transition: background 0.5s ease-in-out;
}
.navbar-transparent {
    background: rgba(0, 0, 0, 0.7);
}
.navbar-scrolled {
    background: rgba(0, 0, 0, 1);
}
.active {
    color: white !important;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 6px;
}
.nav-link {
    color: lightgray;
    margin-left: 2px;
}
.nav-link:hover {
    color: whitesmoke !important;
}
.navbar-toggler {
    border: 0.5px solid white;
}
.navbar-toggler:hover {
    border: 0.5px solid white;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.navbar-toggler:focus {
    border: 0.5px solid white;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.bi-list {
    color: white;
}
/* Teaching styling */

.impro {
    background: #869aaa;
}

.impro, .teaching {
    flex-grow: 1;
}

.impro-content {
    display: flex;
    padding-top: 7rem;
    padding-bottom: 3rem;
}

.impro-text {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    text-align: justify;
}

.impro-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.impro-image img {
    width: 300px;
}

.teaching {
    background: #9AA4A2;
}

.teaching-content {
    display: flex;
    padding: 3rem 0px;
}

.teaching-text {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start;
    text-align: justify;
}

.teaching-image {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.teaching-image img {
    width: 300px;
}
.wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Other styles */
.footer {
    background-color: rgb(32, 32, 32);
    color: white;
}
.socials-box a {
    text-decoration: none;
    font-size: x-large;
    margin-right: 10px;
    color: white;
}
.bi-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); /* Instagram gradient */
    background-clip: text;
    -webkit-background-clip: text; /* Clip gradient to the text */
    -webkit-text-fill-color: transparent; /* Make text transparent to reveal gradient */
}
.bi-facebook {
    background-color: #4267B2;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-box a {
    text-decoration: none;
    color: rgb(10, 226, 255);
    transition: all 0.25s ease-in-out;
}
.contact-box a:hover {
    text-decoration: none;
    color: rgb(10, 137, 255);
}
.policy-box a {
    text-decoration: none;
    color: rgb(10, 226, 255);
    transition: all 0.25s ease-in-out;
}
.policy-box a:hover {
    text-decoration: none;
    color: rgb(10, 137, 255);
}
.copy-box {
    display: flex;
    align-items: end;
}
.subscribe input[type="email"] {
    background-color: rgb(8, 8, 8);
    border-radius: 0px;
    color: white;
    border: 1px solid white;
    box-shadow: none;
}
.subscribe input[type="email"]::placeholder {
    color: rgb(207, 207, 207);
}
.subscribe input[type="submit"] {
    background-color: white;
    border-radius: 0px;
    border: 1px solid white;
    color: black;
}
.subscribe input[type="submit"]:focus {
    background-color: rgb(151, 151, 151);
    border-radius: 0px;
    border: 1px solid rgb(151, 151, 151);
    color: black;
}

/* Media queries */
@media (min-width: 2002px) {
    .container {
        max-width: 1660px;
    }
}

@media (max-width: 768px) {
    .footer .row {
        gap: 20px;
    }
    .copy-box {
        display: block;
    }
    .navbar {
        background: rgba(0, 0, 0, 1);
    }
    .latest-content h3 {
        display: grid;
        justify-content: center;
        align-items: center;
    }
    #about-text {
        padding: 0 10px;
    }
    .impro-content {
        padding-top: 5rem;
    }
    .impro-image {
        padding: 10px 0px;
    }
    .teaching-content {
        padding: 3rem 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .teaching-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .teaching-text {
        justify-content: center;
        align-items: center;
        padding: 10px 0px;
    }
}