* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --poppins: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  background-color: white;
  font-family: "Outfit", sans-serif;
}

a {
  text-decoration: none;
  color: white;
  display: block;
  transition: 0.3s;
}
a:hover {
  transition: 0.3s;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(30, 110, 231);
  z-index: 1;
}

.title {
  font-family: "Comforter", cursive;
  font-size: 1.5em;
  display: inline-block;
  float: left;
  color: white;
  line-height: 50px;
  padding-left: 20px;
}

.menu {
  display: inline-block;
  float: right;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  display: inline-block;
}

.menu ul li a {
  padding: 0 20px;
  display: block;
  line-height: 50px;
}

.menu li:hover {
  background-color: rgb(26, 86, 175);
}

/* PROFIL */
.container-profil {
  width: 100%;
  margin: 0 auto;
  padding: 100px 300px 20px 300px;
  display: block;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
}

.container-profil img {
  width: 30%;
  border-radius: 50%;
  margin-bottom: 50px;
  transition: 1s;
}

.container-profil img:hover {
  transform: scale(1.1);
}

.container-profil h1 {
  font-family: var(--poppins);
}
/* AKHIR PROFIL */

/* ABOUT */

.container-about {
  width: 100%;
  margin: 100px auto;
  padding: 50px 300px 50px 300px;
  background-color: lightskyblue;
  height: 300px;
  text-align: center;
  font-size: 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}

.aboutme h1 {
  font-family: var(--poppins);
}

.aboutme p {
  padding-top: 10px;
}
/* AKHIR ABOUT */

/* PROJECT */

.container-prj {
  width: 900px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
  font-size: 20px;
  padding-top: 50px;
}

.project h1 {
  font-family: var(--poppins);
}

.project p {
  padding-top: 10px;
}

.container-project {
  width: 800px;
  margin: 100px auto;
  display: flex;
}

.card {
  border: 1px solid #999;
  border-radius: 10px;
  background-color: #eee;
  overflow: hidden;
  margin: 20px;
  flex: 1;
  transition: 1s;
}

.card:hover {
  transform: scale(1.1);
}

.card .header {
  height: 280px;
  background-color: #666;
}

.card .header img {
  width: 100%;
}

.card .header video {
  width: 100%;
}

.card .content {
  text-align: center;
  padding: 20px;
}

.card.besar {
  transform: scale(1.15);
  transition: 1s;
}

.card.besar:hover {
  transform: scale(1.3);
}

/* AKHIR PROJECT */

/* SKILL */

.container-skill {
  width: 100%;
  text-align: center;
  font-size: 20px;
  margin: 0 auto;
  background-color: lightskyblue;
  height: 400px;
  box-sizing: border-box;
  flex: 2;
  padding: 50px;
}

.container-skill h1 {
  font-family: var(--poppins);
}

.container-skill p {
  padding-top: 10px;
}

.slide-skill ul {
  list-style: none;
  text-align: center;
  display: flex;
}

.slide-skill {
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.slide-skill img {
  width: 150px;
  margin: 30px;
  transition: 1s;
}

.slide-skill img:hover {
  transform: rotate(360deg) scale(1.1);
}

.contact-form {
  margin: 0;
  display: block;
  width: 30%;
  max-width: 600px;
  background: #fafafa;
  position: relative;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 20%);
  padding: 30px 40px;
  box-sizing: border-box;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 20px #000000b3;
  font-family: var(--poppins);
}
.contact-form h1 {
  margin-top: 0;
  font-weight: 200;
  font-family: var(--poppins);
}
.txtb {
  border: 1px solid gray;
  margin: 8px 0;
  padding: 12px 18px;
  border-radius: 8px;
}
.txtb label {
  display: block;
  text-align: left;
  color: #333;
  text-transform: uppercase;
  font-size: 14px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.txtb input,
.txtb textarea {
  color: #333;
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-size: 18px;
  margin-top: 6px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.btn {
  display: inline-block;
  border-radius: 20px;
  background: #008cba;
  padding: 14px 0;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  width: 100%;
  transition: 1s;
}

.btn:hover {
  background-color: #60abc4;
  transform: scale(105%);
}

.footer h1 {
  background-color: rgb(19, 146, 224);
  width: 100%;
  height: 40px;
  margin-top: 200px;
  padding-bottom: 10px;
  z-index: 1;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 15px;
  text-align: center;
  color: white;
  padding-top: 11px;
}
