@font-face {
    font-family: TekturM;
    src: url(/css/fonts/Tektur-Medium.ttf);
}

html{
    height: 100%;
    min-height: 100%;
    scroll-padding-top:80px;
    overflow-x: hidden;
}

body {
    background-color:black;
    margin:0%;
    overflow-x: hidden;
}

/* Navigation Bar */

#top-bar {
    height: 60px;
    width:100%;
    display:flex;
    flex-flow: row wrap;
    justify-content: center;
    background-color: white;
    position:fixed;
    top:0px;
    box-shadow: 4px 4px 10px 0 lightblue;
    z-index:1;
}

.name {
    font-family: TekturM;
    flex-grow:6;
    margin-top:auto;
    margin-bottom:auto;
    margin-left:10%;
    width:320px;
    position:relative;
    color:black;
}

#nav-web{
    flex-grow:4;
}

#hamburger-toggle{
    display:none;
    flex-direction: column;
    cursor: pointer;
}

.bar{
    width: 30px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
    transition: 0.4s;
}

#link-list{
    display:flex;
    list-style:none;
    line-height: 55px;
    height: 100%;
    margin:0px;
}

.link{
    border-left:solid 0.1px gray;
    font-family: TekturM;
    color:black;
    text-align: center;
    display:inline-block;
    width:150px;
    background-color: rgb(95, 95, 95,0.3);
    height:100%;
}

.link:hover{
    background-color: gray;
}

a{
    text-decoration: none;
    color:white;
}

/* External Links Bar */
#links-bar{
    display:flex;
    justify-content: flex-end;
    align-items: center;
    position:sticky;
    z-index:1;
}

#toggle-link-bar{
    height:60px;
    width:25px;
    background-color:white;
    position:fixed;
    top:46.5%;
    right:50px;
    display: flex;
    align-items: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index:1;
    transition: transform 1s;
    cursor: pointer;
}
#toggle-link-bar:hover{
    opacity: 0.7;
}
#toggle-link-bar.active{
    transform: translate(50px,0);
}

#toggle-arrow-image{
    position:relative;
    height: 35px;
    width: 28px;
}

#links-container{
    position:fixed;
    display:flex;
    flex-direction: column;
    top:45%;
    height:100px;
    width:50px;
    background-color:white;
    border-top-left-radius: 5%;
    border-bottom-left-radius:5%;
    box-shadow: 0 0 10px lightblue, 0 0 20px lightblue;
    transition: transform 1s;
}

#links-container.active {
    transform: translate(50px,0);
}

#github-logo {
    margin-top:5px;
    margin-left:3px;
    height:40px;
    width:40px;
    opacity:1;
    transition: opacity 0.3s ease;

    &:hover{
        opacity:0.5;
    }
}

#linkedin-logo{
    height:40px;
    width:45px;
    margin-left:4px;
    margin-top:4px;
    opacity:1;
    transition: opacity 0.3s ease;

    &:hover{
        opacity:0.5;
    }
}

/* Content Section */

#content{
    height:100%;
    width:100%;
    display: flex;
    flex-direction: column;
}

.content-container {
    font-family: TekturM;
    font-size: 20px; 
    color:white;
    height:100%;
    text-align: center;
    flex:1;
    margin-bottom:600px;
}

.content-container h1 {
    box-shadow: 0 10px 10px 0px white;
}

/* About Me Section*/

#aboutme{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly; 
    margin-top:200px;
}

#aboutme-container{
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content:center; 
    padding:50px;
    width:50%;
    border-bottom: 1px solid lightgray;
}

#aboutme-container p{
    word-spacing:1px;
    line-height: 40px;
}

/* Education Section */

#education-container{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;

}

#education-container p{
    word-spacing:1px;
    line-height: 40px;
}

#cos-container{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:50px;
    margin-top:50px;
    width:80%;
    border-bottom: 1px solid lightgray;
}

#cos-container p{
    width:100%;
}

#cos-container img{
    width:400px;
    height:250px;
}

#cos-slideshow-btn-dot-container-0{
    position:relative;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
}
#cos-slideshow-btn-dot-container-1{
    display:none;
}
#cos-slideshow-btn-dot-container-2{
    display:none;
}

#cos-slideshow-container-0{
    position:relative;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    overflow: hidden;
    width: 80%;
    height: 650px;
    border: 1px solid white;
}
#cos-slideshow-container-1{
    display: none;
}
#cos-slideshow-container-2{
    display:none;
}

#fsu-container{
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    padding:50px;
    margin-top:50px;
    width:80%;
    border-bottom: 1px solid lightgray;
}

#fsu-container p{
    width:100%;
}

#fsu-container img{
    width:400px;
    height:250px;
}

#fsu-slideshow-btn-dot-container-0{
    position:relative;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
}
#fsu-slideshow-btn-dot-container-1{
    display:none;
}
#fsu-slideshow-btn-dot-container-2{
    display: none;
}

#fsu-slideshow-container-0{
    position:relative;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    overflow: hidden;
    width: 80%;
    height: 650px;
    border: 1px solid white;
}
#fsu-slideshow-container-1{
    display:none;
}
#fsu-slideshow-container-2{
    display:none;
}

.slide{
    display: none;
    flex-direction: row;
    width:30%;
    list-style:none;
    flex: 0 0 100%;
}

.slide:first-child{
    display:flex ;
    flex-direction: row;
}

.course-header{
    border-bottom: 1px solid lightgray;
}

.course-list{
    width:100%;
    list-style:none;
    display:flex;
    flex-direction: row;
    flex:1 1 33%;
    justify-content: center;
    padding: 0px;
    margin: 0px;
}

.course-list li{
   padding: 10px;
   width:33%;
}

.tech-paragraph{
    font-style:italic;
}

#next-slide, #prev-slide{
    display:flex;
    position: absolute;
    height: 60px;
    width: 25px;
    background-color:white;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    top:50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#next-slide{
    right: 50px;
}

#prev-slide{
    left: 50px;
}

#next-slide:hover, #prev-slide:hover{
    opacity: 0.7;
}

#nextS-img, #prevS-img{
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 28px;
}

.dots-container{
    display: flex;
    text-align: center;
    margin-top:20px;
    position: absolute;
    top:100%;
    transform: translateY(-100%);
}
.dot{
    display:inline-block;
    width:10px;
    height:10px;
    background-color: white;
    border-radius: 50%;
    margin:0 8px;
    cursor: pointer;
}
.dot.active{
    background-color: teal;
}

/* Projects Section*/

.project-heading{
    display:grid;
    margin-top: 100px;
    margin-left:auto;
    margin-right:auto;
    justify-content: start;
    width:80%;
}

.project-container{
    position: relative;
    height:100%;
    width:80%;
    margin-left: auto;
    margin-right: auto;
    top:50px;
}

.project-links{
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    position:relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border: 1px solid lightgray;
    
}
.project-links:visited{
    text-decoration: none;
    color:white;
}
.project-links:hover{
    box-shadow: 0 10px 10px 0px white;
}

.project-images{
    width:460px;
    height:90%;
}

/*Contact Section*/

#contact-p {
    margin-top: 100px;
}

#contact-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height:600px;
}

#contact-form label{
    margin-top:25px;
}

#contact-form input[type=text] {
    width:225px;
    height:10%;
}

#contact-form textarea{
    width: 500px;
    height: 90%;
    font-size: 17.5px;
}

#contact-form textarea::-webkit-input-placeholder{
    text-align:center;
}

#contact-form input[type=submit] {
    margin-top:25px;
    width:100px;
    height:20%;
    background-color: gray;
    color: white;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-family: TekturM;
    border-radius: 2px;
    cursor: pointer;
    opacity:1;
}

#alert-modal{
    display: none;
    position:fixed;
    z-index:1;
    width: 50%;
    height: 10%;
    overflow:none;
    top: 40%;
    background-color: firebrick;
    border:1px solid white;
}
#email-modal-success{
    display: none;
    position:fixed;
    z-index:1;
    width: 50%;
    height: 10%;
    overflow:none;
    top: 40%;
    background-color: lightgreen;
    border:1px solid white;
}
#email-modal-failed{
    display: none;
    position:fixed;
    z-index:1;
    width: 50%;
    height: 10%;
    overflow:none;
    top: 40%;
    background-color: firebrick;
    border:1px solid white;
}
.modal-content{
    display: inherit;
    color: black;
    margin: auto;
    width:80%;
    height:80%;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row-reverse;
}
.close{
    color: black;
    float:right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus{
    color:grey;
    text-decoration: none;
    cursor: pointer;
}

.modal-content p{
    color:white;
}

#contact-form input[type=submit]:hover{
    opacity:0.7;
}

@media only screen and (min-width: 780px) and (max-width: 1100px){

    /* Navigation Bar */

    .name {
        
        font-family: TekturM;
        flex-grow:2;
        margin-top:auto;
        margin-bottom:auto;
        width:320px;
        margin-left:2%;
        position:relative;
        color:black;
    }

    #nav-web{
        flex-grow:4;
    }

    .link{
        border-left:solid 0.1px gray;
        font-family: TekturM;
        color:black;
        text-align: center;
        display:inline-block;
        width:100px;
        background-color: rgb(95, 95, 95,0.3);
        height:100%;
    }
    #link-list{
        padding:0;
    }
    /* Content Section */
    .content-container {
        margin-bottom:650px;
    }

    /* About Me Section */

    #aboutme-container{width:80%;}

    #the-face{
        width:80%;
        height: 80%;
    }

    /* Education Section */
    #cos-container{width:85%;}

    #cos-container p{
        width:45%;
    }

    #cos-container img{
        width:300px;
        height:200px;
    }

    #cos-slideshow-btn-dot-container-0{
        display:none;
        
    }
    #cos-slideshow-btn-dot-container-1{
        position:relative;
        width: 100%;
        display:flex;
        justify-content: center;
        align-items: center;
    }
    #cos-slideshow-btn-dot-container-2{
        display:none;
    }

    #cos-slideshow-container-0{
        display: none;
    }
    #cos-slideshow-container-1{
        
        position:relative;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        overflow: hidden;
        width: 80%;
        height: 650px;
        border: 1px solid white;
    }
    #cos-slideshow-container-2{
        display:none;
    }

    #fsu-container{width:85%;}

    #fsu-container p{
        width:45%;
    }

    #fsu-container img{
        width:300px;
        height:200px;
    }
    
    #fsu-slideshow-btn-dot-container-0{
        display: none;
    }
    #fsu-slideshow-btn-dot-container-1{
        position:relative;
        width: 100%;
        display:flex;
        justify-content: center;
        align-items: center;
    }
    #fsu-slideshow-btn-dot-container-2{
        display: none;
    }
 
    #fsu-slideshow-container-0{
        display: none;
    }
    #fsu-slideshow-container-1{
        position:relative;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        overflow: hidden;
        width: 80%;
        height: 750px;
        border: 1px solid white;
    }
    #fsu-slideshow-container-2{
        display:none;
    }

    .course-list li {
        width: 50%;
    }

    /* Contact Section */
    #contact-form textarea{
        width: 400px;
        height: 150px;
        font-size: 17.5px;
    }

    #contact-form textarea::-webkit-input-placeholder{
        text-align:center;
    }
}

@media only screen and (max-width: 780px){

    /* Navigation Bar */

    .name {
        font-family: TekturM;
        font-size:110%;
        flex-grow:3;
        width:200px;
        margin-top:auto;
        margin-bottom:auto;
        margin-left:1%;
        position:relative;
        color:black;
        
    }

    #nav-web{
        flex-grow:4;
    }

    #link-list{
        list-style: none;
        padding: 0;
        display:none;
        flex-direction: column;
        width:190px;
        height:303px;
        background-color: white;
        position:fixed;
        top:38%;
        left: 0;
        bottom:0;
        transition: left 5s;
        border-top-right-radius: 5%;
        border-bottom-right-radius: 5%;
        border-right: solid 0.1px gray;
        box-shadow: 0 0 10px lightblue, 0 0 20px lightblue;
    }

    #link-list a{
        margin-top:15px;
    }

    .link{
        border-top:solid 0.1px gray;
        border-bottom:solid 0.1px gray;
        font-family: TekturM;
        color:black;
        text-align: center;
        display:inline-block;
        width:190px;
        background-color: rgb(95, 95, 95,0.3);
        height:100%;
    }

    #hamburger-toggle{
        display:flex;
        margin:15px;
        align-items: flex-end;
    }

    #link-list.active{
        display:flex;
    }
    
    #hamburger-toggle.active .bar:nth-child(1){
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    #hamburger-toggle.active .bar:nth-child(2){
        opacity: 0;
    }
    #hamburger-toggle.active .bar:nth-child(3){
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Content Section */

    #content{
        height:100%;
        width:100%;
    }

    /* About Me Section */
    #aboutme{
        flex-direction: column;
    }
    #aboutme-container{width:100%;}
    #the-face{
        width: 60%;
        height: 60%;
    }
    /* Education Section */
    #cos-container{
        width:100%; 
        flex-direction: column;
    }

    #cos-container p{
        width:80%;
    }

    #cos-container img{
        width:250px;
        height:150px;
    }

    #cos-slideshow-btn-dot-container-0{
        display:none;
    }
    #cos-slideshow-btn-dot-container-1{
        display:none;
    }
    #cos-slideshow-btn-dot-container-2{
        position:relative;
        width: 100%;
        display:flex;
        justify-content: center;
        align-items: center;
    }

    #cos-slideshow-container-0{
        display: none;
    }
    #cos-slideshow-container-1{
        display: none;
    }
    #cos-slideshow-container-2{
        position:relative;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        overflow: hidden;
        width: 80%;
        height: 750px;
        border: 1px solid white;
    }

    #fsu-container{
        width:100%;
        flex-direction: column;
    }

    #fsu-container p{
        width:80%;
    }

    #fsu-container img{
        width:250px;
        height:150px;
    }

    #fsu-slideshow-btn-dot-container-0{
        display: none;
    }
    #fsu-slideshow-btn-dot-container-1{
        display: none;
    }
    #fsu-slideshow-btn-dot-container-2{
        position:relative;
        width: 100%;
        display:flex;
        justify-content: center;
        align-items: center;
    }
 
    #fsu-slideshow-container-0{
        display: none;  
    }
    #fsu-slideshow-container-1{
        display:none;
    }
    #fsu-slideshow-container-2{
        position:relative;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        overflow: hidden;
        width: 80%;
        height: 750px;
        border: 1px solid white;
        
    }
    
    .course-list li {
        width: 100%;
    }

    #next-slide{
        right: 5px;
    }
    #prev-slide{
        left: 5px;
    }

    .dots-container{
        flex-wrap:wrap;
        justify-content: center;
        margin-top: 25px;
    }
    .dot {
        display: block;
        margin-top:3px;
    }

    /* Project Section */

    .project-container{
        position: relative;
        height:350px;
        width:80%;
        margin-left: auto;
        margin-right: auto;
        top:50px;
    }
    
    .project-links{
        width:100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: space-around;
        align-items: center;
        position:relative;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        border: 1px solid lightgray;
        text-decoration: none;
        color:white;
    }
    .project-links:visited{
        text-decoration: none;
        color:white;
    }
    .project-links:hover{
        box-shadow: 0 10px 10px 0px white;
    }
    
    .project-images{
        height:70%;  
        width:90%;
    }

    /* Contact Section */
    
    #contact-form{
        top:80px;
    }

    #contact-p{
        top:50px;
    }

    #contact-form textarea{
        width: 250px;
        height: 150px;
        font-size: 17.5px;
    }

    #contact-form textarea::-webkit-input-placeholder{
        text-align:center;
    }
    .content-container {
        margin-bottom:650px;
    }

    #alert-modal{
        height: 30%;
    }
    #email-modal-success{
        height: 30%;
    }
    #email-modal-failed{
        height: 30%;
    }
}