/* === IMPORTED FONTS === */

@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");
@import url("https://fonts.googleapis.com/css?family=Merriweather:400,400i,700");


 /* === BODY SETTINGS === */

body {
    background-color: rgb(71, 16, 84);
    width: 100%;
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: Raleway, sans-serif;
}

/*===  HEADER AND NAVIGATION === */

nav {
  background-color:rgb(71, 16, 84);
  overflow: hidden;
  padding: 20px 0;
  width:100%;
} 

nav ul {
    width:100%;
    background-color:rgb(71, 16, 84);
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    padding: 0;
}

nav ul li a {
  text-decoration:none;
  color:rgb(183, 167, 211);
  border: 1px solid rgb(183, 167, 211);
  padding:10px 10px;
  border-radius:2px;
  font-weight:bold;
}

nav a:hover {
  text-decoration:none;
  background-color:rgb(183, 167, 211);
  color:rgb(71, 16, 84);
  font-weight:bold;
  border: 1px solid rgb(183, 167, 211);
  padding:10px 10px;
  border-radius:2px;
}

nav .large-link {
    margin-top: -5px;
    white-space: nowrap;
    text-align: center;
    font-family: "Merriweather";
    font-weight: bold;
    font-size: 1.5em;
}

/* == COVER PICTURE == */

.main-pic {
    width:100%;
    height: 350px;
    overflow:hidden;
    position:relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgb(71, 16, 84);
    background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Nobel_Peace_Prize_Concert_2008_The_Script2.jpg/700px-Nobel_Peace_Prize_Concert_2008_The_Script2.jpg)
}

.main-pic .main-text {
    position: absolute;
    color:rgb(219, 209, 236);
    z-index: 999;
    margin-left:20px;
    left: 0;
    right: 0;
    top: 5%;
    text-align: left;
    width: 60%; 
    font-family: Merriweather, serif;
}

.main-text p { font-style:italic; }

/*======== ALBUMS ========*/


.albums {
  border-top:4px solid rgb(71, 16, 84);
  border-bottom:6px solid rgba(71, 16, 84, .8);
  background-color:rgb(71, 16, 84);
  width:100%;
  margin:0;
  padding:0;
  height: 300px;
  display: flex;
  justify-content: space-evenly;
}

.album1-text, .album2-text, .album3-text, .album4-text {
    border-right:1px solid rgb(71, 16, 84);
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 400px;
    min-height:300px;
    width:25%;
    padding:0;
    margin:0;
    color:rgb(30, 10, 65);
}

h4 {
    padding: 20px 0;
    background-color: rgba(71, 16, 84, .7);
    font-size: 110%;
    text-align:center;
}

h4 a {
    text-decoration: none;
    color:rgb(206, 186, 240);
    padding: 50px 0px;
}

.album1-text {
    background-image:url(https://upload.wikimedia.org/wikipedia/en/thumb/e/e8/Freedom_Child_The_Script.jpg/220px-Freedom_Child_The_Script.jpg);
}

.album2-text {
    background-image:url(https://upload.wikimedia.org/wikipedia/en/thumb/3/39/No_Sound_Without_Silence_by_The_Script.png/220px-No_Sound_Without_Silence_by_The_Script.pn);
}

.album3-text {
    background-image:url(https://upload.wikimedia.org/wikipedia/en/e/ee/Thescripthreealbum.jpg);
}

.album4-text {
    background-image:url(https://upload.wikimedia.org/wikipedia/en/thumb/2/2b/The_Script_Science_%26_Faith.jpg/220px-The_Script_Science_%26_Faith.jpg);
}

/* === PARAGRAPHS === */

#the-script, #album-2, #album-4 {
    padding: 30px 5%;
    color: rgb(71, 16, 84);
    background-color:rgb(206, 186, 240);
    clear: both;
}

#album-1, #album-3 {
    padding: 30px 5%;
    color: rgb(206, 186, 240);
    background-color:rgba(71, 16, 84, .95);
}

h2, p{
    display: inline;
    margin-top: 10px;
}
    
.p-img-height {
    height: 70px;
}

.p-img-box {
    display: inline;
    float: left;
    margin: 10px 10px 0 0;
}

.text-box {
    display: inline;
    margin: 40px 10px 0 0;
}

/* === VIDEO CONTENT === */

iframe {
    display: block;
    padding: 1px;
    width: 90%;
    height: 500px;
    margin: auto;
    background-color: rgba(71, 16, 84, .3);
}

hr {
    margin: 25px 0;
    border-color: rgba(71, 16, 84, .2);
}

.iframe-light {
    width: 90%;
    margin:20px auto;
    background-color: rgba(206, 186, 240, .3);
}

.hr-light {
    margin-top: 30px;
    border-color: rgba(206, 186, 240, .2);
}


/* === FOOOOOOOOOOTER === */

.footer { 
    height:80px;
    background-color: rgba(71, 16, 84, .98);
    border-top: 2px solid rgba(71, 16, 84, .8);
    padding: 5px 0 5px 0px;
}

.wiki img {
  margin-bottom: -4px;
  height: 15px;
  margin: auto auto -5px 3px;
}

.youtube img {
  margin: auto auto -4px 3px;
  height:15px;
}
  

div.wiki p, div.youtube p {
  margin-left:10px;
  clear:left;
  color:rgb(206, 186, 240);
  font-size: 11px;
}

.credit-box {
  margin-top: 15px;
  padding-bottom: 7px;
  width:100%;
  height:15px;
  display:inline-block;
  background-color:rgba(206, 186, 240, .6);
}

.credit-text-link, .credit-img-link {
  display:inline-block;
  width:50%;
  text-align:center;
  float:left;
}

div.credit-img-link {
  display:inline-block;
}

div.credit-img-link img {
  margin-bottom: -3px;
  margin-left:10px;
  height:15px;
  border-radius: 2px;
}

div.credit-box p {
  font-size:11px;
  font-weight:bold;
  display:inline-block;
  margin-top: -4px;
  color:rgb(71, 16, 84);
}

div.credit-box p a {
  font-size:11px;
  color:#0074D9;
}


/* === GO TO TOP BUTTON ===  */

#topBtn {
    display: none;
    position: fixed;
    bottom: 20px; 
    right: 30px;
    z-index: 99;
    border: 2px solid rgba(183, 167, 211, .3);
    outline: none; 
    background-color: rgb(71, 16, 84);
    color: rgb(183, 167, 211); 
    cursor: pointer; 
    padding: 0px 17px 5px 17px; 
    border-radius: 50px; 
    line-height: 1.5em;
    font-size: 40px; 
    opacity: .5;
}
  
#topBtn:hover {
    opacity: 1;
}


/* === MOBILE DISPLAY === */

@media screen and (max-width:550px) {
  
/*   = HEADER = */
nav {
    padding: 10px 0;
    border-bottom: 1px solid rgba(183, 167, 211, .3);
} 

nav ul {
    width:100%;
    background-color:rgb(71, 16, 84);
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    padding: 0;
}

nav ul li a {
    padding:5px 5px;
    font-size:10px;
}

nav a:hover {
    padding:5px 5px;
    font-size:10px;
}

nav .large-link {
    margin-top:auto;
    padding:5px 5px;
    font-size:12px;
    font-family: "Merriweather";
    font-weight: bold;
    min-width: 80px;
}

.large-link a {
    font-size:14px;
    padding: 10px 7px;
}

.large-link a:hover {
    font-size:14px;
    padding: 10px 7px;
}

  
/*    = COVER PICTURE =  */
  
.main-pic {
    height: 250px;
}

.main-text h1 {
    font-size:18px;
}

.main-text p {
    font-size:14px;
}
  
/*    = ALBUMS =  */
.album1-text, .album2-text, .album3-text, .album4-text {
    min-height:auto;
    max-height:auto;
    height:100px;
}

h4 {
    font-size:10px;
    padding:0;
}

.albums {
    height:100px;
    border-bottom:4px solid rgba(71, 16, 84, .8);
}
  
h2 {
    font-size:18px;
}

p {
    font-size:14px
}

/* = VIDEO CONTENT = */
iframe {
    height:200px;
    width: 96%;
}

.iframe-light {
    height: 200px;
    width: 96%;
}
}

/* = GO TO TOP BUTTON =  */

#topBtn {
  border: 1.5px solid rgba(183, 167, 211, .3);
  padding: 2px 10px 6px 10px; 
  border-radius: 50px; 
  line-height: 1.5em;
  font-size: 25px; 
  opacity: .7;
  right: 20px;
  bottom: 38px;
}