/*Montserrat font from file*/
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 900;
    src: url(../Montserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

/*GLOBAL STYLING*/

body {
    background: #c9d1d1;
    background: linear-gradient(90deg, rgba(201, 209, 209, 1) 0%, rgba(42, 123, 155, 1) 71%, rgba(201, 209, 209, 1) 100%);
    font-family: 'Montserrat', sans-serif;
}

ul {
    list-style-type: none;
    padding: 10px;
}

.inactive {
    display: none;
}

/*END GLOBAL STYLING*/

/*HEADER/NAVBAR*/

header {
    margin: 28px 35px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    /*adding fixed position*/
    z-index: 1;
    width: 94%;
    top: 0;
    position: fixed;
    background: rgba(255, 255, 255, 80%);
}

#logo {
    height: 44px;
    width: 350px;
    /* margin-bottom: -5px; */
    margin-left: 20px;
}

#burger {
    max-width: 39px;
    max-height: 39px;
    position: relative;
    right: 20px;
}

#menu {
    position: absolute;
    top: 48px;
    right: 20px;
    width: 200px;
    /* border: 2px solid black; */
    /* border-bottom: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid black;
    background: rgba(255, 255, 255, 80%); */
    background: rgba(0, 0, 0, 70%);
    color: white;
}

#menu a {
    text-align: center;
    display: block;
    font-variant: small-caps;
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    padding: 10px 0px;

}

#menu a:hover {
    background-color: rgba(255, 255, 255, 80%);
    /* background-color: white; */
    color: rgba(0, 0, 0, 70%);
}

/*END HEADER/NAVBAR*/


#heading {
    margin: 85px auto 20px auto;
    width: 500px;
    text-align: center;
}

#heading h1 {
    margin: 0px 0px 5px 0px;
}

/*CONTENT DIV*/
#class-content {
    box-shadow: 0 6px 20px rgb(0 0 0 / 1);
    /* border: 2px solid black; */
    border-radius: 20px;
    width: 960px;
    /* width: 990px; */
    height: 710px;
    margin: 0 auto;
    overflow: hidden;
    /* background-color: rgba(255, 255, 255, 0.5); */
    /* transition: transform 0.5s ease; */
    display: flex;
    gap: 5%;
}

.project {
    box-shadow: 0 6px 20px rgb(0 0 0 / 1);
    border-radius: 20px;
    width: 960px;
    height: 710px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.5);
    transition: transform 0.5s ease;
}

iframe {
    border: none;
    width: 960px;
    height: 540px;
    border-radius: 17px 17px 0px 0px;
}

.project-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.project-info h2 {
    width: 300px;
    padding: 10px;
    position: relative;
    bottom: 15px;
}

.resources {
    color: black;
    /* text-align: center; */
    margin: 10px 0 10px 100px;
    width: 300px;
    font-size: 1.1rem;
}

/* .resources li {
    margin-top: 5px;
} */

.resources a {
    color: black;
    font-weight: 700;
}

.resources .soon a {
    text-decoration: none;
    pointer-events: none;
    color: slategray;
}

.share {
    margin-top: 5px;
}

.share span {
    position: relative;
    bottom: 20px;
    color: black;
    font-weight: 700;
}

.share a {
    margin: 0 3px;

}

.share img {
    height: 50px;
    width: 50px;
}

.soon-flag {
    position: absolute;
    background-color: black;
    padding: 3px 5px;
    color: white;
    display: none;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-top: 2px;
    margin-left: 2px;
}

/*END CONTENT DIV*/


/*CONTENT NAV*/
#content-nav {
    width: 700px;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    bottom: 10px;
}

#content-nav button {
    padding: 5px;
    font-size: 1.2rem;
    font-variant: small-caps;
    width: 200px;
}

/*END CONTENT NAV*/


/*FOOTER*/

footer {
    margin: 28px 28px;
    background-color: black;

}


footer ul {
    list-style: none;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
    padding: 25px 0px;

}

footer li {
    display: inline-block;
    margin: 0 20px;

}

footer li a {
    text-decoration: none;
    color: white;
}

footer li:hover {
    margin: 0 15px 0 15px;
}

footer li a:hover {

    font-weight: 700;
}

/*END FOOTER*/

/*NAVDISPLAY DASHES*/

#nav-display {
    width: 300px;
    margin: 0px auto;
    text-align: center;
    font-size: 4rem;
    padding: 0;
    height: 25px;
    position: relative;
    bottom: 25px;
}

.curr {
    color: lightgrey;
}

/*END NAVDISPLAY DASHES*/


/*RESPONSIVE STYLING*/

/*SMALL DESKTOP*/
@media only screen and (min-width: 740px) and (max-width: 1030px) {

    header {
        margin: 28px 23px;
    }


    #class-content {
        border-radius: 20px;
        width: 720px;
        height: 680px;
    }

    .project {
        width: 720px;
        height: 680px;
    }


    iframe {
        width: 720px;
        height: 405px;
        border-radius: 17px 17px 0px 0px;
    }

    .project-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .project-info h2 {
        width: 600px;
        text-align: center;
        position: static;
        bottom: 0px;
    }

    .resources {
        margin: 0px 0px 0px 50px;
    }

    .share {
        margin-top: 14px;
    }

    footer ul {
        padding: 10px 0px;

    }

    footer li {
        display: list-item;
        margin: 5px 20px;

    }

}

/*TABLETS*/
@media only screen and (min-width: 480px) and (max-width: 740px) {

    header {
        margin: 28px 6px;
    }

    #logo {
        height: 32px;
        width: 263px;
        margin-left: 10px;
    }

    #menu {
        top: 39px;
    }

    #class-content {
        border-radius: 20px;
        width: 480px;
        height: 520px;
    }

    .project {
        width: 480px;
        height: 520px;
    }


    iframe {
        width: 480px;
        height: 270px;
        border-radius: 17px 17px 0px 0px;
    }

    .project-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .project-info h2 {
        width: 450px;
        text-align: center;
        font-size: 1.2rem;
        position: static;
        bottom: 0px;
    }

    .resources {
        margin: 0px 0px 0px 70px;
        font-size: 1rem;
    }

    .share {
        margin-top: 14px;
    }


    footer ul {
        padding: 10px 0px;

    }

    footer li {
        display: list-item;
        margin: 5px 20px;

    }

    #content-nav {
        width: 400px;
        position: relative;
        bottom: 8px;
    }

    #content-nav button {
        font-size: 1rem;
        width: 100px;
    }

}


/*PHONES*/
@media only screen and (min-width: 0px) and (max-width: 480px) {

    header {
        margin: 28px 6px;
        /* width: 345px; */
    }

    #logo {
        height: 32px;
        width: 263px;
        margin-left: 10px;
    }

    #menu {
        top: 39px;
    }

    #heading {
        margin: 78px auto 20px auto;
        width: 300px;
        text-align: center;
    }

    #heading h1 {
        font-size: 1.5rem;
    }

    #heading #sub-text {
        font-size: 0.9rem;
    }

    #class-content {
        border-radius: 20px;
        width: 320px;
        height: 430px;
    }

    .project {
        width: 320px;
        height: 430px;
    }


    iframe {
        width: 320px;
        height: 180px;
        border-radius: 17px 17px 0px 0px;
    }

    .project-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .project-info h2 {
        width: 300px;
        text-align: center;
        font-size: 1rem;
        position: static;
        bottom: 0px;
    }

    .resources {
        margin: 0px 0px 0px 72px;
        font-size: 1rem;
    }

    .share {
        margin-top: 14px;
    }

    footer ul {
        padding: 10px 0px;

    }

    footer li {
        display: list-item;
        margin: 5px 20px;

    }

    #content-nav {
        width: 300px;
        position: relative;
        bottom: 12px;
    }

    #content-nav button {
        font-size: 1rem;
        width: 100px;
    }


}