iframe
{
    width: 100%;
}

body
{
    margin: 0;
    display: grid;
    overflow-x: hidden;
    grid-template-columns: 20% auto 20%;
    grid-template-rows: 50px 80px auto 50px;
    background-color: #303030;
}

body#projects::-webkit-scrollbar
{
    display: none;
}

body#about::-webkit-scrollbar
{
    display: none;
}

body#contact::-webkit-scrollbar
{
    display: none;
}

body#python::-webkit-scrollbar
{
    display: none;
}

body#usefull-links::-webkit-scrollbar
{
    display: none;
}

header
{
    position: fixed;
    width: 100%;
    height: 50px;
    background-color: #303030;
    z-index: 3;
}

main
{
    grid-area: 2/1/4/4;
    min-height: calc(100vh - 50px);
}

footer
{
    display: flex;
    grid-area: 4/1/5/4;
    background-color: #303030;
    justify-content: space-between;
    align-items: center;
}

footer p
{
    color: white;
    font-family: Georgia, serif;
    font-size: 10pt;
}

.mobile-menu-container
{
    float: right;
    height: 50px;
    width: 50px;
    cursor: pointer;
    z-index: 1;
}

.mobile-menu-container img
{
    width: 28px;
    height: 28px;
    position: relative;
    top: 11px;
    left: 11px;
}

.mobile-menu-dropdown
{
    position: absolute;
    top: 0;
    right: -50%;
    width: 50%;
    height: auto;
    background-color: white;
    transition: 1s;
}

.mobile-menu-dropdown a
{
    float: none;
    color: white;
    padding: 12px 16px;
    display: block;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Teko', sans-serif;
    font-size: 16pt;
    border-top: solid 1px white;
    border-left: solid 10px #303030;
    background-color: #303030;
}

.mobile-menu-dropdown a.current
{
    color: lightsalmon;
}

.mobile-menu-dropdown #subitems a
{
    padding-left: 40px;
}

.mobile-menu-container:hover .mobile-menu-dropdown
{
    right: 0;
}

.web-page-name-container
{
    display: none;
    height: 50px;
    flex-grow: 2;
}
.web-page-name-container h2
{
    position: relative;
    margin: 0;
    padding: 0;
    color: white;
    text-align: center;
    text-transform: uppercase;
    top: 11px;
}

.menu-container 
{
   float: right;
   height: 50px;
   width: auto;
   overflow: hidden;
}

.menu-container a
{
    float: right;
    width: auto;
    height: inherit;
    margin-right: 10px;
    padding-top: 15px;;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    font-family: Georgia, serif;
    font-size: 14pt;
}

.menu-container a:hover
{
    background-color: white;
    color: black;
    cursor: pointer;
}

.menu-container a.current
{
    color: lightsalmon;
}

.menu-container a.current:hover
{
    color: black;
}

.menu-item.dropdown
{
    float: right;
    height: 50px;
    overflow: hidden;
}

.dropdown-content a
{
    float: none;
    color: black;
    padding: 12px 16px;
    display: block;
    text-align: left;
    text-decoration: none;
    border-top: solid 1px black;
}

.dropdown-content
{
    display: none;
    position: fixed;
    top: 50px;
    min-width: 250px;
    background-color: white;
    box-shadow: -5px 5px 15px black;
    z-index: 1;
}

.menu-item.dropdown:hover .dropdown-content
{
    display: block;
}

.menu-item.dropdown:hover a
{
    background-color: white;
    color: black;
}

.menu-item.dropdown .dropdown-content a:hover
{
    background-color: #303030;
    color: white;
    border-left: solid 10px lightsalmon;
}

.menu-item.dropdown .dropdown-content a.current
{
    background-color: #303030;
    color: lightsalmon;
    border-left: solid 10px rgb(100, 100, 100);
}

.logo-container
{
    position: relative;
    left: 10px;
    float: left;
    width: auto;
    cursor: pointer;
}

.scroll-logo
{
    float: inherit;
    height: 50px;
}

.scroll-logo#scroll-center
{
    position: relative;
    height: 18px;
    top: 16px;
    background-color: white;
    color: #303030;
    font-family: Georgia, serif;
    overflow: hidden;
}

.scroll-logo img
{
    height: 50px;
}

.slide
{
    width: 100%;
    height: calc(100vh - 50px);
    overflow-y: auto;
    overflow-x: hidden;
}

.slide#first
{
    display: flex;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #ffffff;
    background-image: url(../img/watch_background/watch_0.png), url(../img/watch_background/watch_1.png), url(../img/watch_background/watch_2.png), url(../img/watch_background/watch_3.png), url(../img/watch_background/watch_4.png), url(../img/watch_background/watch_5.png);
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

.slide#second
{
    display: flex;
    flex-direction: column;
    background-color: #dedede;
    background-position: 50% calc(50% + 200px);
    height: calc(100vh - 100px);
    justify-content: space-around;
    align-items: center;
}

.slide#first h1
{
    position: relative;
    color: #303030;
    font-size: 48pt;
    font-size: 4vw;
    font-family: 'Teko', sans-serif;
    text-align: center;
}

.slide#second h1
{
    text-align: center;
    font-family: 'Teko', sans-serif;
    color: white;
    z-index: 2;
}

main#about
{
    display: flex;
    background-color: #dedede;
    flex-direction: column;
    align-items: center;
}

main#about h2
{
    color: #303030;
    text-align: justify;
    margin-left: 15%;
    margin-right: 15%;
}

main.projects
{
    grid-area: 2/2/4/3;
    background-color: #dedede;
    overflow-x: auto;
    height: calc(100vh - 100px);
    z-index: 1;
}
main.projects ul{
    margin: 2px;
    font-family: 'Teko', sans-serif;
    font-size: 16pt;
    font-weight: bold;
    color: #303030;
}

.side-menu-container
{
    background: rgb(112,114,144);
    background: linear-gradient(0deg, rgba(112,114,144,1) 0%, rgba(144,112,144,1) 60%);
    z-index: 1;
}

.side-menu-container.contents
{
    height: calc(100vh - 50px);
    overflow-y: auto;
    overflow-x: hidden;
}

.side-menu-container.contents .content-container #header
{
    border-radius: 10px;
}

.side-menu-container#right
{
    grid-area: 2/3/4/4;
    border-left: solid 2px #303030;
}

.side-menu-container#right .card-container
{
    margin: 1px;
}

.side-menu-container#left
{
    grid-area: 2/1/4/2;
    border-right: solid 2px #303030;
}

.side-menu-list-container 
{
   display: flex;
   flex-direction: column;
}

.side-menu-list-item
{
    border: 2px dashed #303030;
    border-radius: 25px;
    min-height: 50px;
    min-width: fit-content;
    margin: 10px;
}

.side-menu-list-item p
{
    color: #303030;
    font-size: 22pt;
    text-align: center;
}

.side-menu-list-item:hover p
{
    color: white;
}

.side-menu-list-item:hover
{
    border: 2px solid white;
    cursor: pointer;
    background-color: #303030;
}

.side-menu-list-item#back
{
    background-color: #303030;
    border-style: solid;
    border-right: none;
    border-radius: 25px 0px 0px 25px;
    margin: 10px 0px 10px 10px;
}

.side-menu-list-item#back p
{
    color: white;
}

.side-menu-list-item.inactive:hover
{
    border-style: dashed;
    cursor: default;
    background-color: inherit;
    border-color: #303030;
}

.side-menu-list-item.inactive:hover p
{
    color: #303030;
}

.right-side-menu-button
{
    display: none;
    position: absolute;
    background-color: white;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    transform: translate(16px);
    top: 132px;
    left: calc(100% - 32px);
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
    border-right: none;
    width: 32px;
    height: 64px;
    
}

.right-side-menu-button img
{
    width: inherit;
    height: inherit;
}

.text-container
{
    background-color: white;
}

.text-container p
{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 14pt;
}

.text-container h1{
    border: 2px dashed #303030;
}

.text-container#header
{
    background-color: #303030;
}

.text-container#header h2
{
    color: white;
    text-align: center;
}

h1
{
    line-height: normal;
    margin: 10px;
    font-family: 'Teko', sans-serif;
    font-size: 42pt;
    color: #303030;
}

h2
{
    line-height: 1.2;
    margin: 10px;
    font-family: 'Teko', sans-serif;
    font-size: 24pt;
    color: #303030;
}

q
{
    font-family: 'Dancing Script', cursive;
}

span
{
    color: white;
}

a
{
    color: rgb(80, 80, 255);
    text-decoration: none;
}

p
{
    font-family: 'Teko', sans-serif;
    font-size: 20pt;
    margin: 10px;
}


.scrollbtn-container
{
    height: 32px;
    width: 32px;
    position: absolute;
    left: 50%;
    cursor: pointer;
}

#up.scrollbtn-container
{
    bottom: calc(100% - 36px);
} 

#down.scrollbtn-container
{
    top: calc(100% - 36px);
}

.avatar-container
{
    margin: 20px;
    background-color: white;
    width: 90px;
    height: 90px;
    border-radius: 50px;
    overflow: hidden;
    border: solid 2px #aeaeae;
}

.avatar-container img
{
    width: inherit;
    height: inherit;
}

.tooltip
{
    position: absolute;
    width: inherit;
    height: inherit;
    z-index: 1;
}

.tooltip .tooltip-text
{
    visibility: hidden;
    position: relative;
    border-radius: 10px;
    background-color: #303030;
    color: white;
    font-family: 'Teko', sans-serif;
    font-size: 14pt;
    border: solid 2px orangered;
    width: fit-content;
    padding: 10px;
    top: 52px;
    opacity: 0;
    transition: opacity 0.2s;
}

.tooltip:hover .tooltip-text
{
    visibility: visible;
    opacity: 1;
}

.button-container
{
    display: flex;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
}

.button-container button
{
    color: white;
    background-color: #303030;
    border: 4px solid orangered;
    border-radius: 30px;
    cursor: pointer;
    width:186px;
    height: 60px;
    font-family: 'Teko', sans-serif;
    font-size: 18pt;
    font-weight: bold;
    z-index: 1;
}

.button-container button:hover
{
    color: orangered;
    border-color: white;
}

.button-container img
{
    position: absolute;
    width: calc(168px * 1.2);
    height: calc(234px * 1.2);
}

.mail-container
{
    padding: 4px;
    background-color: lightcoral;
    border: solid 1px #303030;
    border-left: solid 10px #68417f;
    height: 32px;
}

.mail-container img
{
    width: 40px;
    float: right;
}

.mail-container p
{ 
    margin: 0;
    float: left;
    padding-top: 4px;
    color: #303030;
    font-size: 14pt;
}

.language-menu-container
{
    float: right;
    width: 50px;
    height: 50px; 
    background-color: #303030;
    cursor: pointer;
    font-size: 16pt;
    padding-left: 5px;
    padding-right: 5px;
    order: 3;
}

.language-menu-container:hover .language-menu-dropdown
{
    display: block;
}

.language-menu-container a
{
    padding-top: 12px;
    padding-bottom: 12px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 0;
}

.language-menu-dropdown
{
    display: none;
    background-color: inherit;
    width: inherit;
    height: auto;
}

.languae-menu-dropdown a
{
    display: block;
}

.content-container
{
    width: 100%;
}

.content-container #header
{
    background-color: #303030;
    border-bottom: solid 2px black;
    border-radius: 10px;
    width: auto;
    height: 50px;
}

.content-container #unfold-button
{
    float: left;
    background-color: white;
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 20px;
    cursor: pointer;
}

.content-container #unfold-button img
{
    width: 20px;
    height: 20px;
    margin-top: 9px;
    margin-left: 10px;
    pointer-events: none;
}

.content-container #title
{
    float: left;
    width: auto;
    padding-top: 10px;
   
}

.content-container #title h2
{
    color: white;
    margin: 0 10px;
}

.content-container #main-content
{
    width: 100%;
    height: fit-content;
}

.video-container #header
{
    border-radius: 0;
}

.video-container
{
    height: fit-content;
    background-color: black;
    border: solid 4px black;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow-x: auto;
}

.video-container #header
{
    padding-left: 10px;
    display: flex;
    justify-content: left;
    height: 36px;
    background-color: black;
   
}

.video-container #content
{
    display: flex;
    overflow-x: auto;
}

.video-container iframe
{
    min-width: 320px;
    min-height: 240px;
    border: solid 4px black;
}
 
.video-container h2
{
    margin: 0;
    padding: 0;
    color: white;
    text-align: center;
}

.gallery
{
    width: 100%;
    height: auto;
}

.image-container
{
    display:flex;
    padding: 0 10px;
}

.image-container img
{
    max-width: 100%;
}

.navigation-button
{  
    background-color: #303030;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.navigation-button#right-nav-button
{
    background-image: url("img/scrollright_btn.svg");
    background-size: 25px 25px;
    background-position: center;
    background-repeat: no-repeat;
}

.navigation-button#left-nav-button
{
    background-image: url("img/scrollleft_btn.svg");
    background-size: 25px 25px;
    background-position: center;
    background-repeat: no-repeat;
}

.navigation-button:hover
{
    background-color: orangered;
}

.nav-button-container
{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #303030;
    z-index: 1;
}

.links-content-container
{
    display: flex;
}

.card-container #header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-container #header #tags
{
    display: flex;
    flex-wrap: wrap;
}

#header #tags p
{
    font-size: 14pt;
    background-color: #303030;
    color: white;
    margin: 5px;
    border: 2px solid #303030;
    border-radius: 10px;
    padding: 0 5px;
}

.card-container #link
{
    display: flex;
    justify-content: flex-end;
}

.card-container #link a
{
    font-size: 18pt;
    font-family: 'Teko', sans-serif;
    text-decoration: none;
    color:rgb(80, 80, 255);
    margin: 5px;
}

.card-container
{
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: white;
    padding: 5px;
    margin: 5px;
}

.flex-fill-block
{
    display: none;
    width: 50px;
    height: 50px;
}

.project-table
{
    width: 100%;
    background-color: #303030;
    border-radius: 15px;
    margin-bottom: 10px;
    padding-bottom: 30px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.project-table th
{
    color: white;
    font-size: 18pt;
}

.project-table td
{
    border: 2px solid white;
    background-color: white;
    font-size: 14pt;
}

.jobs-quote-anim
{
    animation: quote-animation 1s ease-in;
}
.quote-sign-anim
{
    animation: quote-sign-animation 2s ease-in;
}

@keyframes quote-animation {
    0%{left: -120%;}
    100%{left: 0%;}
}
@keyframes quote-sign-animation {
    0%{right: -100%;}
    100%{right: 0%;}
}

@media screen and (min-width: 820px)
{
    .mobile-menu-container { display: none }
}

@media screen and (min-width: 0px) and (max-width: 812px)
{
    .logo-container{display: none;}
    .menu-container{display: none;}
    .download-icon{display: none;}

    .slide#second h1{line-height: 1; padding-top: 0;}
    main#about h2{line-height: 1.2; margin-left: 5%; margin-right: 5%;}
    main.projects{background-color: white; border: none;}
    main.projects h1, h2, p{line-height: 1.2; color: black; text-align: justify;}

    .side-menu-list-container{flex-direction: row; overflow-x: auto;}
    .side-menu-list-item{border-style: solid; border-color: white; background-color: #303030;}
    .side-menu-list-item p{color: white;}
    .side-menu-list-item#back{width: 100%; border-color: white;}
    .side-menu-list-item.inactive{border-style: dashed; border-color: #303030; background-color: inherit;}
    .side-menu-list-item.inactive p{color: #303030;}
    .side-menu-container#left {position: fixed; height: 80px; width: 100%; top: 50px; border: none; border-bottom: solid 2px #303030; z-index: 2;}
    .side-menu-container#right{grid-area: 3/1/4/4; border-left: none; border-top: 2px solid black;}
    main.projects{grid-area: 3/1/4/4; height: fit-content;}
    .slide#first{background-size: 200%;}
    .slide#first h1{font-size: 8vw;}
    
    .side-menu-list-container li#back{width: 100%;}

    .tooltip .tooltip-text{display: none;}

    .web-page-name-container{display: block;}
    header{display: flex; justify-content: space-between; align-items: center;}
    .flex-fill-block{display: block;}
    .language-menu-container{padding: 0;}

    .video-container iframe{width: 100%;height: auto;border: solid 4px black;}
    .video-container #header{justify-content: center;}
    .video-container #content{flex-direction: column; overflow-x: hidden;}

    .content-container #title{padding-top: 10px;}
    .content-container p{color: black;}

    .text-container{padding: 0; margin: 0;}
    .text-container{box-shadow: none;}
    .text-container#header{border-radius: 0;}

    .right-side-menu-button{display: block;}

    .project-table td#download{display: none;}
}
