/*
Writing CSS styles, including selectors with declarations.
Using common properties related to color, size, font, text alignment, and background.
Working with a given element's box model by modifying their width/height, border, padding, and margin.
Laying out elements on the page according to how they're displayed and positioned.
*/

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


body {
  width: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: -webkit-center;
  background-color: black;
}

.main {
  position: relative;
  background: white;
  box-shadow: 0 5px 5px -5px #00000026;
  max-width: calc(800px - 30px);
  height: auto;
  padding: 15px 25px 15px 25px;
}

header {
  position: relative;
  background-color: black;
  background-size: cover;
  background-repeat: no-repeat;
}


h1 {
  color: aliceblue;
  font-size: 50px;
  margin: 0 0 15px 0;
}

h2 {
  text-transform: uppercase;
  font-size: 30px;
  
  margin: 0 0 0px 0;
  border-radius: 0px 7px 0px 0px;
  padding: 7.5px 0px 7.5px 0px;
  background-color: black;
  color: aliceblue;
}

h3 {
  font-size: 25px;
  margin: 0 0 0px 0;
  border-radius: 0px 7px 0px 0px;
  padding: 7.5px 0px 7.5px 0px;
  background-color: black;
  color: aliceblue;
}

/*
h2 {
  color: aliceblue;
  background-color: black;
  padding: 15px 0 15px 0;
  border-radius: 0;
}
*/

p {
  font-size: 20px;
}

main {
  margin-top: 20px;
}

section {
  margin: 10px 0px;
}

/*HEADER NAVIGATION*/

.nav {
  color: aliceblue;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  bottom: 10px;
  width: 25%;
  display: inline-block;
  border: 2px solid aliceblue;
  padding: 5px;
  margin: 10px;
}

.nav:hover {
  color: black;
  background-color: aliceblue;
}

/*ABOUT ME*/

#about-me {
  display: flex;
}

#profile-pic {
  border: 1px solid;
  border-radius: 0 7px 7px 0;
  width: 250px;
  margin: 0px;
}

.box-1 {
  flex: 50%;
  margin: 10px 7.5px 10px 0px;
}

.box-2 {
  border-radius: 0 7px 7px 0;
  margin: 10px 0px 13px 0px;
  width: 60%;
  background-color: greenyellow;
}

.introduction {
  position: relative;
  top: 50px;
  padding: 3px;
  margin: 3px;
}

/*
.box-2 > h2 {
  margin: 0 0 0px 0;
  border-radius: 0px 7px 0px 0px;
  padding: 7.5px 0px 7.5px 0px;
  background-color: black;
  color: aliceblue;
}
*/

/*PROJECT*/

#project {
position: relative;
margin: auto;
}

#project-1, #project-2 {
  display: inline-block;
  position: relative;
}

.project-pic {
  width: 250px;
  margin: 15px 0 0 0;
  border: 1px solid black;
  border-radius: 0 7px 7px 0;
}

#project-word-1, #project-word-2 {
  width: 350px;
  border-radius: 0 7px 0 0;
  border: 1px solid;
  margin: 10px 0px 13px 0px;
  background-color: aliceblue;
}


/*CONTACT*/

form {
  position: relative;
  background-color: greenyellow;
  color: black;
  padding: 0 0 15px 0;
  border-radius: 0px 7px 0px 0px;
  margin: 10px 0px 20px 0px;
}

.form {
  position: relative;
  display: inline-block;
  margin: 10px 0 10px 0;
}

form > p {
  margin: 10px 0 10px 0;
}

label, #submit {
  text-transform: uppercase;
  font-weight: 800;
}

#name {
  margin: 0 20px 0 0;
}

#submit {
  width: 50%;
  margin: 10px;
  background-color: black;
  color: aliceblue;
}

#submit:hover {
  color: black;
  background-color: aliceblue;
}

#name, #email, #submit {
  border: 2px solid;
  border-width: 37.5%;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px;
}


/*SNS INFO*/

#sns {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

#sns img {
  width: 25px;
  height: auto;
}

/*FOOTER*/

footer {
  color: aliceblue;
  padding: 0 0 15px 0;
  margin: auto;
}

footer > p {
  font-size: 15px;
}

/*#sns img {
  display: inline-block;
  height: 35px;
  border-radius: 10px;
  transition: transform .2s ease;
  margin: auto;
}*/

/*
#sns p {
  position: absolute;
  left: 200px;
  display: inline-block;
  padding: 0 0 10px 0;
}
*/

/*
#catalog-input {
  border: 2px solid;
  border-width: 37.5%;
}

#staff-picks {
  text-align: center;
}

#welcome > p {
  text-align: center;
  margin: 0em 5em;
}

#catalog-input, #form-btn {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 8px;
}

.class {
  display: flex;
}
*/