/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-- START EDITING HERE --*/



body {
    background-image: url(Images/Background-Image.webp);
    background-size: cover;
    background-position: top;
    width: 100%;
    height: 100vh;
    text-align: center;
    font-family: Anta;
    color: white;
}

header{
    background-color: rgba(0, 0, 0, 0.185);
    height: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(5px);
    border-bottom: 5px solid black;
}

/* nav{
    margin: 5px;
    flex: 1;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    margin: 5px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.308);
}

nav a:hover {
    font-size: 25px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.61);
} */

h1 {
    font-size: 72pt;
    font-weight: bold;
    text-transform: uppercase;
    margin: auto auto;
    text-shadow: 2px 2px 2px black;
    /*flex: 2; */
}

h2 {
    font-size: 48pt;
    margin: 10px auto;
    font-weight: bold;    
    text-shadow: 2px 2px 2px black;
}

h3 {
    font-size: 24pt;
    margin: 5px;
    font-weight: bold;
    text-shadow: 2px 2px 2px black;
}

h4{
    font-size: 20pt;
    margin-bottom: 5px;
}

h5 {
    font-size: 16pt;
}

p {
    font-size: 16pt;
    font-family: DM Sans;
    line-height: 120%;
}

#landscape-section, #product-section, #portrait-section {
    outline: solid blue;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    margin: 10px;
    padding: 5px;
}

.row-1, .row-2 {
    flex: 1;
    margin: 5px;
    display: flex;
    flex-direction: row;
}

.picture {
    flex: 1;
    max-height: 100%;
    width: auto;
    margin: 5px;
}

img {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

#video-section, #photo-section, #about-me {
    display: flex;
    flex-direction: row;
    height: 50%;
    max-width: 100%;
    margin: 10px;
}

.profile-pic, .profile {
    flex: 1;
    margin: 5px;
}

.profile-pic img {
    height: 100%;
    max-width: 100%;
}

.profile {
    text-align: left;    
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

.video {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 5px;
    /*transition: height 0.5s;
    cursor: pointer;*/
}

/*.video.fullscreen {
    height: 100vh;
} */

.vid {
    flex: 2; 
    margin: 5px;
    padding: 5px;
    overflow: hidden;
}

.vid video {
    height: 100%;
    max-width: 100%;
}

.vid-descrip {
    background-color: rgba(0, 0, 0, 0.5);
    flex: 1;
    margin: 5px;
    padding: 5px;
    overflow: scroll;
}

.photo {
    margin: 5px;
    flex: 1;
    position:relative;
}

.pic-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pic{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -3;
}

.showing{
    opacity: 1;
}

footer{
    height: 10%;
    margin: 10px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.185);
    backdrop-filter: blur(5px);
    border-top: 5px solid black;
}

#logos {
    flex: 1;
    display: flex;
    height: 98%;
    width: 35%;
    justify-content: center;
    align-items: center;
}

.logo {
    flex: 1;
    margin: 5px;
}

li a {
    font-family: DM Sans;
    line-height: 120%;
    color: white;
}

/* FOR TABLETS */
@media only screen and (min-width: 600px) and (max-width: 1024px){
    h1{
        font-size: 8vw;
    }
    h2{
        font-size: 6vw;
    }
    h3{
        font-size: 4vw;
    }
    h4{
        font-size: 3vw;
    }
    p{
        font-size: 2vw;
    }
    header{
        height: 15%;
    }
    #video-section, #photo-section, #about-me {
        display: flex;
        flex-direction: column;
        height: auto;
        max-width: 100%;
        margin: 10px;
    }
    #photo-section{
        height: 100%;
    }
}

/* FOR PHONES */
@media only screen and (max-width: 600px){
    body{
        background-size: contain;
    }
    h1{
        font-size: 8vw;
    }
    h2{
        font-size: 6vw;
    }
    h3{
        font-size: 4vw;
    }
    h4{
        font-size: 4vw;
    }
    p{
        font-size: 3vw;
        text-align: center;
    }
    header{
        height: 10%;
    }
    #video-section, #photo-section, #about-me {
        display: flex;
        flex-direction: column;
        height: auto;
        max-width: 100%;
        margin: 10px;
    }
    #photo-section{
        height: 80%;
    }
    .vid-descrip{
        overflow: visible;
    }
}