html {
	scroll-behavior: smooth;
}

body {
    font-family: "Noto Serif Display", serif !important;
    font-style: normal;
    font-weight: 800 !important;
    margin: 0;
    color: #f6eee1;
    background-color: #292828;
    height: 100%;
    width: 100%;
}

body::-webkit-scrollbar {
    display: none;
}

body::-webkit-scrollbar:hover {
    display: block;
}

.top {
    position: fixed;
    color: #ebdbb2;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 9;
    background-color: #282828;
    animation: topbar 0.7s;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    align-items: center;
    transition: top 0.5s;
}

.icon {
	display: none;
}

.logo {
	font-family: "Caveat", cursive;
	font-weight: 700;
	font-style: normal;
	font-size: 24px;
}

.menu {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-right: 30px;
}

a:link {
    color: #ebdbb2;
    text-decoration: none;
}

a:visited {
	color: #ebdbb2;
}

a:hover {
	text-decoration: underline;
}

.box1 {
    background-color: #292828;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 9rem;
    align-items: center;
    flex-direction: column;
    color: #ebdbb2;
    position: relative;
}

.box1 .text {
	position: relative;
	display: inline-block;
	z-index: 6;
}

.text::before {
	content: 'PORTFOLIO.';
	position: absolute;
	top:10px;
	left: 10px;
	color: rgba(235, 219, 178, 0.2);
	-webkit-text-stroke: 2px #fdad15;
	z-index: -1;
	opacity: 0.65;
}


.trans {
    color: transparent;
    -webkit-text-stroke: 2px #fdad15;
    z-index: 3;
}

@keyframes myanim {
	0% {
		opacity: 0;
		transform: translateY(90px) scale(0.85);
	}

	100% {
		opacity: 1;
		transform: translateY(0px) scale(1);
	}
}

@keyframes topbar {
	0% {
		opacity: 0;
		transform: translateY(-30px) ;
	}
	100% {
		opacity: 1;
		transform: translateY(0px) ;
	}
}

.anim {
	z-index: 4;
	animation: myanim 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.black {
    position: absolute;
    top: 75%;
    background-color: black;
    width: 100%;
    height: 25%;
    z-index: 2;
    display: none;
}


.box2 {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 1.5fr auto 1fr;
    height: 90%;
    width: 70%;
    padding-left: 15%;
    padding-right: 15%; 
    background-color: #ebdbb2;
    color: #282828;
}

.about, .about-content, .edu {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    flex-direction: column;
}

.about {
	align-items: flex-start;
}

.about-content h2 {
    font-family: "Noto Serif Display", serif;
    align-self: flex-start;
}


.about {
    font-size: 6rem;
    font-weight: 500;
}

.about-content {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    padding: 50px;
}

.edu {
    display: flex;
    grid-column: span 2;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    font-size: 1.5rem;
    align-items: flex-start;
    margin-left: 20px;
    grid-area: 3/1/4/3; 
    margin-right: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

h1 {
    display: block;
    margin-left: 20px;
    grid-area: 2/1/3/4;
    font-size: 3.3rem;
}

.box3 {
    background-color: #292828;
    margin: 0;
    width: 100%;
}

/*.box3 div {*/
/*	width: 80%;*/
/*	margin-left: 10%;*/
/*	margin-right: 10%;*/
/*}*/

/*.box3> h1 {*/
/*    color: #ebdbb2;*/
/*    padding: 30px;*/
/*    margin-left: 10%;*/
/*    margin-top: 0;*/
/*}*/

.box3 a {
    font-size: 1em;
    color: #f6eee1;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

.box3 svg {
    display: inline;
}

.box3 h2 {
    display: flex;
    color: #f6eee1;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin-left: 10%;
}

.ard {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    grid-template-rows:  auto ;
}

.images {
    height:40vh;
    width: 30vh;
    overflow: hidden;
    margin: 20px;
    position: relative;
    border-radius: 17px;
}

.ard div  {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.transp {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 17px;
    object-fit: cover;
}

.showing {
    opacity: 1;
}

.proj-content {
	font-size: 1.5em;
	font-weight: 400;
	justify-content: flex-start;
	margin-right: 10%;
}

.connections > h1 {
	margin-bottom: 0;
	color: #ebdbb2;
}

.connections ul {
	list-style-type: none;
	font-size: 20px;
}

.connections {
  width: 80%;
  margin: 0 auto;
}

li {
	margin: 6px;
}

.big-parent {
  display: flex;
  flex-direction: row;
  width: 80% !important;
  margin: 0 auto;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.box3 > h1 {
  margin-left: 10%;
  width: 80%;
  color: #ebdbb2;
}

.med-parent {
  display: flex;
}

.Para {
  background-color: #2a2a2e;
  width: 20rem;
  height: 20rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.Para h1 {
  font-size: 2rem;
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  color: white;
}

.dropdowns {
  width: 20rem;
  height: 20rem;
  display: none;
  position: absolute;
  align-items: center;
  justify-content: center;
  top: 0;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  background-color: #ebdbb2;
  color: #2a2a2e;
  border-radius: 1rem;
}

.dropdowns p {
  padding: 4px;
  align-self: center;
  font-size: 1.3em;
}

.dropdowns a {
  color: #2a2a2e;
  font-weight: 600;
}


@media (max-width:600px) {
	body,
	.box1,
	.box2,
	.box3 {
		overflow-x: hidden;
		height: 100%;
		overflow-y: auto;
	}

	html {
		scroll-behavior: smooth;
	}

	.top {
		position: fixed;
		font-size: 1rem;
		padding: 10px;
		font-size: 10px;
		display: block;
		box-sizing: border-box;
		width: 100%;
		overflow-x: hidden;
		display: flex;
		margin: 0;
		padding-right: 20px;
	}


	.menu  {
		visibility: hidden;
		opacity: 0;
		transform: translateX(300px);
		transition: 0.7s ;
	}

	.box1 {
		font-size: 2.5rem;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 90vh;
	}

	.box2,
	.box3,
	.ard
	{
		width: 100%;
		font-size: 1em;
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 5px;
		align-items: center;
	}

	.box2,
	.box3 {
		height: fit-content;	}

	.box2 {
		height: 70vh;
		justify-content: center;
	}

	.about {
		font-size: 3rem;
		align-items: center;
		padding-top: 15px;
		font-weight: bold;
	}



	.box2 h2 {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.about-content,
	.edu {
		font-size: 1rem;
		padding: 0;
		padding-left: 30px;
		padding-right: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.edu span {
		padding: 10px;
	}

	.edu {
		display: flex;
		flex-direction: row;
		padding-bottom:20px;
	}

	.box3 h1,
	.box2 h1 {
		margin-left: 0;
		display: flex;
		justify-content: center;
	}

	.box3 h1 {
		margin-bottom: 0;
	}

	.ard {
		margin: 5%;
	}

	.proj-content {
		font-size: 1.2rem;
	}

	.images {
		height: 30vh;
		width: 20vh;
	}

	ul {
		padding: 0;
	}

	li {
		font-size: 1rem;
		display: flex;
		justify-content: center;
	}

	.icon {
		display: inline-block;
		cursor: pointer;
	}

	.bar1,
	.bar2, 
	.bar3 {
		width: 30px;
		height: 3px;
		background-color: #ebdbb2;
		margin: 5px 0px;
		transition: 0.4s;
	}

	.change .bar1 {
		transform: translate(0, 8px) rotate(-45deg);
	}

	.change .bar2 {
		opacity: 0;
	}

	.change .bar3 {
		transform: translate(0,-8px) rotate(45deg);
	}

	.menu.show {
		visibility: visible;
		opacity: 1 !important;
		transform: translateX(0);
	}

  .Para {
    height: 15rem;
    width: 15rem;
  }
  
  .Para h1 {
    font-size: 1.5rem;
  }

  .dropdowns {
    height: 15rem;
    width: 15rem;
    font-size: 0.8em;
  }

}
