/* General */
body {
    font-size: 18px;
    color: #008b8b;
    background-image: radial-gradient(circle, #bb86da -100%, #281036 100%); /* Sets the colour for main background of page; used instead of background-colour so that it can give a gradiant instead of a solid colour */
}

#wrapper {
    width: 1080px; /* Sets the width */
    height: 100%; /* Sets the height */
    margin: auto; /* Sets margin */
    text-align: center; /* Aligns text to center */
    background-color: #1c0b26;
    border-radius: 10px;
}

#header {
    z-index: 1;
    width: 1080px;
    height: 65px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    background-color: #1c0b26;
    position: fixed;
    top: 0;
    border-radius: 0px 0px 10px 10px;
}

#title {
    margin-left: 20px;
    margin-top: -15px;
    font-size: 18px;
    float: left;
    color: #998599;
}

#icon {
    display: none;
}

.iconMenu {
    z-index: 1;
    position: fixed;
    height: auto;
    width: 97.5%;
    margin-top: 10px;
    background-color: #1c0b26;
    display: none;
    color: #1c0b26;
    box-shadow: 0px 0px 10px;
}

.iconMenuContents li {
    display: contents;
    float: left;
}

#nav {
    font-size: 16px;
    margin-top: 0px;
    margin-right: 50px;
    float: right;
    transition: 0.5s;
}

.menu li {
    display: inline;
}

.noDot {
    display: block;
}

.iconMenuContents {
    margin-right: 50px; 
}

#footer {
    z-index: 1;
    width: 1080px;
    height: 30px;
    font-size: 18px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    padding-top: 5px;
    background-color: #1c0b26;
    color: #998599;
    clear: both; /* Does not allow float elements on left and right side */
    position: fixed;
    bottom: 0;
    border-radius: 10px 10px 0px 0px;
}

div.scroll {
    overflow-x: hidden;
    overflow-y: auto;
}

hr.sub {
    border : 0;
    height: 1px; 
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 999, 999, 10.75), rgba(0, 0, 0, 0));
}

hr.main {
    border : 0;
    height: 2px; 
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 999, 999, 10.75), rgba(0, 0, 0, 0)); 
}

a {
    color: #998599; /* Changes the text colour */
    text-align: center; /* Aligns text to center */
    margin-right: 0px; /* Sets margin */
    text-decoration: none; /* Removes any decoration to the text */
    transition: 0.2s;
}

a:hover {
    color: #008b8b;
}

.text {
    padding: 10px;
    margin-top: 0px;
}

img.fill {
    height: 100%;
}

img.fit {
    width: 100%;
    border-radius: 10px;
}

img {
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 5px;
    background-color: #1c0b26;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #008b8b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #998599;
}

::-webkit-scrollbar-corner {
    border-radius: 10px;
}

/* Mainly for first page */
#banner {
    margin-top: 50px;
    width: 1080px;
    height: 420px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    border-radius: 10px;
}

#left-section {
    width: 420px;
    height: 420px;
    margin-top: 20px; /* Sets margin */
    margin-left: 10px; /* Sets margin */
    box-shadow: 0px 0px 20px;
    float: left;
    border-radius: 10px;
    transition: 0.5s;
}

#left-section:hover {
    filter: grayscale(60%);
    transform: scale(1.02);
    color: yellow;
    opacity: 90%;
}

#right-section {
    width: 620px;
    height: 420px;
    box-shadow: 0px 0px 20px #1c0b26;
    margin-top: 20px; /* Sets margin */
    margin-right: 10px; /* Sets margin */
    float: right; /* Sets float to right, making said class/id stick to said side */
    background-color: #281036;
    border-radius: 10px;
}

#aside-right {
    width: auto;
    height: 100px;
    box-shadow: 0px 0px 20px #1c0b26;
    margin-top: 5px;
    margin-right: 10px;
    margin-left: 10px;
    background-color: #1c0b26;
    float: right; /* Sets float to right, making said class/id stick to said side */
    border-radius: 10px;
}

#bullet-aside-right {
    width: 310px;
    height: 300px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 10px; /* Sets margin */
    background-color: #1c0b26;
    float: left;
    border-radius: 10px;
}

#list {
    margin-right: 40px;
}



/* Spinning animation for #logo */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}



#logo {
    width: 300px;
    float: left;
    animation: spin 10s infinite linear;
}

/* Mainly for second page */
#right-side {
    width: 490px;
    height: 840px;
    box-shadow: 0px 0px 30px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 70px; /* Sets margin */
    margin-right: 10px; /* Sets margin */
    float: right; /* Sets float to right, making said class/id stick to said side */
    background-color: #281036;
    border-radius: 10px;
}

#right-side-top {
    width: 450px;
    height: 200px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 20px; /* Sets margin */
    margin-left: 20px; /* Sets margin */
    background-color: #1c0b26;
    border-radius: 10px;
}

#right-side-middle {
    width: 450px;
    height: 200px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 20px; /* Sets margin */
    margin-left: 20px; /* Sets margin */
    background-color: #1c0b26;
    border-radius: 10px;
}

#right-side-bottom {
    width: 450px;
    height: 340px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 40px; /* Sets margin */
    margin-left: 20px; /* Sets margin */
    background-color: #1c0b26;
    border-radius: 10px;
}

#video {
    width: 100%;
    height: 100%;
    border: 0px;
}

#left-side {
    width: 550px;
    height: 730px;
    box-shadow: 0px 0px 20px; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 70px; /* Sets margin */
    margin-left: 10px;
    float: left; /* Sets float to right, making said class/id stick to said side */
    background-color: #1c0b26;
    border-radius: 10px;
    transition: 0.5s;
}

#left-side:hover {
    filter: grayscale(60%);
    transform: scale(1.02);
    color: yellow;
    opacity: 90%;
}

#left-bottom {
    width: 360px;
    height: 95px;
    box-shadow: 0px 0px 30px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 15px;
    margin-left: 110px;
    float: left;
    background-color: #1c0b26;
    border-radius: 50px;
}

#music {
    margin-top: 20px;
}

/* Mainly for third page */
.main-box {
    width: 1000px;
    height: 455px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 80px;
    margin-left: 40px;
    background-color: #281036;
    float: left;
    border-radius: 10px;
}

.box {
    width: 1000px;
    height: 455px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 30px;
    margin-left: 40px;
    background-color: #281036;
    float: left;
    border-radius: 10px;
}

.last-box {
    width: 1000px;
    height: 455px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 30px;
    margin-left: 40px;
    margin-bottom: 60px;
    background-color: #281036;
    float: left;
    border-radius: 10px;
}

.box-image {
    width: 350px;
    height: 430px;
    margin-top: 10px;
    margin-left: 10px;
    float: left;
    background-color: #1c0b26;
    border-radius: 10px;
    transition: 0.5s;
}

.box-image:hover {
    box-shadow: 0px 0px 20px;
    filter: grayscale(60%);
    transform: scale(1.1);
    color: yellow;
    opacity: 90%;
}

.box-text {
    width: 620px;
    height: 430px;
    margin-top: 10px;
    margin-right: 10px;
    float: right;
    background-color: #1c0b26;
    border-radius: 10px;
}

/* Mainly for fourth page */
#right-div {
    width: 725px;
    height: 840px;
    box-shadow: 0px 0px 20px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 70px;
    margin-right: 15px;
    background-color: #281036;
    float: right;
    border-radius: 10px;
}

#form {
    width: 675px;
    height: 370px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 20px;
    margin-left: 25px;
    background-color: #1c0b26;
    border-radius: 10px;
}

#form-left {
    width: 225px;
    height: 275px;
    text-align: left;
    margin-top: 10px;
    margin-left: 10px;
    float: left;
}

#form-right {
    width: 425px;
    height: 275px;
    text-align: left;
    margin-top: 10px;
    margin-right: 12px;
    float: right;
}

#comments {
    width: 385px;
    height: 219px;
    text-align: left;
}

#submit-button {
    float: right;
    padding: 16px 32px;
    margin-top: 5px;
    margin-right: 125px;
    transition: 0.5s;
}

#submit-button:hover {
    opacity: 50%;
}

#under-form {
    width: 675px;
    height: 410px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 20px;
    margin-left: 25px;
    background-color: #1c0b26;
    border-radius: 10px;
}

#canvas {
    width: 625px;
    height: 300px;
    border-radius: 10px;
    border: 0px;
}

#left-div {
    width: 310px;
    height: 410px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 70px;
    margin-left: 15px;
    background-color: #281036;
    float: left;
    border-radius: 10px;
}

#top-content {
    width: 270px;
    height: 370px;
    box-shadow: 0px 0px 10px #1c0b26; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 20px;
    margin-left: 20px;
    background-color: #1c0b26;
    border-radius: 10px;
}

#left-div-bottom {
    width: 310px;
    height: 410px;
    box-shadow: 0px 0px 10px; /* Set box-shadow, essentially giving the container a shadow */
    margin-top: 20px;
    margin-left: 15px;
    margin-bottom: 60px;
    background-color: #281036;
    float: left;
    border-radius: 10px;
    transition: 0.5s;
}

#left-div-bottom:hover {
    filter: grayscale(60%);
    transform: scale(1.03);
    color: yellow;
    opacity: 90%;
}



@keyframes glow {
    0% {
		border-color: #008b8b;
		box-shadow: 0 0 5px rgba(0,139,139,.2), inset 0 0 5px rgba(0,139,139,.1), 0 2px 0 #000;
    }	
    100% {
		border-color: #00d8d8;
		box-shadow: 0 0 20px rgba(0,216,216,.6), inset 0 0 10px rgba(0,216,216,.4), 0 2px 0 #000;
    }
}



input[type=text]:focus {
    animation: glow 800ms ease-out infinite alternate;
}

input[type=text] {
    width: 100%;
    padding: 5px 7px;
    box-sizing: border-box;
    background-color: #281036;
    color: #008b8b;
    border: 0px;
    border-radius: 10px;
}

input[type=submit] {
    color: #281036;
    box-sizing: border-box;
    border: 0px;
    border-radius: 5px;
    background-color: #008b8b;
    text-decoration: none;
    cursor: pointer;
}

input {
    outline: none;
}

textarea:focus {
    animation: glow 1s ease-out infinite alternate;
    outline: none;
}

textarea {
    color: #008b8b;
    padding: 5px 5px;
    box-sizing: border-box;
    border: 0px;
    border-radius: 10px;
    background-color: #281036;
    resize: none;
}

select {
    width: 100%;
    color: #008b8b;
    padding: 5px 5px;
    border: 0px;
    border-radius: 10px;
    background-color: #281036;
}

fieldset {
    border-radius: 10px;
}

/* Media Queries*/
/* Small browsers & Tablets */
@media screen and (max-width: 1079px) {
    /* index.html page */
    #wrapper {
        width: 100%;
        font-size: 20px;
    }
    
    #header {
        width: 98.4%;
        padding-bottom: 5px;
    }
    
    #banner {
        width: 100%;
        height: 100%;
    }
    
    #left-section {
        width: 45%;
        height: 100%;
    }

    #right-section {
        width: 50%;
        height: 100%;
        margin-bottom: 50px;
    }
    
    #logo {
        width: 40%;
    }
    
    #bullet-aside-right {
        width: 60%;
    }
    
    #footer {
        width: 97%;
    }
    
    img {
        width: 100%;
    }
    
    /* mythology.html page */
    #right-side {
        width: 50%;
        height: 100%;
        margin-right: 10px;
        margin-bottom: 50px;
    }
    
    #right-side-top {
        width: 95%;
    }
    
    #right-side-middle {
        width: 95%;
    }
    
    #right-side-bottom {
        width: 95%;
        margin-bottom: 20px;
    }
    
    #left-side {
        width: 45%;
        height: 100%
    }
    
    #left-bottom {
        width: 45%;
        margin-left: 10px;
    }
    
    #music {
        width: 80%;
    }
    
    /* slavicdeities.html page */
    .main-box {
        width: 90%;
    }
    
    .box {
        width: 90%;
    }
    
    .last-box {
        width: 90%;
    }
    
    .box-image {
        width: 35%;
        height: auto;
    }
    
    .box-text {
        width: 60%;
        height: 95%;
    }
    
    /* godofthemonth.html page */
    #right-div {
        width: 95%;
        height: 890px;
        margin-right: 25px;
    }
    
    #form {
        width: 95%;
        height: 420px;
        margin-left: 15px;
    }
    
    #form-left {
        width: 30%;
    }
    
    #form-right {
        width: 65%;
    }
    
    #comments {
        width: 100%;
    }
    
    #submit-button {
        width: 100%;
        margin-right: 0px;
    }
    
    #under-form {
        width: 95%;
        margin-left: 15px;
    }
    
    #left-div {
        width: 40%;
        margin-top: 20px;
        margin-left: 20px;
    }
    
    #top-content {
        width: 85%;
    }
    
    #left-div-bottom {
        float: right;
        margin-right: 25px;
    }
}


/* Phone */
@media screen and (max-width: 640px) {
    #icon {
        display: block !important;
        cursor: pointer;
        float: right;
        margin-top: -25px;
        margin-right: 25px;
    }
    
    .menu {
        display: none;
    }
    
    .iconMenu.toggleCls {
        display: block;
        width: 96%;
        border-radius: 0px 0px 10px 10px;
    }
    
    .iconMenu.noneHome {
        margin-top: 60px;
    }
    
    /* index.html page */
    #header {
        width: 96%;
        height: 60px;
    }
    
    #nav {
        margin-top: 10px;
        width: 40%;
    }
    
    #left-section {
        width: 100%;
        margin-left: 0px;
    }

    #right-section {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 50px;
    }
    
    #aside-right {
        height: 90%;
    }
    
    #logo {
        width: 75%;
        margin-left: 50px;
    }
    
    #bullet-aside-right {
        width: 95%;
        height: 100%;
        margin-left: 13px;
    }
    
    #footer {
        width: 96%;
    }
    
    /* mythology.html page */
    #right-side {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 0px;
    }
    
    #right-side-top {
        width: 92%;
        height: 100%;
    }
    
    #right-side-middle {
        width: 92%;
        height: 100%;
    }
    
    #right-side-bottom {
        width: 92%;
    }
    
    #left-side {
        width: 95%;
        margin-top: 30px;
    }
    
    #left-bottom {
        width: 95%;
        margin-top: 30px;
        margin-bottom: 60px;
    }
    
    /* slavicdeities.html page */
    .main-box {
        width: 95%;
        height: 3500px;
        margin-left: 15px;
    }
    
    .box {
        width: 95%;
        height: 3000px;
        margin-left: 15px;
    }
    
    #svarog {
        height: 100%;
        padding-bottom: 10px;
    }
    
    #mokosh {
        height: 100%;
        padding-bottom: 10px;
    }
    
    #lada {
        height: 100%;
        padding-bottom: 10px;
    }
    
    #veles {
        height: 100%;
        padding-bottom: 10px;
    }
    
    #dazbog {
        height: 100%;
        padding-bottom: 10px;
    }
    
    #perun {
        height: 100%;
        padding-bottom: 10px;
    }
    
    #rod {
        height: 100%;
        padding-bottom: 10px;
    }
    
    .last-box {
        width: 95%;
        height: 2700px;
        margin-left: 15px;
    }
    
    .box-image {
        width: 96%;
        height: auto;
    }
    
    .box-text {
        width: 97%;
        height: 80%;
        margin-right: 6px;
    }
    
    /* godofthemonth.html page */
    #right-div {
        height: 1215px;
        margin-right: 10px;
    }
    
    #form {
        height: 750px;
        margin-top: 10px;
        margin-left: 11px;
    }
    
    #form-left {
        width: 95%;
        margin-bottom: 90px;
    }
    
    #form-right {
        width: 95%;
        margin-right: 8px;
        margin-top: 20px;
    }
    
    #under-form {
        margin-left: 11px;
    }
    
    #left-div {
        width: 95%;
        height: 100%;
        padding-bottom: 20px;
        margin-left: 10px;
    }
    
    #top-content {
        width: 93%;
        height: 100%;
        margin-left: 12px;
    }
    
    #left-div-bottom {
        width: 95%;
        height: 100%;
        margin-right: 10px;
    }
}

/* Small Phone */
@media screen and (max-width: 455px) {
    /* index.html page */
    #banner {
        margin-top: 60px;
    }
    
    /* mythology.html page */
    #right-side-top {
        width: 90%;
    }
    
    #right-side-middle {
        width: 90%;
    }
    
    #right-side-bottom {
        width: 90%;
    }
    
    /* slavicdeities.html page */
    .main-box {
        width: 98%;
        margin-left: 2px;
    }
    
    .box-image {
        margin-left: 9px;
    }
    
    .box {
        width: 98%;
        margin-left: 2px;
    }
    
    .last-box {
        width: 98%;
        margin-left: 2px;
    }
    
    #right-div {
        width: 98%;
        margin-right: 3px;
    }
    
    #form {
        width: 95%;
        margin-left: 8px;
    }
    
    #under-form {
        width: 95%;
        margin-left: 8px;
    }
    
    #left-div {
        width: 98%;
        margin-left: 3px;
    }
    
    #top-content {
        
    }
    
    #left-div-bottom {
        width: 98%;
        margin-right: 3px;
    }
}

/* Min */
@media screen and (max-width: 360px) {
    #wrapper {
        width: 360px;
    }
    
    #header {
        width: 360px;
    }
    
    #footer {
        width: 360px;
    }
}