* {
	margin: 0;
	padding: 0;
    box-sizing: border-box;
}

:root {
    --background-color: rgb(255, 255, 255);
    --background-color-transperent: rgba(255, 255, 255, 0.5);
    --font-color: #000000;
    --hover-color: rgb(126, 0, 199);
    --design-color: rgb(11, 24, 200);
}

body {
    color: var(--font-color);
    background-color: var(--background-color);
}

a {
    all: unset;
    cursor: pointer;
}

/*navbar and Logo*/

.header {
    position: relative;
    top: 0;
    left: 0;
    background-color: var(--background-color-transperent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 13vh;
    max-height: 300px;
}

.navbardiv {
    float: right;
    padding-right: 2vw;
}

.flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    height: 100%;
    float: left;
    padding-left: 10%;
}

.logoimg {
    height: 100%;
    width: 100%;
}

.icon-bar {
    display: none;
}

.navbar .close-nav {
    display: none;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    align-items: center;
}

.navbar li {
    padding: 0 0.6em;
    text-align: center;
}

.navbar a {
    font-size: 1.3rem;
	display: block;
    padding-left: 1vw;
	padding-right: 1vw;
    font-weight: bold;
}
.navbar a:hover {
    color: var(--hover-color);
    font-size: 1.5rem;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    height: 8vh;
    width: 100%;
    z-index: 4;
}

main.sticky {
    padding-top: 13vh;
}

header.sticky a {
    font-size: 1.2rem;
}

header.sticky a:hover {
    font-size: 1.3rem;
}


/*Main Elements*/

.backgroundBoxfirst {
	background-attachment: fixed;
    -webkit-background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	height: 87vh;
	width: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
    overflow: hidden;
}

.spacer {
    background-color: white;
    width: 100%;
    height: 30px;
}

.backgroundBox {
    display: flex;
	align-items: center;
	justify-content: center;
	background-attachment: fixed;
    -webkit-background-attachment: fixed;
	background-position: center;
	background-repeat:no-repeat;
	height: 80vh;
    max-height: 1500px;
	width: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
    overflow: hidden;
}

.background1, .background2, .background3, .background4, .background5 {
    padding: 30px;
    border: solid;
    border-width: 3px;
    border-color: var(--background-color);
    background-color: var(--background-color-transperent);
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    transform: translateY(-25vh);
}

.backgroundBox-text {
    font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 4rem;
}

.content-title {
    font-family: 'Lobster', cursive;
    text-align: center;
    font-size: 4rem;
    margin: 0;
    padding-top: 30px;
    padding-bottom: 20px;
}

.content1 {
    background-color: var(--background-color);
    width: 100%;
    /* height: 75vh;
    max-height: 800px; */
}

video {
    display: block;
    height: auto;
    margin: auto;
    position: relative;
    width: 100%;
    border-radius: 2rem;
    max-width: 2000px;
}
.video-wrap {
    margin: 5rem auto;
    position: relative;
    width: 70%;
}

.content22 {
    text-align: center;
}

.p-context {
    font-family: 'Lato', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    padding: 10px 100px;
}

.p-context-bold {
    font-family: 'Lato', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
}

.aboutme {
    width: 100%;
    padding: 10px;
}

.aboutmeblock {
    margin: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.aboutmeimg {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutmehex {
    display: block;
    margin: 0 auto;
    position: relative;
    width: 30vw;
    height: calc(30vw*0.866); /* width * 0.866 */
    box-sizing: border-box;
    clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    -moz-clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}

.aboutmehex img {
    position: absolute;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    -moz-clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}

.aboutmetext {
    height: 100%;
    width: 40%;
    margin-right: 8%;
    margin-left: 4%;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}


/* Footer */

footer {
    padding: 50px 0px;
    width: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footerblock {
    width: 80%;
    height: 80%;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footerh1 {
    font-size: 1.5rem;
    font-family: 'Lato', sans-serif;
    padding: 10px;
}

.footerblock p {
    font-size: 1.2rem;
    font-family: 'Lato', sans-serif;
    padding: 5px;
}

.footerblock p a:hover {
    color: var(--hover-color);
    font-weight: 900;
}






@media only screen and (max-width: 850px) {
    .logo {
        width: 70%;
    }
    .icon-bar {
        cursor: pointer;
        display: flex;
        align-items: center;
        border: 2px solid var(--font-color);
        width: 50px;
        height: 50px;
        padding: 0 12px;
        border-radius: 3px;
        margin-right: 10px;
    }
    .icon-bar:hover {
        border: 3px solid var(--hover-color);
    }
    .icon-bar span {
        border-top: 2px solid var(--font-color);
        width: 100%;
    }
    .icon-bar span::before,
    .icon-bar span::after {
        content: "";
        border-bottom: 2px solid var(--font-color);
        display: block;
        height: 8px;
    }
    .overflow-none {
        overflow: hidden;
    }
    .navbar {
        position: fixed;
        width: 100%;
        height: 100%;
        transition: 0.2s linear;
        transform: scale(0);
        top: 0;
        left: 0;
        background-color: var(--background-color);
        z-index: 9;
    }
    .navbar .close-nav {
        all: unset;
        font-size: 2.5rem;
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        cursor: pointer;
    }
    .navbar .close-nav:hover {
        color: var(--design-color);
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
    }
    .navbar li {
        padding: 0.7rem 0;
    }
    .navbar a {
        font-size: 2.5rem;
        text-transform: uppercase;
        text-align: center;
    }
    .navbar a:hover {
        font-size: 2.6rem;
    }
    .nav-scale {
        transform: scale(1);
    }
    header.sticky a {
        font-size: 2.5rem;
    }
    header.sticky a:hover {
        font-size: 2.6rem;
    }
    header.sticky .icon-bar {
        width: 35px;
        height: 35px;
        padding: 0 7px;
    }
    .content-title {
        font-family: 'Lobster', cursive;
        text-align: center;
        font-size: 8vw;
        margin: 0;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .background {
        width: 50vw;
        height: 20vh;
        max-height: 250px;
        border: solid;
        border-width: 3px;
        border-color: #ffffff;
        background-color: #ffffff8f;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        align-items: center;
    }
    .backgroundBox-text {
        text-align: center;
        font-size: 8vw;
        margin: auto 0;
    }
    .p-context { 
        padding: 10px 10px;
    }
    .aboutmeblock {
        margin: 20px;
        display: flex;
        flex-direction: column;
    }
    .aboutmeimg, .aboutmetext {
        margin: 20px 0px;
        width: 100%;
    }
    .aboutmehex {
        width: 60vw;
        height: calc(60vw*0.866); /* width * 0.866 */
    }
    .footerh1 {
        font-size: 1rem;
    }
    .footerblock p {
        font-size: 0.8rem;
    }
    video {
        border-radius: 1rem;
    }
    .video-wrap {
        margin: 2rem auto;
        width: 95%;
    }
}

@supports (-webkit-touch-callout: none) {
    .backgroundBox {
        background: center center no-repeat;
        background-size: cover;
    }
    .backgroundBoxfirst {
        background: center center no-repeat;
        background-size: cover;
    }  
}
    