* {
  box-sizing: border-box;
  margin-left: 3px;
}
header {
  /*Define the upper part of the page*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 0;
  border-bottom: rgba(230, 87, 230, 0.701) 3px solid;
  background-color: rgba(214, 187, 239, 0.655);
  font-size: x-large;
  font-weight: bold;
}
.list {
  /*Defining the list of buttons in the head of the page*/
  display: flex;
  list-style-type: none;
  justify-content: space-around;
  gap: 40px;
  flex-direction: column;
}
.link {
  /*Internal links for navigation in the websites page*/
  background-color: rgb(174, 17, 241);
  border: 5px solid rgb(212, 138, 235);
  list-style: none;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 40px;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
}
a:hover {
  /*Changing colors when overlay on the links*/
  color: darkorchid;
  background-color: rgb(222, 129, 202);
}
body {
  /*Defining the basic settings of the website*/
  background-color: rgba(234, 191, 230, 0.557);
  background-size: 100%;
  background-repeat: repeat;
  font-family: Arial, Helvetica, sans-serif;
}
h1 {
  /*Defining the main heading of the page*/
  color: rgb(63, 57, 62);
  font-style: italic;
  font-weight: bolder;
  margin-left: 5px;
}
h2 {
  /*Defining the headings of H2 all over the website*/
  color: rgb(98, 93, 97);
  font-style: italic;
  font-weight: bolder;
  margin-left: 5px;
  .Gallery {
    /*Sets the image-title of the Gallery section*/
    display: flex;
    align-items: center;
  }
}
h3 {
  /*Defines all the H3 headings in the page*/
  color: rgb(78, 77, 71);
  font-weight: bolder;
  margin-left: 5px;
  text-decoration: underline;
}
.backtotop {
  /*Defines the settings and properties of the button*/
  text-decoration: none;
  color: rgb(8, 1, 0);
  font-size: large;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", Times, serif;
  border: 5px solid #edc2f4;
  border-radius: 30px;
  background-color: #f7e9fa;
  padding: 1px;
  display: inline-block;
  justify-content: center;
  margin-bottom: 5px;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}
section:nth-of-type(1) {
  /*About whitney houston*/
  background-image: url(./Gallery/CloudsBckgroundSec1.webp);
  background-size: 100%;
  font-weight: 900;
  img {
    /*Defines the properties of the pictures in section 1*/
    float: right;
    width: 200px;
    height: 300px;
    border: 5px solid #f4c2ec;
    border-radius: 20px;
    margin: 10px;
  }
  .AboutImg {
    /*Defines the properties of an image in section 1*/
    float: left;
    width: 500px;
    height: 300px;
    border: 5px solid #f4c2ec;
    border-radius: 20px;
    margin: 10px;
  }
}

section:nth-of-type(2) {
  /*Life and career*/
  background-image: url(./Gallery/CloudsBckgroundSec2.webp);
  background-size: 100%;
  font-weight: 600;
  .CareerWhitney {
    /*Defines the properties of the pictures in section 2*/
    float: left;
    width: 500px;
    height: 300px;
    border: 5px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .PinkWhitney {
    /*Defines the properties of the pictures in section 2*/
    float: right;
    width: 300px;
    height: 350px;
    border: 10px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .BlackWhite {
    /*Defines the properties of the pictures in section 2*/
    float: right;
    width: 500px;
    height: 300px;
    border: 20px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .WhitneyWhite {
    /*Defines the properties of the pictures in section 2*/
    float: left;
    width: 300px;
    height: 450px;
    border: 10px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .WhitneyPic {
    /*Defines the properties of the pictures in section 2*/
    float: right;
    width: 380px;
    height: 300px;
    border: 10px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .WhitneyShow {
    /*Defines the properties of the pictures in section 2*/
    float: right;
    width: 300px;
    height: 400px;
    border: 13px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .EarlyCareer {
    /*Defines the properties of the pictures in section 2*/
    float: left;
    width: 300px;
    height: 200px;
    border: 10px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
}
section:nth-of-type(3) {
  /*Personal life */
  background-image: url(./Gallery/BlueSky.webp);
  background-size: 100%;
  font-weight: 600;
  .WhitneyFace {
    /*Defines the properties of the pictures in section 3*/
    float: right;
    width: 300px;
    height: 300px;
    border: 10px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
  }
  .WhitneyYoung {
    /*Defines the properties of the pictures in section 3*/
    float: left;
    width: 250px;
    height: 350px;
    border: 10px outset #f4c2ec;
    border-radius: 20px;
    margin: 15px;
    background-color: rgb(184, 182, 182);
  }
}
section:nth-of-type(4) {
  /*Death and funeral*/
  background-image: url(./Gallery/Angels\ Background2.webp);
  background-size: 100%;
  font-weight: 600;
  .AngelWhitney {
    /*Defines the properties of the pictures in section 4*/
    float: left;
    width: 250px;
    height: 250px;
    border: 10px outset #f4e0c2;
    border-radius: 20px;
    margin: 15px;
  }
}
section:nth-of-type(5) {
  /*Pictures Gallery*/
  background-image: url(./Gallery/GlitterBackgrounnd.webp);
  background-size: 100%;
  font-weight: 600;
  .GalleryLogo {
    margin-left: 350px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
.gallery {
  /*Defines the settings of the pictures gallery from section number 5*/
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 5vw);
  grid-gap: 30px;
}
.gallery img {
  /*Defines the properties of the images in the pitures gallery, section 5 */
  float: left;
  width: 400px;
  height: 400px;
  object-fit: cover;
  border: 10px solid #f07edf;
  border-radius: 40px;
  margin-left: 30px;
}
.gallery img:hover {
  /*Defines the properties of the images in the pitures gallery when overlay, section 5 */
  transform: scale(1.2);
  position: relative;
  border-color: rgba(104, 99, 99, 0.63);
  transition: all 2s;
}
section:nth-of-type(6) {
  /*Discography - Albums and Video*/
  background-image: url(./Gallery/purplebackground\ 2.webp);
  background-size: 100%;
  font-weight: 500;
}
section:nth-of-type(6) article {
  /*Create a box for the Albums Gallery in order to adjust position the video*/
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section:nth-of-type(6) img {
  /*Defines the properties of the images of the Albums*/
  width: 200px;
  height: 200px;
  border: 5px outset pink;
  border-radius: 20px;
  margin-left: 5px;
  margin: 10px;
}
#DiscographyLogo {
  /*Defines the settings of the logo-differently fron the other images in this section*/
  display: flex;
  border: 0px transparent;
  width: 700px;
  margin-left: -40px;
  margin-bottom: -40px;
  margin-top: -40px;
}
.AlbumsGallery a:hover {
  /*Defines the of the links when overlay,section 6*/
  background-color: transparent;
}
.AlbumsGallery div {
  /*Defines the visual properties of the albums + hidden text,section 6*/
  position: absolute;
  width: 200px;
  height: 200px;
  margin: 0;
  top: 10px;
  left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  font-weight: bold;
  font-style: italic;
}
.AlbumsGallery a:hover div {
  /*Defines the text visibility when overlay,section 6*/
  visibility: visible;
}
video {
  /*Defines the visual properties of the video,section 6*/
  border-radius: 20px;
  border-style: outset;
  border-color: #d785df;
  border-width: 15px;
}
.AlbumsGallery a {
  /*Defines the position of the links,section 6*/
  position: relative;
  float: left;
}
section:nth-of-type(7) {
  /* Filmography*/
  background-image: url(./Gallery/purplebackground.webp);
  background-size: 100%;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  a {
    text-decoration: none; /*Defines the links of Filmography section*/
    color: rgb(8, 1, 0);
    font-size: larger;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", Times, serif;
  }
}
.FilmographyLogo {
  /*Defines the properties of the logo in section number 7*/
  width: 700px;
  height: 300px;
  margin-bottom: -60px;
  margin-top: -90px;
}
.FilmsPic {
  /*Defines the properties of the picture in section number 7*/
  height: 500px;
  width: 500px;
  border: 10px inset #f07edf;
  border-radius: 30px;
}
