body {
    background-color: black;;
    /*display: flex;*/
    max-width: 100%;
    overflow-x: hidden;
    /*align-items: center;*/
    /*justify-content: center;
    flex-direction: column-reverse;*/
}

@font-face {
    font-family: Amiri;
    src: url(/font/Amiri-Regular.ttf);
}

#mainContent {
    display:flex;
    flex-direction: column;
}


#threecontent {
    display:block;
    width:100%;
    height:100%;
    margin: auto;
    text-align:center;
    order: 1;
}

#text {
    display:block;
    width: 40%;
    margin: auto;
    padding-top: 5%;
    padding-bottom: 3%;
    order: 2;
}

#socials {
    order: 3;
    text-align:center;
    padding-bottom: 3%;
}

.socialimg {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    height: 50px; 
}

table {
    color:rgb(255, 255, 255);
}


#vidcontainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#subtext {
    color:rgb(165, 165, 165);
    font-family:Garamond;
    text-align:right;
    font-size: 1em;
    margin-top:0%;
    margin-bottom:5%;
}

#worktext {
    display:block;
    color:white;
    font-family: Garamond;
    font-weight:lighter;
    font-size: 7em;
    margin-bottom:0;
    text-align:center;
    margin-top:2%;
}

#smalltext {
    color:white;
    font-family:Garamond;
    margin-top:0;
    text-align:center;
    margin-bottom:4%;
}

#vidtitel {
    display:block;
    color:white;
    font-family: Garamond;
    font-weight:lighter;
    font-size: 2em;
    margin-bottom:1%;
}

#line1 {
    width:60%;
    margin:auto;
    height:1px;
    color:white;
    background-color:white;
    display:"block";
    order: 4;
}

#line1v2 {
    width:100%;
    margin:auto;
    height:1px;
    color:white;
    background-color:white;
    display:"block";
    order: 4;
}

#line2 {
    height:1px;
    border: none;
    color:rgb(88, 88, 88);
    background-color:rgb(88, 88, 88);
    display:"block";
}

#work {
    width: 60%;
    margin: auto;
    order: 5;
}

@media only screen and (max-width: 600px) {
    #work {
        width: 95%;
    }
    #line1 {
        width:95%;
    }
    #text {
        width: 80%;
        margin-bottom:10%;
    }
    #worktext {
        margin-top:10%;
    }
    #instaimg {
        margin-bottom:10%;
    }
    #vidtitel {
        font-size:1.6em;
    }
    #subtext {
        font-size:0.8em;
    }
    #smalltext {
        margin-bottom:15%;
    }
  }
/*Time for the CSS*/

.slider{
	width:100%;
	position: relative;
	/*Instead of height we will use padding*/
	padding-top: 100%; /*That helps bring the labels down*/
	margin: auto;
	/*Lets add a shadow*/
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
}


/*Last thing remaining is to add transitions*/
.slider>img{
	position: absolute;
	left: 0; top: 0;
	transition: all 0.5s;
    width: 100%;
}

.slider input[name='slide_switch'] {
	display: none;
}

.slider label {
	/*Lets add some spacing for the thumbnails*/
	margin: 18px 0 0 18px;
	border: 3px solid #999;
	
	float: right;
	transition: all 0.5s;
	
	/*Default style = low opacity*/
	opacity: 0.6;
}

.slider label img{
	display: block;
}

/*Time to add the click effects*/
.slider input[name='slide_switch']:checked+label {
	border-color: #666;
	opacity: 1;
}
/*Clicking any thumbnail now should change its opacity(style)*/
/*Time to work on the main images*/
.slider input[name='slide_switch'] ~ img {
	opacity: 0;
	transform: scale(1);
}
/*That hides all main images at a 110% size
On click the images will be displayed at normal size to complete the effect
*/
.slider input[name='slide_switch']:checked+label+img {
	opacity: 1;
	transform: scale(1);
}
/*Clicking on any thumbnail now should activate the image related to it*/
