/* Website Milena Eickhoff */

/* CONTENT 
1 Styling for all webpages
  1.1 Header
    1.1.1 Dropdown menu
    1.1.2 Responsive design navbar
  1.2 Content section
    1.2.1 Buttons
    1.2.2 Spacer
  1.3 Footer
  1.4 Cookie Consent Box
2 index.html
  2.1 Hero area
  2.1.1 Moving circles
  2.2 Skills
  2.3 About
  2.4 Portfolio
  2.5 Contact
3 Privacy Policy & Terms and Conditions
4 Portfolio 
5 About 
6 Contact */


/* 1 Styling for all webpages */
* {
  color: #080868;
  font-family: Lato;
  box-sizing: border-box;
}

body{
  padding: 0;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 767px)
{
    body, html{
        width: 100vw;
        overflow-x: hidden;
    }
}

/* 1.1 Header */
.semi-circle1 {
  background: #080868;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 50% 50%;
  padding: 20px;
  height: 285px;
  width: 100%;
  position: absolute;
  top: 0; 
  left: 0;
  z-index: 90;
}

.semi-circle1 img {
  width: 350px;
  height: 197.4px;
  z-index: 100;
}

@media screen and (max-width: 1024px) {
  .semi-circle1 img {
    width: 262.5px;
    height: 148.4px;
  }
}
@media screen and (max-width: 380px) {
  .semi-circle1 img {
    width: 212.4px;
    height: 120px;
  }
}

header {
  height: 240px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

nav ul li {
  display: inline-block;
  padding: 10px 30px;
}

header nav a{
  color: #F19336;
}

header nav a:hover{
  text-decoration: none;
}

.toggle-btn{
  cursor: pointer;
  display: none;
}

/* 1.1.1 Dropdown Menu */
.dropdown-menu1 {
  color: #F19336;
  position: absolute;
  right: 10rem;
  top: 60px;
  height: 1px;
  width: 200px;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown-menu1 li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-menu1.open {
  height: 200px;
  -webkit-backdrop-filter: blur(15px);
  -moz-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.1);
}

/* 1.1.2 Responsive design navbar */

@media screen and (max-width: 1023px) {
  nav ul li {
    display: none;
  }

  .toggle-btn {
    display: block;
  }

  .dropdown-menu1 {
    display: block;
    left: 10rem;
    width: unset;
  }
}

@media screen and (max-width: 767px) {
  .dropdown-menu1 {
    right: 2rem;
    left: 2rem;
    width: unset;
  }
}

/* 1.2 Content section */
.page-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-wrap {
  padding-bottom: 220px;    /* Footer height */
}

/* 1.2.1 Buttons */
.btn {
  color: #F19336;
  background-color: #080868;
}

/* 1.2.2 Spacer */
.space {
  height: 80px;
}

/* 1.3 Footer */

.semi-circle2 {
  background: #080868;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  border-radius: 50% 50% 0 0;
  padding: 20px;
  height: 220px;
  width: 100%;
  position: absolute;
  bottom: 0; 
  right:0;
  left:0;
}



.icon {
  fill: #080868;
  width: 50px;
  height: 50px;

}

footer {
  text-align: center;
  color: #F19336;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 220x;   
}

footer a {
  color: #F19336;
  padding: 25px;
  line-height: 30px;
}

footer a:hover {
  text-decoration: none;
}

footer a:active {
  text-decoration: none;
}

footer p {
  color: #F19336;
}

@media screen and (max-width: 380px) {
  footer p, footer a{
    font-size: 14px;
  }
}

/* 1.4 Cookie Consent Box*/
.cookie-wrap {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: #fff;
  max-width: 365px;
  border-radius: 15px;
  text-align: center;
  padding: 25px 25px 30px 25px;
  opacity: 1; 
  z-index: 100px;
}

.cookie-wrap.hide{
  opacity: 0;
  display: none;
  transition: all 0.3s ease;
}

.cookie-wrap img {
  max-width: 90px;
}

.cookie-wrap .cookie-content {
  margin-top: 10px;
}

.cookie-wrap h4 {
  font-size: 25px;
  font-weight: 600;
}

.cookie-content p {
  font-weight: 100;
  margin: 5px 0 20px 0;
}

.cookie-content .cookie-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-buttons .btn {
  margin: 0px 20px;
  cursor: pointer;
}

.cookie-buttons a {
  color: #080868;
}

.cookie-buttons a:hover {
  color: #0069d9;
}

.cookie-buttons a:active {
  color: #0069d9;
}
/* 2 index.html */

/* 2.1 HERO area */
.above-the-fold {
  height: 700px;
}

.above-the-fold h3 {
  padding: 100px 200px;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .above-the-fold h3 {
    font-size: 20px;
    padding: 75px 200px 50px 200px;
  }
}

@media screen and (max-width: 767px) {
  .above-the-fold h3 {
    font-size: 16px;
    padding: 100px 100px 50px 100px;
  }
}

/* 2.1.1 Moving circles */
section {
  opacity: 1;
  height: 100%;
  width: 100%;
}
.active section {
  opacity: 1;
  transition: opacity 0.5s;
}
.btn-cta {
  border: 5px solid;
  border-radius: 0;
}
.btn-cta__orange {
  border-color: #F19336;
  background-color: transparent;
  -webkit-backdrop-filter: blur(15px);
  -moz-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: #F19336;
}

.slide-wrapper {
  position: absolute;
  overflow: hidden;
  height: 600px;
  width: 100%;
  top: 85px;
}

@media screen and (max-width: 767px) {
  .slide-wrapper {
    position: absolute;
    right:0;
    left:0;
  }
}

h1, h2, h3, h4, h5, h6 {
  color: #080868;
  margin-top: 30px;
}
.navbar-default .navbar-nav > li > a {
  color: #fff;
}
.cover-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.cover-wrapper__inner {
  display: table-cell;
  vertical-align: middle;
}
.cover-wrapper__container {
  margin-right: auto;
  margin-left: auto;
}
.cover-wrapper__container a:hover {
 color: #F19336;
 animation-name: buttonAnimation;
 animation-duration: .5s;
 animation-fill-mode: forwards;
}

@media screen and (max-width: 767px) {
 .cover-wrapper__container a:hover {
   cursor: pointer;
 }
 
}

@keyframes buttonAnimation {
 from { padding: 5px 15px; font-size: inherit; background: transparent;}
 to { padding: 5px 15px; font-size: 24px; background: rgba(255, 255, 255, 0.3);}
}

.smallcircles {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  animation: infinite-rotation 50s infinite;
}
.small-circle {
  position: inherit;
  display: block;
  width: 200px;
  height: 200px;
  background: #6b6ba4;
  margin-top: -125px;
  margin-left: -125px;
  border-radius: 125px;
  -webkit-animation: smallcircle 0.8s ease-in-out alternate;
  -moz-animation: smallcircle 0.8s ease-in-out alternate;
  animation: smallcircle 0.8s ease-in-out alternate;
}
.small-circle:nth-child(1) {
  top: 12%;
  left: 24%;
}
.small-circle:nth-child(2) {
  display: block;
  top: 18%;
  left: 44%;
}
.small-circle:nth-child(3) {
  display: block;
  top: 78%;
  left: 5%;
}
.small-circle:nth-child(4) {
  display: block;
  top: 78%;
  left: 56%;
}
.small-circle:nth-child(4) {
  display: block;
  top: 78%;
  left: 56%;
}
.small-circle:nth-child(5) {
  display: block;
  top: 38%;
  left: 86%;
}
.small-circle:nth-child(6) {
  display: block;
  top: 86%;
  left: 96%;
}

@media screen and (max-width: 767px) {
 .small-circle {
   width: 100px;
   height: 100px;
 }
 .small-circle:nth-child(1) {
   display: none;
}
 .small-circle:nth-child(6) {
   display: none;
}
}

@keyframes smallcircle {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0);
 }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
 }
}
@keyframes infinite-rotation {
  from {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
 }
  to {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
 }
}

/* 2.2 Skills */
#skills {
  margin-bottom: 50px;
  z-index: 100px;
}

#skills h4 {
  margin-bottom: 60px;
}

#skills i + #skills img {
  padding: 50px 20px;
}

div.skill-item.WDD {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  max-width: 100px;
  margin-bottom: 80px;
  padding: 15px;
}

div.skill-item.O {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  width: 150px;
  margin: 20px 30px 50px 30px;
}

div.skill-item.O i {
  width: 30px;
  height: 30px;
}
.skill-item-caption {
  display: block;
}

.skill-item {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.skill-item:nth-child(3) {
  transition-delay: 100ms;
}

.skill-item:nth-child(4) {
  transition-delay: 200ms;
}

.skill-item:nth-child(5) {
  transition-delay: 400ms;
}

.skill-item:nth-child(6) {
  transition-delay: 600ms;
}

.skill-item:nth-child(7) {
  transition-delay: 800ms;
}

.skill-item:nth-child(8) {
  transition-delay: 1000ms;
}

.skill-item:nth-child(9) {
  transition-delay: 1200ms;
}

.skill-item:nth-child(10) {
  transition-delay: 1400ms;
}

.skill-item:nth-child(15) {
  transition-delay: 100ms;
}

.skill-item:nth-child(16) {
  transition-delay: 200ms;
}

.skill-item:nth-child(17) {
  transition-delay: 400ms;
}

.skill-item:nth-child(18) {
  transition-delay: 600ms;
}

@media(prefers-reduced-motion){
  .skill-item {
    transition: none;
  }
}

/* 2.3 About */

#about {
  z-index: 100;
}

#about p {
  padding: 0 200px;
  margin: 30px 0;
}

@media screen and (min-width: 768px) and (max-width: 1023px){
  #about p {
    padding: 0 100px;
  }
}

@media screen and (max-width: 767px){
  #about p {
    padding: 0 60px;
  }
}

#about img {
  clip-path: circle(50% at 50% 50%);
}

/* 2.4 Portfolio */
#portfolio {
  z-index: 100;
}

div.portfolio-item {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  width: 300px;
  margin: 30px auto 50px auto;
  z-index: inherit;
}

.portfolio-item-caption {
  margin-top: 20px;
  display: block;
  z-index: inherit;
}

.portfolio-wordpress img {
  margin: 20px 30px 80px 30px;
  z-index: inherit;
} 

/* 2.5 Contact */

#contact {
  z-index: 100;
}

/* Container needed to position the button. Adjust the width as needed */
#contact-items {
  position: relative;
  margin-bottom: 30px;
}

/* Make the image responsive */
#contact-items img {
  width: 100%;
  height: auto;
  margin: 30px;
}

/* Style the button and place it in the middle of the container/image */
#contact-items .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* 3 Privacy Policy & Terms and Conditions */
.top-of-page {
  margin-top: 80px;
  margin-bottom: 20px;
}

.privacy-text {
  margin: 0 100px;
  text-align: left;
}

.terms-text {
  margin: 0 100px;
  text-align: left;
}

/* 4 Portfolio */
.portfolio-content {
  margin: 0 100px;
  padding: 30px 0;
}

@media screen and (max-width: 767px){
  .portfolio-content {
    margin: 0 50px;
    padding: 0 0;
  }
}
.portfolio-content h4 {
  margin-top: 50px;
}

.portfolio-content img {
  max-inline-size: 100%;
  block-size: auto;
  object-fit: contain;
}

/* 5 About */
.about-content {
  margin: 0 100px;
  text-align: left;
}

@media screen and (max-width: 1023px) {
  .about-content {
    text-align: center;
  }
}

#about-container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

#about-container1-text {
  padding: 0 30px;
  max-width: 1000px;
}

.bootstrap-carousel {
  text-align: center;
}

.center-p {
  text-align: center;
  margin: 30px 0;
}

#about-container2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

#about-container2-text {
  padding: 0 30px;
  line-height: 40px;
  max-width: 1000px;
}

.every-pixel {
  text-align: center;
  margin: 30px 0;
}

.every-pixel h3 {
  margin: 40px 0;
}

div.about-item-O {
  vertical-align: top;
  display: inline-block;
  text-align: center;
  width: 200px;
  margin-bottom: 50px;
  margin: 0 30px;
}

div.about-item-O i {
  width: 30px;
  height: 30px;
  background: #C1C1D9;
  padding: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.about-item-caption {
  display: block;
}

/* 6 Contact */
.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px 0;
  border: solid 5px rgba(8, 8, 104, 0.4);
}

.contact-container-text {
  padding: 30px;
  text-align: left ;
}

.contact-container-img {
  padding: 30px;

}

.contact-form-container {
  margin: 0 auto;
  text-align: left;
}

.required {
  color: red;
}