@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* GENERAL */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Poppins', sans-serif;
	color: #263140;
}

a {
	color: #8D24DF;
	font-weight: 900;
}

/* NAVBAR */
.navbar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 8vw;
	background: #8D24DF;
	left: 0px;
	top: 0px;
}
 
.navbar ul {
	list-style-type: none;
}

.navbar li {
	margin-top: 40px;
	height: 80px;
	width: 80px;
	display: flex;
  	align-items: center;
	justify-content: center;
}

.navbar li#active {
	background: #fff;
	border-radius: 15px;
	padding-top: 7px;
}

.navbar li:hover {
	background: #692d97;
	border-radius: 15px;
	padding-top: 7px;	
}

.navbar img {
	height: 45px;
}

/* HOME PAGE*/

.home_left {
	height: 100vh;
	top: 0;
	position: absolute;
	width: 30vw;
	margin-left: 12vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 10vh;
}

.home_left #DP{
	height: 400px;
	width: 400px;
	justify-content: center;
	margin-left: 1vw;
	margin-bottom: 2vh;
}

.home_social{
	align-self: center flex-end;
	margin-top: 3vh;
}

.home_social ul {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	justify-content: center;
}

.home_social img{
	height: 60px;
	margin-right: 30px;
	transition: transform .8s ease-in-out;
}

.home_social img:hover {
	transform: rotate(360deg);
}

.home_right {
	height: 100vh;
	top: 0;
	position: absolute;
	width: 53vw;
	margin-left: 47vw;
	display: flex;
	flex-direction: column;
}

.home_right h2 {
	margin-top: 7vh;
	font-weight: 400;
	font-size: 40px;
	display: inline;
}

.home_right h1 {
	font-weight: 400;
	font-size: 40px;
	display: inline;	
}

.home_right strong {
    font-weight: 800;
    font-size: 42px;
}

.home_right sup {
	font-size: 15px; 
	font-weight: 300;
}

.home_right p {
	margin-top: 3.5vh;
	font-weight: 400;
	font-size: 14.5px;
	display: inline;	
	text-align: justify;
	width: 45vw;
}

.home_right img {
	height: 60px;
	transition: transform .8s ease-in-out;
}

.home_right img:hover {
	transform: rotate(360deg);
}

.home_right #top_right {
	align-self: flex-end;
	margin-top: 2vh;
	margin-right: 2vh;
}

.home_tagline {
	align-self: center;
	display: flex;
}

.home_tagline #tagline_logo {
	height: 35px;
	border-radius: 50px;
}

.home_tagline p {
	margin-left: 0.5vw;
	align-self: center;
	font-weight: 400;
	font-size: 14.5px;
}

/* TOGGLE BUTTON */
:root {
	/** sunny side **/
	--blue-background: #c2e9f6;
	--blue-border: #72cce3;
	--blue-color: #96dcee;
	--yellow-background: #fffaa8;
	--yellow-border: #f5eb71;
	/** dark side **/
	--indigo-background: #808fc7;
	--indigo-border: #5d6baa;
	--indigo-color: #6b7abb;
	--gray-border: #e8e8ea;
	--gray-dots: #e8e8ea;
	/** general **/
	--white: #fff;
}

.toggle--checkbox {
	display: none;
}

.toggle--label {
	width: 95px;
	height: 50px;
	background: var(--blue-color);
	border-radius: 100px;
	border: 5px solid var(--blue-border);
	display: flex;
	position: relative;
	transition: all 350ms ease-in;
	align-self: flex-end;
	margin-top: 7vh;
	margin-right: 7vh;
}

.toggle--label:before {
	animation-name: reverse;
	animation-duration: 350ms;
	animation-fill-mode: forwards;
	transition: all 350ms ease-in;
	content: '';
	width: 35px;
	height: 35px;
	border: 2px solid var(--yellow-border);
	top: 0.5px;
	position: absolute;
	border-radius: 82px;
	background: var(--yellow-background);
}

.toggle--label-background:before {
	content: '';
	position: absolute;
	width: 20px;
	height: 3px;
	border-radius: 5px;
	background: var(--white);
	left: 50px;
	top: 15px;
	transition: all 150ms ease-in;
}

.toggle--label-background:after {
	content: '';
	position: absolute;
	top: 22px;
	width: 20px;
	height: 3px;
	border-radius: 5px;
	background: var(--white);
	left: 57px;
	transition: all 150ms ease-in;
}  
  
.toggle--checkbox:checked + .toggle--label {
	background: var(--indigo-color);
	border-color: var(--indigo-border);
}

.toggle--checkbox:checked + .toggle--label:before {
	background: var(--white);
	border-color: var(--gray-border);
	animation-name: switch;
	animation-duration: 350ms;
	animation-fill-mode: forwards;
}

.toggle--label:after {
	transition-delay: 0ms;
	transition: all 250ms ease-in;
	position: absolute;
	content: '';
	box-shadow: var(--gray-dots) -25px 10px 0 2px, var(--gray-dots) -30px 20px 0 0px;
	left: 80px;
	top: 0px;
	width: 5px;
	height: 5px;
	background: transparent;
	border-radius: 50%;
	opacity: 0;
}

.toggle--checkbox:checked + .toggle--label:after {
	transition-delay: 350ms;
	opacity: 1;
}

.toggle--checkbox:checked + .toggle--label .toggle--label-background:before {
	width: 5px;
	height: 5px;
	top: 15px;
	left: 25px;
}  

.toggle--checkbox:checked + .toggle--label .toggle--label-background:after {
	width: 4px;
	height: 4px;
	left: 15px;
	top: 25px;
}

@keyframes reverse {
	0% {
	  left: 45px;
	  width: 35px;
	}

	60% {
	  left: 0.5px;
	  width: 45px;
	}

	100% {
	  left: 0.5px;
	}
}

@keyframes switch {
	0% {
	  left: 0.5px;
	}

	60% {
	  left: 0.5px;
	  width: 45px;
	}

	100% {
	  left: 45px;
	  width: 35px;
	}
}

/* PROJECTS PAGE */

.pane {
	height: 100vh;
	width: 30vw;
	top: 0px;
	position: absolute;
	margin-left: 8vw;
	display: flex;
	flex-direction: column;
	border-right: 1px solid #F9F8FF;
	background-color: #fff;
}

.heading {
	margin-top: 10vh;
	padding-bottom: 2vh;
	margin-left: 1vw;	
	display: inline;
}

.heading h1 {
	font-weight: 1200;
	font-size: 30px;
	float: left;
}

.heading h3 {
	font-weight: 300;
	font-size: 13px;
	float: right;
	margin-top: 2.5vh;
	margin-right: 1vw;
}

.pane-project-container {
	overflow-x: hidden;
    overflow-y: auto;
}

.pane-project {
	background-color: #fff;
	height: 12vh;
	border-top: 1px solid #F9F8FF;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.pane-project:hover {
	background-color:#F9F8FF;
	cursor: pointer;
}

.pane img {
	height: 60px;
	margin-left: 1vw;
}

.pane h2 {
	font-size: 18px;
	margin-left: 1vw;
	font-weight: 100;
}

button #menu {
	visibility: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar {
	width: 3px;
}

::-webkit-scrollbar-thumb {
	background: #8D24DF;
}

::-webkit-scrollbar-thumb:hover {
	background: #8D24DF;
}

.project-detail {
	height: 100vh;
	top: 0px;
	position: absolute;
	width: 62vw;
	margin-left: 38vw;
	overflow-x: hidden;
    overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.nav-buttons {
	margin-top: 6vh;
	margin-left: 3vw;
	margin-right: 3vw;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.nav-buttons button {
	background-color: #8D24DF;
	height: 35px;
	width: 100px;
	color: #fff;
	font-family: Poppins;
	font-weight: 600;
	font-size: 15px;
	border: none;
	border-radius: 12px;
}

.nav-buttons button:hover {
	background-color: #692d97;
	cursor: pointer;
}

.project-detail img {
	height: 200px;
}

.project-detail h1 {
	align-self: center;
	margin-top: 1vh;
	font-weight: 900;
}

.project-detail h3 {
	align-self: center;
	font-weight: 300;
	font-size: 18px;
	padding-bottom: 6vh;
}

.project-detail h2 {
	font-weight: 700;
	font-size: 20px;
	margin-left: 3vw;	
}

.project-detail p {
	font-weight: 300;
	font-size: 15px;
	margin-left: 3vw;	
	margin-right: 3vw;
	text-align: justify;
	margin-top: 1vh;
	padding-bottom: 5vh;
}

/* CONTACT PAGE */
.contact_left {
	height: 100vh;
	top: 0;
	position: absolute;
	display: flex;
	flex-direction: column;
	width: 47vw;
	margin-left: 8vw;
	padding-left: 8vw;
	padding-top: 27vh;
}

.contact_left h1 {
	padding-bottom: 1vh;
}

.contact_field {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 1vh;
}

.contact_field img{
	height: 50px;
	margin-top: 0.5vh;
	transition: transform .8s ease-in-out;
}

.contact_field img:hover {
	transform: rotate(360deg);
}

.contact_field h2 {
	font-weight: 300;
	margin-left: 1vw;
	font-size: 20px;
}

.contact_right {
	top: 0;
	position: absolute;
	width: 45vw;
	margin-left: 55vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
}

#text {
	position: absolute;
	right: 0px;
	top: 0px;
	margin-right: 3vw;
	margin-top: 18vh;
	font-weight: 600;
}

.contact_right #contact_top-right {
	align-self: flex-end;
	margin-top: 7vh;
	margin-right: 7vh;
}

.contact_right img#button {
	height: 55px;
	transition: transform .8s ease-in-out;
}

.contact_right img#button:hover {
	transform: rotate(360deg);
}

.contact_right img{
	height: 450px;
	align-self: flex-start;
	margin-top: 3vh;
}

/* HELPBOX */
.helpbox {
	display: none; 
	position: fixed;
	z-index: 1; 
	padding-top: 20vh; 
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}
  
.helpbox_content {
	background-color: #fefefe;
	margin: auto;
	padding: 25px 20px 20px 30px;
	border: 1px solid #888;
	border-radius: 10px;
	width: 70vw;
	height: 60vh;
	overflow: auto;
}

.helpbox_content b 
{
	background-color: #888;
	border-bottom: 4px solid #444;
	border-radius: 2px;
	padding: 4px 7px 3px 7px; /* top/right/bottom/left */
	color: #FFF;
	font-size: 14px;
	margin-right: 1vw;
	font-weight: 800;
}

.helpbox_content b#heading_bold 
{
	font-size: 18px;
	margin-left: 1vw;
	position: absolute;
	margin-top: 1vh;
	font-weight: 800;
}

.helpbox_content p 
{
	margin-top: 3vh;
}

/* POPUP */
.popup  
{
	display: none; 
	position: fixed;
	z-index: 1; 
	padding-top: 87vh; 
	padding-left: 83vw;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
}
  
.popup_content {
	background-color: #fefefe;
	margin: auto;
	padding: 8px 20px 10px 15px;
	border: 1px solid #888;
	border-radius: 15px 15px 0px 15px;
	width: 15vw;
	height: 11vh;
	overflow: none;
	font-size: 11px;
}

.popup_content b 
{
	background-color: #888;
	border-bottom: 4px solid #444;
	border-radius: 2px;
	padding: 4px 7px 2px 7px; /* top/right/bottom/left */
	color: #FFF;
	font-size: 9px;
}