@charset "utf-8";

/**********CSS Reset**********/

p, ul, ol, h1, h2, h3, address {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4 {
	font-family: 'Poppins', sans-serif;
	font-weight: 900;
}

p, a, address, ul, ol {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	text-decoration: none;
}

ul, ol {
    list-style-type: none;
}

* { box-sizing: border-box; }

/**********End Reset**********/

#container {
	max-width: 600px;
    background-color: #FFF;
    margin-left: auto;
    margin-right: auto;
}

/**********Header Styles**********/

header {
    border-bottom: 5px double #000000;
    padding-bottom: 10px;
}

header h1 {
	text-align: center;
    font-size: 3em;
    padding-top: 30px;
    letter-spacing: 5px;
}

nav {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom-width: 5px;
    border-bottom-style: double;
}

nav ul {
	display: flex;
	justify-content: center;
	column-gap: 35px;
}

nav ul li a {
	padding: 5px 10px;
	font-size: 1em;
	font-weight: 700;
	color: #000;
}

.box {
  margin-top: 20px;
  background-color: #7486DF;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 5px;
  border: 2px solid #000000;
}

.box .group {
  width: 214px;
  height: 180px;
}

.box .overlap-group {
  position: relative;
  height: 180px;
}

.box .rectangle {
  top: 17px;
  left: 17px;
  background-color: #402442;
  transform: rotate(-15.00deg);
  position: absolute;
  width: 147px;
  height: 147px;
  border-radius: 25px;
  border: 2px solid;
  border-color: #000000;
}

.box .div {
  top: 9px;
  left: 42px;
  background-color: #9d0066;
  transform: rotate(-7.50deg);
  position: absolute;
  width: 147px;
  height: 147px;
  border-radius: 25px;
  border: 2px solid;
  border-color: #000000;
}

.box .rectangle-2 {
  top: 9px;
  left: 67px;
  background-color: #ffc876;
  position: absolute;
  width: 147px;
  height: 147px;
  border-radius: 25px;
  border: 2px solid;
  border-color: #000000;
}

img {
    position: absolute;
    border-radius: 200px;
    border: 2px solid rgba(0,0,0,1.00);
    background-color: #fff;
    margin-left: 84px;
    margin-top: -181px;
}

#introText {
	max-width: 400px;
    position: absolute;
    width: 45%;
    margin-left: 235px;
    margin-top: -170px;
}

#introText h2 {
	max-width: 400px;
	font-size: 1.15em;
}

#introText p {
	max-width: 400px;
	font-size: 0.65em;
	padding-top: 10px;
}

/**********Middle Styles**********/

#middle {
    margin-top: 35px;
	margin-bottom: 50px;
	padding-left: 20px;
	padding-right: 20px;
}
#middle h2 {
    font-size: 2.5rem;
    text-align: left;
    letter-spacing: 5px;
    border-bottom: 5px double #000000;
    margin-bottom: 20px;
}

#middle a {
    color: #000000;
	font-size: 1em;
	font-weight: 500;
}

#middle button {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 20px 25px;
    text-align: center;
    cursor: pointer;
    outline: none;
    border: 2px solid #000;
    border-radius: 15px;
    box-shadow: 0 5px #000;
}

#middle button:active {
	background-color: #402442;
	box-shadow: 0 5px #000;
	transform: translateY(4px);
}

#challenges button {background-color: #FFC876;}

#projects button {background-color: #7486DF;}

#middle button:hover {
	background-color: #9D0066;
	color: #fff;
}

#projects {
	padding-top: 15px;
}

#backToTop {
    margin-top: -20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

#backToTop a{
	color: #000;
}
/**********Footer Styles**********/
footer {
	width: 100%;
	background-color: #000;
	padding: 20px;
}

#contact h2 {
	color: #fff;
	letter-spacing: 5px;
}

address, address a {
	padding-top: 10px;
	color: #fff;
	line-height: 1.5em;
}

/**********Media Queries**********/

@media only screen and (min-width: 700px) {
	#container {
		max-width: 960px;
	}

	.box {
		margin-top: 20px;
		background-color: #7486DF;
		padding-top: 20px;
		padding-right: 20px;
		padding-bottom: 20px;
		padding-left: 5px;
		border: 2px solid #000000;
	}

	.box .group {
	  width: 311px;
	  height: 261px;
	}

	.box .overlap-group {
	  position: relative;
	  height: 261px;
	}

	.box .rectangle {
	  top: 24px;
	  left: 24px;
	  background-color: #402442;
	  transform: rotate(-15.00deg);
	  position: absolute;
	  width: 213px;
	  height: 213px;
	  border-radius: 40px;
	  border: 2px solid;
	  border-color: #000000;
	}

	.box .div {
	  top: 13px;
	  left: 61px;
	  background-color: #9d0066;
	  transform: rotate(-7.50deg);
	  position: absolute;
	  width: 213px;
	  height: 213px;
	  border-radius: 40px;
	  border: 2px solid;
	  border-color: #000000;
	}

	.box .rectangle-2 {
	  top: 13px;
	  left: 98px;
	  background-color: #ffc876;
	  position: absolute;
	  width: 213px;
	  height: 213px;
	  border-radius: 40px;
	  border: 2px solid;
	  border-color: #000000;
	}

	img {
		position: absolute;
		width: 175px;
		height: 175px;
		border-radius: 200px;
		border: 2px solid rgba(0,0,0,1.00);
		background-color: #fff;
		margin-left: 123px;
		margin-top: -250px;
	}
	
	#introText {
		max-width: 960px;
		position: absolute;
		width: 60%;
		margin-left: 350px;
		margin-top: -225px;
	}

	#introText h2 {
		max-width: 400px;
		font-size: 1.75em;
	}

	#introText p {
		max-width: 400px;
		font-size: 1em;
		padding-top: 10px;
	}
	
	#challenges ul, #projects ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}

@media only screen and (min-width: 960px) {
	#container {
		max-width: 1440px;
	}
	
	
}
