html{ width: 100%; height: 7000px; } /*body*/ body{ margin: 0; z-index: 0; overflow-y: scroll; overflow-x: hidden; background-color: black; width: 100%; max-width: 100%; } /*navbar*/ #Nav { overflow: hidden; background-color: #333; height: 6%; width: 100%; top: 0; text-align: center; z-index: 5; position: fixed; } .nav-contact { background-color: rgb(119, 168, 182) } .nav-Staff { background-color: #A5CCA8 } .nav-Programs { background-color: #75AB9B; } .nav-Election { background-color: #A5BBA8; } .nav-Home { background-color: rgb(54, 78, 85); } /*active page*/ .active{ background-color: #3F5C64; } /* Navbars items */ #Nav a p{ height: 100%; } #Nav a { float: left; font-size: 16px; color: white; text-decoration: none; display: block; width: 20%; height: 100%; } /* parallax */ .parallax { /* The image used */ background-image: url("../img/Navimg.jpg"); /* height */ height: 10%; /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: top; background-repeat: no-repeat; background-size: cover; } .parallaxBack{ /* The image used */ background-image: url("../img/Navimg.jpg"); /* height */ height: 61%; /* Create the parallax scrolling effect */ background-attachment: fixed; background-position: top; background-repeat: no-repeat; background-size: cover; } /* if hoverd on navbars item */ #Nav a:hover{ background-color: #A5BCA8; color: #3F5C64; height: 100%; } /* pages section */ .Pdiv{ height: 100%; width: 100%; color: black; // margin-top: 2%; } /*parallax of the page itself */ .parallax2{ /* height */ // height: 30%; width: 100%; /* Create the parallax scrolling effect*/ background-attachment: fixed; background-position: top; background-repeat: no-repeat; background-size: cover; } h1{ text-align: center; font-family: "Times New Roman", Times, serif; } /*Strip the nav of padding and list styling*/ nav { list-style-type:none; margin:0; padding:0; position: absolute; } .show-menu { text-align: center; background-color: #333; padding: 10px 0; color: white; width: 100%; display: none; position: fixed; } /*Hide checkbox*/ input[type=checkbox]{ display: none; } /*Show menu when invisible checkbox is checked*/ input[type=checkbox]:checked ~ #Nav{ display: block; height: 100%; } input[type=checkbox]:checked ~ #Nav a{ width: 100%; display: block; height: 20%; } /*Create a horizontal list with spacing*/ a { display:inline-block; } /*Style for menu links*/ /*Responsive Styles*/ @media screen and (max-width : 760px){ /* parallax */ .parallax { /* height */ height: 0%; } .parallaxBack{ height: 0%; } /*Make dropdown links appear inline*/ nav { position: static; display: none; } /*Create vertical spacing*/ a { margin-bottom: 1px; } /*Make all menu links fnavl width*/ .navbar a { width: 100%; } /*Display 'show menu' link*/ .show-menu { display:block; z-index: 9; } } .song{ margin-left: 7%; } /* poll */ @media screen and (max-width : 600px){ .inputGroup label:after{ width: 93%; } .song{ margin-left: 0%; } #player{ position: fixed; left: 0; bottom: 0; width: 100%; background-color: #fff; text-align: center; height: 14%; z-index: 20; } #play{ width: 25%; } #logo{ width: 31%; } #pause{ width: 25%; } } .inputGroup { background-color: #fff; display: block; margin: 10px 0; position: relative; } .inputGroup label { padding: 12px 30px; // width: 92%; display: block; text-align: left; color: #3c454c; cursor: pointer; position: relative; z-index: 2; transition: color 200ms ease-in; overflow: hidden; } .inputGroup label:before { width: 100%; height: 10px; border-radius: 50%; content: ""; background-color: #A5BCA8; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%) scale3d(1, 1, 1); transform: translate(-50%, -50%) scale3d(1, 1, 1); transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); opacity: 0; z-index: -1; } .inputGroup label:after { border-radius: 50%; z-index: 2; position: absolute; right: 15%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); cursor: pointer; transition: all 4000ms ease-in; } .inputGroup input:checked ~ label { color: #3F5C64; } .inputGroup input:checked ~ label:before { -webkit-transform: translate(-50%, -50%) scale3d(56, 56, 1); transform: translate(-50%, -50%) scale3d(56, 56, 1); opacity: 1; } .inputGroup input { position: absolute; -webkit-transform: translateY(-50%); transform: translateY(-50%); cursor: pointer; visibility: hidden; } .submit{ display: inline-block; border-radius: 4px; background-color: #A5BCA8; border: none; color: #3F5C64; text-align: center; font-size: 28px; padding: 20px; // width: 25%; transition: all 0.5s; cursor: pointer; margin: 5px; transition: 0.5s; } .submit:hover{ padding-right: 5%; } .submit:hover:after { opacity: 1; right: 0; } .frame{ width: 100%; height: 34%; border:0; overflow:hidden; } input[type=text], input[type=password] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; } .container { padding: 16px; } /* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ padding-top: 60px; } /* Add Zoom Animation */ .animate { -webkit-animation: animatezoom 0.6s; animation: animatezoom 0.6s } @-webkit-keyframes animatezoom { from {-webkit-transform: scale(0)} to {-webkit-transform: scale(1)} } @keyframes animatezoom { from {transform: scale(0)} to {transform: scale(1)} } /* Change styles for span and cancel button on extra small screens */ @media screen and (max-width: 300px) { span.psw { display: block; float: none; } .cancelbtn { width: 100%; } } .white{ color: white; } .songs{ position: -webkit-sticky; /* Safari */ position: sticky; top: 0; }