body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: rgb(10, 10, 10);
    /* background-image: url("./images/space_scene.jpg"); */
    background-size: cover;
    overflow: hidden;
}

body {
    overflow: auto;
}

h1, h2, p, li, a{
    color:rgb(245, 245, 245)
}

#hide_page {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(17, 17, 17);
    z-index: 200;
}

#display_div {
    position: fixed;
    top:0;
	left:0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background-color: #222;
	display: none;
}

#display_div img {
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#display_div img:hover {
    cursor: pointer;
}

#wrp_main {
    width: 70%;
    min-height: 100%;
    display: block;
    margin: 0 auto;
    background-color: rgb(20, 20, 20);
    overflow: auto;
}

#wrp_page_content_all {
    display: block;
    overflow: auto;
    margin-bottom: 4rem;
}

#wrp_top {
    overflow: auto;
    background-color: rgb(14, 14, 14);
}

#contact_details {
    display: block;
    margin-left: 5rem;
    overflow: auto;
}

#my_name, #my_email {
    float: left;
    margin-top: 4rem;
    margin-right: 6rem;
    margin-bottom: 0;
}

#my_name {
    font-size: 3rem;
    letter-spacing: 0.087rem;
    font-weight: 300;
}

#my_email {
    clear: both;
    margin: 0;
    margin-top: 0.1rem;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.093rem;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

#info_nav {
    display: block;
    clear: both;
    margin-top: 2.7rem;
}


#info, #external_links {
    display: block;
    margin-bottom: 0.5rem;
}

#external_links {
    clear: left;
    float: left;
    margin-left: 5rem;
}

#info {
    float: right;
    margin-right: 5rem;
}

#external_links li, #info li {
    display: inline-block;
    font-weight: 400;
    font-size: 1.3rem;
}

#external_links li {
    margin-right: 2rem;
}


#info li {
    margin-left: 2rem;
}


#wrp_content {
    overflow: auto;
    margin-bottom: 6rem;
}

.wrp_content {
    overflow: auto;
    margin-bottom: 6rem;
}

#wrp_about_content {
    width: 60%;
    margin: 2rem auto;
    margin-top: 10rem;
    overflow: auto;
}

#wrp_about_content img {
    display: inline-block;
    vertical-align: middle;
    max-width: 50%;
    max-height: 20rem;
    margin-right: 4rem;
    border-radius: 50%;
}

#wrp_about_content p {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    margin-top: 2rem;
    width: 50%;
    font-size: 1.2rem;
    max-width: 40rem;
}

#page_sections {
    width: calc(100% - 8.5rem);
    margin: 3rem auto;
    margin-bottom: 1rem;
    text-align: center;
    overflow: auto;
    box-sizing: border-box;
    display: flex;
}

#page_sections li {
    margin: 0 auto;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
}

#page_sections li:hover,  #info li:hover, #my_name:hover {
    cursor: pointer;
}

#gallery {
    width: calc(100% - 8.5rem);
    min-height: 5rem;
    background-color: rgb(20, 20, 20);
    display: block;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 5rem;
    overflow: auto;
}

#gallery li {
    width: calc(100%/3);
    aspect-ratio: 1/1;
    box-sizing: border-box;
    float: left;
    border: 1px;
    border-style: none;
    border-color: rgb(20, 20, 20);
    background-color: rgb(20, 20, 20);
    padding: 0;
    position: relative;
}

#gallery img {
    display: block;
    position: absolute;
    width: 90%;
    height: 90%;
    object-fit: cover;
    margin: 0;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.wrp_project {
    display: block;
    width: calc(100% - 8.5rem);
    margin: 0 auto;
    margin-top: 7rem;
    overflow: visible;
    font-size: 0;
    text-align: center;
    font-size: 0;
}

.wrp_project img {
    display: inline-block;
    max-height: 50rem;
    max-width: calc(100% - 4rem);
    margin: 0 0.5rem;
    margin-top: 1rem;
    vertical-align: top;
}

.wrp_project img:hover {
    cursor: pointer;
}

.wrp_project p {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 auto;
    margin-top: 2.7rem;
    max-width: calc(100% - 8.5rem);
}

.wrp_project p a {
    color: rgb(53, 75, 138);
}

.project_slideshow {
    position: relative;
    width: calc(100% - 4rem);
    /* aspect-ratio: 1.5/1; */
    aspect-ratio: 16/10;
    margin: 0 auto;
    margin-top: 1rem;
    background-color: #222;
    overflow: hidden;
}

.project_slideshow img {
    max-width: 100.5%;
    max-height: 100.5%;
    height: 100.5%;
    width: 100.5%;
    object-fit: contain;
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    display: none;
    margin: 0;
}

.wrp_project video {
    margin-top: 2rem;
    max-height: 45rem;
    max-width: calc(100% - 4rem);
}

.wrp_project:hover .btn {
    opacity: 1;
    transition: opacity 0.6;
}

.btn {
    width: 2.7rem;
    height: 100.5%;
    display: block;
    background-color: rgba(180, 180, 180, 0.507);
    opacity: 0.1;
    z-index: 98;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.6s;
}

.btn:hover {
    opacity: 1;
    transition: opacity 0.6s;
}

.btn img {
    display: block;
    width: 100%;
    height: auto;
}

.btn_left {
    background-image: url("./images/arrow_left.png");
    position: absolute;
    top: 50%;
    /* left: -2rem; */
    left: 0px;
    transform: translate(-2px, -50%);
    /* transform: translate(-50%, -50%); */
    background-size: contain;
}

.btn_right {
    position: absolute;
    top: 50%;
    right: 0px;
    /* right: -2rem; */
    transform: translate(2px, -50%);
    /* transform: translate(50%, -50%); */
    background-image: url("./images/arrow_right.png");
    background-size: contain;
}

.btn:hover {
    cursor: pointer;
}

@media all and (max-width: 1700px) {
    
    #wrp_main {
        width: 100%;
    }
}

@media all and (max-width: 1200px) {
    
    #page_sections li {
        font-size: 1.3rem;
    }

    #contact_details, #external_links {
        margin-left: 2rem;
    }

    #info {
        margin-right: 2rem;
    }

    #page_sections, .wrp_project {
        width: calc(100% - 4.5rem);
    }

}

img::selection {
    background-color: transparent;
}

img::-moz-selection {
    background-color: transparent;
}

#about, #cv, #graphic_design, #d3, #i_and_s, #photography, #multimedia {
    display: none;
}

#d3 {
    display: none;
}