body, ul, li, h1, h2, a{
    margin: 0;
    padding: 0;
    font-family: arial;
    overflow-x: hidden;
    text-decoration: none;
}
body{
    background-color: #00cacd;
    background-image: url(IMG/Website\ bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* The sidebar menu */
.sidenav {
    height: auto;
    height: 100%;
    position: fixed;
    z-index: 2;
    right: 0;
    top: 0;
    background-color: white;
    overflow-x: hidden;
    overflow: visible;
    padding-top: 1%;
    padding-bottom: 1%;
    border-left: 0.5em solid black;
    left: auto;
}
.sidenav a{
    padding: 0.86em 0.1em 0.86em 0.1em;
    text-decoration: none;
    font-size: 4.1em;
    color: black;
    display: block;
    text-align: center;
    border: 0.15em solid black;
    margin: 0.2em;
    background-image: url(IMG/SideNav\ BG.png);
    background-size: cover;
    transition: transform .2s;
}
.sidenav a:hover{
    color: #ed1e25;
    transform: scale(1.2);
    z-index: 3;
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.title{
    position: relative;
    z-index: 0;
}
.title img{
    position: relative;
    max-width: 100%;
    max-height: 100%;
    top: 5.6em;
    left: 53%;
    height: 53.5em;
    z-index: 20;
}
.title .name{
    color: white;
    padding: 1em;
    position: absolute;
    top: 30%;
    left:10%;
    /* background-image: url(IMG/pfp.png);
    background-size: contain;
    background-repeat: no-repeat; */
    background-color: #ed1e25;
    border: 0.3em solid black;
    box-shadow: 0.3em 0.3em black;
    font-size: 2.5em;
    z-index: 1;
    line-height: 1.6em;
}
.title .name span{
    font-size: 0.6em;
}
.subname{
    padding-top: 1.5em;
    color: white;
    position: absolute;
    font-size: 1em;
    overflow-x: hidden;
    overflow: visible;
}
.bg{
    display: inline;
    position: absolute;
    background-color: #f2e567;
    z-index: 0;
    box-shadow: 0.3em 0.3em black;
    border: 0.3em solid black;
    padding: 0.8em 2em 2.5em 1.2em;
    top: 51%;
    left: 29%;
    color: white;
    font-size: 1.5em;
    z-index: 1;
}
/* .bg2{
    display: inline;
    position: absolute;
    background-color: rgb(228, 228, 0);
    z-index: 0;
    box-shadow: 10px 10px black;
    border: 8px solid black;
    padding: 50px 50px 50px 50px;
    top: 28%;
    left: 5%;
    color: white;
    font-size: 30px;
} */
.subname a{
    color: white;
    transition: transform .2s;
}
.subname a:hover{
    display: inline-block;
    color: #ed1e25;
    transform: scale(1.01);
    z-index: 3;
}

/* the sidebar menu 2 */
.sidenav2 {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    right: 0;
    top: 0;
    background-color: white;
    overflow-x: hidden;
    max-width: 100%;
    overflow: visible;
    transition: 0.5s;
    border-left:  0.4em solid black;
    padding-top: 1em;
}
.sidenav2 a{
    padding: 0.8em 0.5em 0.8em 0.5em; 
    text-decoration: none;
    font-size: 2.5em;
    color: black;
    display: block;
    text-align: center;
    border: 0.15em solid black;
    margin: 1em 0.5em 1em 0.5em;
    background-image: url(IMG/pfp.png);
    background-size: cover;
    transition: transform .2s;
}
.sidenav2 a:hover{
    color: #ed1e25;
    transform: scale(1.3);
    z-index: 3;
}
.sidenav2 .closebtn{
    position: absolute;
    top: 0;
}
#main{
    transition: margin-right .5s;
    padding: 0;
    height:100%;
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

#main p{
    background-image: url(IMG/pfp.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    display: inline-block;
    right: 10%;
}
#openclose{
    position:fixed;
    background-color: white;
    right: 0%;
    transition: margin-right .5s;
    padding: 1em 1.2em 1em 1em;
    top: 0%;
    border: 0.4em solid black;
    z-index: 3;
}
#openclose .open:hover{
color: gray;
}
#openclose .close:hover{
color: gray;
}
#gallery{
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    text-align:center;
    left: 15%;
    right: 15%;
    max-width: 69%;
    position: relative;
    top: 6em;
    transition: margin-right .5s;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 0.6em;
    padding-right: 0.6em;
    border: 0.4em solid black;
}
#main{
    padding-bottom: 7em;
}

#gallery li{
    height: 400px;
    flex: 1 1 auto;
    display: inline-flex;
    margin: 0.5em;
    border: 0.4em solid black;
}
#gallery img{
    transition: margin-right .5s;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: black;
}
.bodytwo{
    overflow:visible;
    background-image: url(IMG/Website\ bg.png);
    background-size: contain;
    background-repeat: repeat;
}
#test{
    position:fixed;
    background-color: #f2e567;
    border: 0.2em solid black;
    right: 13%;
    left: 13%;
    transition: margin-right .5s;
    top: 0%;
    z-index: 2;
    padding: 0.3em;
    font-size: 2em;
    display: flex;
    align-items: center;
}
#test img{
    width: 1.5em;
    top: 0%;
}
#test a{
    text-align: left;
    color: #ed1e25;
    position: absolute;
    font-size: 0.8em;
    left: 2.3em;
}
#test span{
    position: relative;
    left: 45%;
    right: 50%
    
}
#reel{
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    text-align:center;
    left: 15%;
    right: 15%;
    max-width: 69%;
    position: relative;
    top: 5.5em;
    transition: margin-right .5s;
    min-height: 10em;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border: 0.4em solid black;  
}
#reel .videotwo{
    height: 750px;
    flex: 1 1 auto;
    display: inline-flex;
    margin: 1em;
    border: 0.4em solid black;
}
#reel .videotwo iframe{
  transition: margin-right .5s;
    width: 100%;
    height: 100%;
    object-fit: contain;  
}
