* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --viewportHeight: 100vh;
}

body {
  --fontSize: 6vh;
  --lineHeight: calc(1.2 * var(--fontSize));
}

/* navbar */
.toppanel {
  height: 100vh;
  width: 0;
  position: fixed;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, .5);
  overflow-x: hidden;
  transition: .7s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 9999;
}

.toppanel a {
  text-decoration: none;
  font-size: calc(var(--fontSize) * .6);
  color: #fff;
  display: block;
  transition: 0.3s;
  position: relative;
  margin-top: calc(var(--lineHeight) * 1.4);
  font-family: 'Montserrat', sans-serif;
  transition: all .5s;
}

.toppanel img {
  width: calc(var(--fontSize) * 1.2);
}

.toppanel a:hover {
  transform: scale(1.5);
}

.toppanel a:hover:last-child {
  transform: scale(1);
}

.toppanel .closebtn {
  position: absolute;
  top: 1rem;
  right: calc(var(--fontSize) * .5);
  z-index: 3;
}

.closebtn {
  color: #fff;
  font-size: calc(var(--fontSize) * .7);
  transition: all 100ms ease;
}

.closebtn:hover {
  cursor: pointer;
}

nav {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 7vh;
  background-color: #fff;
  position: sticky;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  justify-content: flex-end;
  box-shadow: 0px -25px 75px 0px rgba(0, 0, 0, 0.75);
  z-index: 3;
}

.menuBars {
  font-size: calc(var(--fontSize) * .8);
  padding-right: calc(var(--fontSize) * .5);
  align-self: center;
  cursor: pointer;
  transition: all .3s;
}

/* *****Main content***** */
.julespaintlogo {
  width: calc(var(--fontSize) * 4);
  position: fixed;
  top: calc(var(--fontSize) * 1.5);
  left: .375rem;
  z-index: -9999;
}

header {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 93vh;
  background-image: url('paint.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

header img {
  width: calc(var(--fontSize) * 10);
}

.down-arrow {
  width: calc(var(--fontSize) * 1.3);
  position: absolute;
  top: 75vh;
  left: 5vw;
  animation: down 1.5s infinite ease-in;
}

@keyframes down {
  0% {
    top: 75vh;
  }

  50% {
    top: 77vh;
  }

  100% {
    top: 75vh;
  }
}

.container {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 5rem;
}

.carousel {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.carousel-item {
  max-width: 600px;
}

.carousel-inner img{
  max-width: 600px;
}

h2 {
  font-size: calc(1vw + 50px);
  padding: calc(var(--fontSize) * 2) 0;
  font-weight: 300;
  text-align: center;
}

.para-wrap {
  font-size: calc(var(--fontSize) * .6);
  max-width: 700px;
  padding-bottom: calc(var(--fontSize) * 2);
  font-weight: 200;
  margin: auto;
  line-height: calc(var(--fontSize) * .8);
}

footer {
  width: 100vw;
  height: 15vh;
  padding: 5rem 0 1rem 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  justify-content: flex-end;
  font-family: 'Montserrat', sans-serif;
}

footer p {
  font-size: calc(var(--fontSize) * .3);
  margin: 0;
}

footer a {
  color: #fad420;
  text-decoration: none;
}

footer a:hover {
  border-bottom: 1px #fad420 solid;
}

@media screen and (max-width: 1120px) {

  .para-wrap {
    font-size: calc(var(--fontSize) * .5);
    margin: auto;
  }

  .julespaintlogo {
    display: none;
  }
}

@media screen and (max-width: 810px) {
  .para-wrap {
    font-size: calc(var(--fontSize) * .45);
  }
}

@media screen and (max-width: 725px) {
  .julespaintlogo {
    display: none;
  }

  .para-wrap {
    line-height: calc(var(--fontSize) * .7);
  }

  .carousel {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }

  .carousel-item img {
    max-width: 400px;
  }

  .carousel-inner {
    max-width: 400px;
  }
}

@media screen and (max-width: 463px) {

  header img {
    width: calc(var(--fontSize) * 7);
  }

  .carousel-item img {
    max-width: 300px;
  }

  .carousel-inner {
    max-width: 300px;
  }
  .carousel {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
  }
}
