/* kitoki.io styles
by rezgauche
*/

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

html {
    max-width: 98%;
    margin: 0 auto;
}

body {
    background-color: #f5f3ed;
    font-family: 'Dosis', sans-serif;
    font-weight: 200;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: 0.02cap;
    margin: 0;
    padding: 0;
    word-spacing: -0.05cap;
}

.outline {
    border: solid 1px #7b797130;
    border-radius: 1.7rem;
    box-shadow: -0.3rem -0.5rem 0.8rem#bdbdbd56;
    margin: 2rem 0.5rem;
}

img {
    margin: 1rem;
}

.video-thumbnail {
    max-width: 10rem;
}


.hidden {
    display: none;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.featured-videos {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}


.banner {
    max-width: 95%;
    padding-right: 3rem;
}

.flowchart {
    display: inline-block;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    /* Adjust the blur and opacity */
}

.sprite {
    background-image: url('img/background2.gif');
    transform: scaleY(-1);
    width: 280px;
    /* Height of each frame */
    height: 280px;
    background-repeat: no-repeat;
    background-size: 200%;
    display: inline-block;
    filter: opacity(0.2);
    border-radius: 15rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 2.5);
    /* Adjust the blur and opacity */
    overflow: hidden;
}

/* Position each sprite to show a different part of the GIF */
.sprite1 {
    background-position: 0px 0px;
    /*
     Adjust for the desired part of the GIF */
}

.sprite2 {
    background-position: -250px 0px;
    /*
     Shift left or right for the next "frame" */
}

.sprite3 {
    background-position: -50px 0px;
    /*
     Another shift to reveal a new section */
}



/*text links and headings styles*/

a {
    color: #333;
    font-style: italic;
    text-decoration: none;
}

p {
    margin-bottom: 2rem;
}

h1 {
    color: #2c2c2c;
    font-family: 'Sono';
    font-size: 3.4rem;
    font-style: normal;
    font-weight: 100;
    letter-spacing: -0.32cap;
}

h2 {
    color: #2c2c2c;
    font-family: 'Cousine';
    font-size: 2rem;
    font-weight: 100;
    letter-spacing: -0.2cap;
}

h3 {
    color: #2c2c2c;
    font-family: 'Cousine';
    font-size: 1.2rem;
    font-weight: 100;
    letter-spacing: -0.05cap;
}

h4 {
    color: #2c2c2c;
    font-family: 'Sono';
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.05cap;
}

iframe {
    max-width: 100%;
}

blockquote {
    color: #2c2c2c;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.25cap;
    margin: 1rem 0rem 2rem 0rem;
}


/*header styles*/

header {
    align-items: top;
    background-color: hsla(45, 29%, 95%, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#category-list {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    padding-right: 1.5rem;
    width: -25%;
}

/*button styles*/

.btn-close {
    font-size: 1rem;
}

.donate--button {
    max-width: 75%;
    filter: grayscale(100%);
}

.btn {
    background-color: #f5f3ed32;
    border: solid 1px #7b797130;
    border-radius: 1.7rem;
    box-shadow: 0.5rem 0.1rem 0.8rem#bdbdbd56;
    color: #7b7971;
    display: inline-block;
    font-family: 'Cousine', sans-serif;
    font-weight: 300;
    font-size: 0.76rem;
    font-style: normal;
    letter-spacing: 0.23cap;
    margin: 0rem 1rem 1rem 0rem;
    padding: 0.3rem 0.7rem;
    text-decoration: none;
}

.btn:hover {
    background-color: #fff;
    color: #bdbdbd;
}

.btn-primary {
    color: #333;
    display: block;
    font-family: 'Cousine', sans-serif;
    font-size: 0.7rem;
    font-style: oblique;
    text-decoration: none;
}

.btn-primary::before {
    content: '_ ';
}

.btn-upload,
.btn-send-application {
    font-size: 1rem;
    margin: 1rem;
    padding: 1rem 2rem;
}

.applybtn {
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: capitalize;
}


/* card styles*/

.card {
    background-color: hsla(45, 29%, 95%, 0.2);
    border: none;
    padding: 1rem;
}

.card-text {
    padding: 0.5rem;
}

.card-text small {
    margin-bottom: 5rem;
}

.dot::before {
    content: "•";
    font-size: 8rem;
}

.dot-container {
    align-items: center;
    display: inline-flex;
}

.card ul {
    list-style: none;
}

.card li {
    padding-bottom: 0.5rem;
}

.card li::before {
    content: '˲ ';
    vertical-align: super;
}



/*modal styles*/

.modal-title {
    font-family: 'Sono', monospace;
    font-weight: 300;
    font-size: 1.3rem;
}

.modal-title-small {
    margin: 0rem;
    padding: 0.5rem 0rem;
    font-family: 'Sono', monospace;
    font-weight: 200;
    font-size: 1rem;
}

.section-title {
    padding-top: 2rem;
    font-family: 'Sono', monospace;
    font-weight: bold;
    font-size: 1.45rem;
    line-height: 1.09;
    font-weight: 200;
}

.modal {
    background-color: #f5f3edaa;
}

.modal-content {
    background-color: #f5f3ed;
}

.modal input {
    background-color: #e3e3e0;
    font-family: 'Cousine', sans-serif;
    font-size: 1rem;
}

.modal textarea {
    background-color: #e3e3e0;
    font-family: 'Cousine', sans-serif;
    font-size: 1rem;
}

.content-box {
    background-color: #f5f3ed;
    border-radius: 8px;
    padding: 1rem;
}

.partners-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.partners-list img {
    display: block;
    margin: 2rem;
    width: 50px;
}

.partners-list a {
    font-size: 1rem;
}


/* video styles*/

#category-select {
    background-color: #f5f3ed;
    font-family: 'Cousine', sans-serif;
    font-size: 0.8rem;
}

.video-title {
    padding-top: 2rem;
}

span.video-title {
    display: block;
    padding: 0rem 1rem;
    line-height: 1.2;
    font-family: 'Sono', monospace;
    font-weight: 400;
    font-size: 1rem;
}

.video-container {
    padding: 0.5rem 0.8rem;
}

.vid-info {
    font-family: 'Dongle', serif;
    display: block;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.vid-caption {
    display: block;
    font-family: 'Dongle', serif;
    align-self: end;
    margin: 0rem 1rem 0rem 0.5rem;
    padding: 0rem;
    font-size: 1.2rem;
    font-style: italic;
}

.video-item {
    display: flex;
    justify-content: center;
    /* Center the video horizontally */
    align-items: center;
    /* Center the video vertically if needed */
    height: auto;
    /* Adjust the height to your container's size */
    margin: 2rem;
    /* Optional: Add space around the video */
}

.video-item iframe {
    width: 80%;
    /* Set width as a percentage of the container */
    max-width: 720px;
    /* Prevent the video from exceeding a certain width */
    aspect-ratio: 16 / 9;
    /* Ensure the aspect ratio of the video */
    border: none;
    /* Remove the iframe border */
}

/* form styles */
.form-select {
    background-color: #e3e3e0;
    font-family: 'Cousine', sans-serif;
    font-size: 1rem;
}

.form-select>option {
    background-color: #e3e3e0;
    font-family: 'Cousine', sans-serif;
    font-size: 1rem;
}

.form-link {
    margin: 2rem;
}


/*footer styles*/
.footer-doormat {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    text-decoration: none;
}

.dot-footer::before {
    content: "•";
    font-size: 5rem;
}

.contact-info {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
}

.contact-info img {
    width: 1rem;
}

.contact-info a,
span {
    font-size: 1.2rem;
    font-style: normal;
}

.contact-info>p {
    font-size: 1.2rem;
    font-style: normal;
}

.footer-small {
    display: flex;
    justify-content: end;
    padding-right: 2rem;
}

.logo-footer,
.menu-footer {
    color: #333;
    font-family: 'Sono', monospace;
    font-size: 0.86rem;
    font-style: normal;
    margin-bottom: 2rem;
    padding: 0rem 0.5rem;
}

.nav-link {
    color: #333;
    font-family: 'Cousine', sans-serif;
    font-size: 0.86rem;
}

.kitoki-symbol {
    margin: 0.2rem 0rem 0.5rem 0.2rem;
    width: 0.8rem;
}

.text-success {
    margin-left: 1rem;
}


/*media queries*/

@media (min-width: 620px) {

    .footer-doormat {
        max-width: 70%;
    }
}

@media (min-width: 820px) {

    #category-list {
        flex-flow: row;
    }

    .featured-videos {
        flex-flow: row;
    }

    .featured-videos .card {
        max-width: 32%;
    }

}

@media (min-width: 1020px) {

    .contact-info {
        flex-flow: row nowrap;
    }
}

@media (min-width: 1450px) {

    html {
        max-width: 72%;
    }
}