:root {
    --blue: #4285f4;
    --lightgrey: #eeeeee;
    --darkgrey: #bdbdbd;
    --tangerine: #f26419;
    --orange: #ffab40;
  }

/* Global */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Header */
header{
    position: fixed;
    width: 100%;
    z-index: 10;
}
nav{
    background-color: black;
    padding-left: 20%;
    padding-right: 20%;
    height: 60px;
    align-items: center; 
    justify-content: center;
}

nav ul{
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 60px;
}
#navlink, #navlinkactive{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
#navlink a:link, #navlink a:visited {
    color: var(--lightgrey);
  }
#navlinkactive a:link {
    color: var(--blue);
  }
#navlink a:hover, #navlink a:visited:hover {
    color: var(--orange);
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--lightgrey);
    font-weight: bold;
    font-size: 12px;
}

nav li:first-child{
    margin-right: auto;
    width: 50%;
}

.name-role-grid {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-gap: 1px;
    width: 400px;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.grid-child {
    width:100%;
    display: flex;
    justify-content: center;
}

.playcontainer{
    margin: 0;
    width: 60px;
    display: grid;
    justify-content: center;
    align-items: center;   
}
.playcircle{
    grid-column: 1;
    grid-row: 1;    
    background-color: var(--orange);
    border: 3px solid #ffffff;
    color: white;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}
.playtriangle{
    grid-column: 1;
    grid-row: 1;
    justify-content: center; 
    width: 0;
    height: 0;
    border-top: solid 10px;
    border-bottom: solid 10px;
    border-left: solid 20px;
    margin-left: 16px;
    border-color: transparent transparent transparent white;    
}
.hamlink{
    padding: 0 30px;
}
.hambutton {
    fill: var(--blue);
    height: 24px;
    padding-bottom: 18px;
}
.name{
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 4px;
    color: var(--lightgrey);

    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    /* background-color:rgb(245, 245, 245); */
    background-color: rgb(29, 29, 29);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    vertical-align: middle;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}

.menu-button {
    display: none;
    max-height: 60px;
}
/* Body */
body{
    min-height: 100vh;
    font-family: "Public Sans", "Arial", sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}
/* Horizontal centering of main block */
.main-container{
    display: flex;
    justify-content: center;
    min-height: 100%;
    margin: 0;
    background-color: white;
    min-height: 100vh;
}
.main-gutter {
    max-width: 90%;
}
main{
    margin-left: 20%;
    margin-right: 20%;
    padding-bottom: 5%;
    background-color: white;
    width:100%;
    display: flex;
    justify-content: center;
}
section {
     scroll-margin-top: 5em;
     margin-top: 2%;
}
h1{
    color: #1c2a3e;
    font-size: 40px;
    font-weight: 700;
    margin-top: 2%;
    margin-bottom: 2%;
}
h2{
    color: #1c2a3e;
    font-size: 35px;
    font-weight: 700;
    margin-top: 2%;
    margin-bottom: 2%;
}
h3{
    color: #7a7a7a;
    font-size: 30px;
    font-weight: 700;
    margin-top: 2%;
    margin-bottom: 2%;
}
p{
    color: #3d4f67;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8;
}
hr {
    width: 20%;
    border: 1px solid var(--darkgrey);;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 5%;
}
.image {
    padding-top: 2%;
    padding-bottom: 2%;
}
.video {
    position:relative;
    padding-top:56.25%;
    margin-top: 2%;
    margin-bottom: 2%;
}
iframe {
    z-index: 0;
}
a:link {
    color: var(--blue);
  }
a:visited {
    color: var(--blue);
}
a:hover {
    color: var(--orange);
}
a:active {
    color: var(--blue);
}

.hero {
    padding-top: 60px;
    width: 100%;
}
/* Array of box art */
.boxestable {
    border-spacing: 10px 20px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.boxescell {
    text-align: center;
    vertical-align: middle;
    padding-top: 20px;
    padding-bottom: 20px;

  }
.box {
    border-radius: 5%;
    height: 100%;
    max-height: 160px;
    width: auto;
    border-width: 1px;
    border-color: var(--darkgrey);
    border-style: solid;
}

/* To Top Button */
  .triangle-up {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    width: 0;
    height: 0;
    border-bottom: solid 20px;
    border-left: solid 10px;
    border-right: solid 10px;
    border-color: transparent transparent white transparent;
    margin-left: 12px;
}
  #topBtn {
    display: none;
    z-index: 98; /* Make sure it does not overlap */
    background-color: orange; /* Set a background color */
    border:3px solid #ffffff;
    color: white; /* Triangle color */
    cursor: pointer; /* Add a mouse pointer on hover */
    border-radius: 50%;
    height: 50px;
    width: 50px;    
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    position:absolute;
    margin-left: 400px;

}
  #topBtn:hover {
    background-color: #555;
  }
  /* Footer */
footer {
    background-color: black;
    height: 60px;
    display: flex;
    align-items: center; 
    justify-content: center;
    /* padding-left: 25%;
    padding-right: 25%; */
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 98;
    padding-top: 15px;

    margin: 0;
    padding: 0;
}

.footer-text {
    color: var(--orange);
    font-weight: bold;

    text-align: center;
}

.footer-text2 {
    color: var(--blue);
    font-weight: bold;
}

.footer-long {
    position: relative
}

.carousel {
    margin-bottom: 100px;
}

.carousel-item {
    max-width: 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23808080' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
    position: absolute;
    bottom: -45px;
    left: 20px;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23808080' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
    position: absolute;
    bottom: -45px;
    right: 20px;
}

.carousel-indicators {
    background-color: gray;
    margin-bottom: -40px;
    border-radius: 50px;
}

.c1-screen {
    width: 100%;
    /* height: 100%; */
    max-height: 650px;
}

/* Media */
/* @media screen and (max-width: 1240px){ */
@media screen and (max-width: 1350px){
    main {
        margin-left: 15%;
        margin-right: 15%;
    }
    nav {
        padding-left: 15%;
        padding-right: 15%;
    }
    nav a{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display:block;
    }
    .boxestable {
        width: 90%;
    }

}
@media screen and (max-width: 740px){
    main {
        margin-left: 8%;
        margin-right: 8%;
    }
    nav{
        padding-left: 8%;
        padding-right: 8%;
    }
    .boxestable {
        border-spacing: 40px 20px;
    }
    #topBtn {
        margin-left: 300px;
    }
    .boxestable {
        width: 100%;
    }
}
@media screen and (max-width: 600px){
/* @media screen and (max-width: 510px){ */
    main {
        margin-left: 0;
        margin-right: 0;
    }
    nav{
        padding-left: 0;
        padding-right: 0;
    }
    .playcontainer {
        display: none;
    }
    .name-role-grid {
        grid-template-columns: .01fr 6fr;
        grid-gap: 1px;    
    }
    .grid-child {
        justify-content:flex-start;
    }
}
@media screen and (max-width: 440px){
    main {
        min-width: 85%;
    }
    .sidebar{
        width: 100%;
    }
    .name{
        font-size: 18px;
        /* padding-top: 12px; */
    }
    .playcontainer, .playcircle, .playtriangle{
        display: none;
    }
     .hamlink{
        padding: 0 10px;
     }
    .boxestable{
        border-spacing: 20px 20px;
    }
    #topBtn {
        margin-left: 280px;
    }    
}