/* ............/google font/............ */
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans&display=swap');



/* ............/pop-up/............ *

/* desktop mode............/// */
.popup{
	z-index: 1;
    background-color: rgb(22, 67, 85);
	color: white;
    width: 200px;
    padding: 20px;
    position: fixed;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 300px;
    display: none;
    text-align: center;
    box-shadow: 0px 0px 10000px 500px rgba(0,0,0,1);
    border-radius: 5px 5px 5px 5px;
	border: 8px solid;
}
.popup-p{
    text-align: center;
}
.popup button{
    display: block;
    margin:  0;
    background-color: transparent;
    font-size: 20px;
    color: rgb(22, 67, 85);
	background: white;
	border-radius: 100%;
	width: 30px;
	height: 30px;
    border: none;
    outline: none;
    cursor: pointer;
}
/* mobile mode............/// */
@media (max-width: 700px) {
	.popup{
		width: 150px;
	    top: 180px;
	}
	.popup button{
		margin-bottom: -10px;
		margin-top: -10px;
		margin-left: 0px;
		font-size: 30px;
		width: 150px;
		height: 50px;
		border-radius: 5px 5px 5px 5px;
		text-align: center;
	}
}


/* ............/main style settings/............ */
body {
	font-family: 'Nunito Sans', sans-serif;
    padding: 10px;
    word-break: normal;
}

h1 {
    text-align: center;    
}

p {
    text-align: justify;    
}

.bullet-points {
	list-style-type: circle;
}
ul {
	list-style-type: none;
}
li {
		text-align: justify; 
}

/* smaller margin in mobile devices............/// */
@media (max-width: 550px) {
	li {
		margin-left: -30px;
		margin-right: -30px;
	}
}

.number {
	margin-left: -12px;
}

.link {
	font-style: normal;
	color: rgb(22, 67, 85);
}

.link:hover {
	color: rgb(158, 203, 221);
	font-style: normal;
}

.link-sup {
	text-decoration: none;
	color: rgb(22, 67, 85);
}

.link-sup:hover {
	color: rgb(158, 203, 221);
}

#page_bg {
    position: fixed;
    z-index: -1;
    background-image: linear-gradient(to bottom, rgb(22, 67, 85), rgb(158, 203, 221));
    filter: blur(0.5px);
    width:100%;
    height:100%;
    left: 0;
    top: 0;
}

#content {
	display: center;
    position: relative;
    z-index: 1;
    top: 10px;
    margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
    width: 70%;
	min-height: 900px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 100px 10px rgba(0,0,0,1);
    border-radius: 5px 5px 5px 5px;
    padding-left: 50px;
    padding-right: 50px;
}

#explanation_image {
	display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
	max-width: 700px;
}
/* mobile mode............/// */
@media (max-width: 550px) {
    #explanation_image {
		width: 90%;
    }
}

#tutorial {
    margin-left: 1em;
	margin-right: 2em;
}

#tutorial li {
	display: list-item;
    list-style-type: decimal;

}






/* ............/ SDG flip cards/............ *

/* desktop mode............/// */

.flip-card-list {
    list-style-position: inside;
    text-align: center;
	margin-left: -50px;
}

.flip-card {
    display: inline-block;
    position: relative;
    height: 150px;
    width: 150px;
    background-color: white;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    padding-left: 30px;
	padding-right: 30px;
}

.flip-card-inner {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 150px;
    text-align: center;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    padding: 1px;
    border: 2px solid;
    border-color: white;
    border-radius: 5px 5px 5px 5px;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
	box-shadow: 0px 0px 10px 10px rgba(0,0,0,.2);
}

.flip-card-front {
    background-color: white;
}

.flip-card-back {
	box-shadow: 0px 0px 10px 10px rgba(0,0,0,.2), inset 0 0 0 6px white;
    background-color: rgb(16, 51, 65);
    transform: rotateY(180deg);
	left: -7px;
}

.flip-card-back-text {
    text-align: center;
    color: white;
}

/* mobile mode............/// */
@media (max-width: 700px) {
    .flip-card {
        display: block;
        margin: 0 auto;
    }
    #flip-card_2 {
        margin-top: 50px;
    }
}





/* ............/contact flip cards/............ *

/* desktop mode............/// */
.contact-cards {
    list-style-position: inside;
    text-align: center;
	margin-left: -60px;
}

.card {
    display: inline-block;
	position: relative;
    margin: 10px;
	border-radius: 5px 5px 5px 5px;
	padding: 10px;
	width: 250px;
	height: 250px;
	margin: 30px;
	perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

.card-inner {
    position: relative;
    z-index: 2;
    width: 250px;
    height: 250px;
    text-align: center;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    padding: 1px;
    border: 10px solid;
    border-color: white;
    border-radius: 5px 5px 5px 5px;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
	box-shadow: 0px 0px 10px 10px rgba(0,0,0,.2);
	background-color: white;
}

.card-back {
    transform: rotateY(180deg);
	left: -22px;
}

.card-text {
	text-align: center;
}

/* mobile mode............/// */
@media (max-width: 550px) {
    .card {
        width: 150px;
		height: 150px;
		margin-top: 20px;
		margin-left: 20px;
    }
	.card-inner{
		width: 150px;
		height: 150px;
	}	
	.card-image{
		position: absolute;
		top: 0px;
		left:0px;
	}
	.card-back{
		height: 250px;
	}
	#card-2{
		margin-top: 100px;
	}
	#card-2-back{
		height: 280px;
	}
}










/* ............/navigation bar/............ */

/* desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  position: fixed;
  z-index: 2;
  top: 27px;
  left: -65px;
  width: 130px;
  height: 200px;
  background: transparent;
  color: white;
}

.navbar-container {
  justify-content: space-between;
  height: 64px;
  align-items: center;
}

.menu-items {
  order: 2;
  text-align: left;
}

.menu-items li {
  margin-left: 20px;
  margin-bottom: 30px;
}

.menu-items a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.4s ease-in-out;
  padding: 15px;
  border-radius: 0 5px 5px 0;
  background-color: transparent;
  transition: color 0.4s ease-in-out;
}

.menu-items a:hover {
  color: rgb(22, 67, 85);
  transition: color 0.4s ease-in-out;
  background-color: rgba(255, 255, 255);
  transition: color 0.4s ease-in-out;
}


/* mobile mode - HAMBURGER............/// */

@media (max-width: 1200px) {
    .navbar {
		top: 12px;
		left: 0;
    }
	.menu-list-items {
		margin-top: -20px;
		padding: 5px;
	}
	.menu-items a{
	  padding: 5px;
	}
	.menu-items li {
	  margin-bottom: 20px;
	}
    .navbar-container input[type="checkbox"] {
      position: absolute;
      display: block;
      height: 32px;
      width: 30px;
      top: 30px;
      left: 20px;
      z-index: 5;
      opacity: 0;
    }
    .navbar-container .hamburger-lines {
      display: block;
      height: 23px;
      width: 35px;
      position: absolute;
      top: 30px;
      left: 20px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .navbar-container .hamburger-lines .line {
      display: block;
      height: 4px;
      width: 100%;
      border-radius: 10px;
	  background: white;
	  border: 1px solid;
	  border-color: black;
    }
    .navbar-container input[type="checkbox"]:hover ~ .hamburger-lines .line {
	  background: rgb(158, 203, 221);
    }
    .navbar-container .hamburger-lines .line1 {
      transform-origin: 0% 0%;
      transition: transform 0.25s ease-in-out;
    }
    .navbar-container .hamburger-lines .line2 {
      transition: transform 0.15s ease-in-out;
    }
    .navbar-container .hamburger-lines .line3 {
      transform-origin: 0% 100%;
      transition: transform 0.25s ease-in-out;
    }
    .navbar .menu-items {
      padding-top: 60px;
      margin-left: -65px;
      background: rgb(22, 67, 85);
      border: 2px solid;
      border-color: white;
      border-radius: 0 5px 5px 0;
      box-shadow: 0px 0px 100px 10px rgba(0,0,0,1);
      max-width: 300px;
      transform: translate(-150%);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease-in-out 0.3s;
    }
    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
      transform: translateX(0);
    }
    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
      transform: rotate(28.5deg);
    }
    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
      transform: scaleY(0);
    }
    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
      transform: rotate(-28.5deg);
    }
}