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

body {
  background-color: #1f3044;
  /* background-color: rgb(18, 18, 18); */
  /* background: #fff; */
  font-family: "Poppins", Arial, sans-serif;
  color: rgb(255 255 255);
  font-size: 16px;
  padding: 0;
  margin: 0, auto;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 15px auto;
  height: 100%;
  padding: 10px;
  border-radius: 10px;
  background-color: transparent !important;
}

header {
  margin-top: 0;
  height: 100%;
  /* background-color: rgb(212, 214, 216); */
  box-shadow: none;
}

header .container {
  box-shadow: none;
  margin-top: 0;
  border: 0;
  height: 100%;
  max-width: 1100px;
  margin: 0, 0;
}

header .container .nav {
  justify-content: space-between;
  display: flex;
  align-items: center;
  justify-items: center;
  height: 100%;
  border: 0;
}

header .container .nav > ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.image {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  margin: auto;
}

header .container .nav ul li {
  margin-right: 20px;
}

header .container .nav ul li a {
  color: rgb(255 255 255);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
}

header .container .nav ul li a:hover {
  color: #fff !important;
  border-bottom: 3px solid rgb(11, 148, 169);
  border-radius: 5px;
}

/* About Section */

.about {
  margin: 15px auto;
  height: 100%;
  padding: 10px;
  height: 100%;

  border-radius: 5px;
  font-size: 1em;
  font-weight: lighter;
  line-height: 1.8em;
  box-sizing: border-box;
  background-color: rgba(180, 175, 237, 0.1);
  backdrop-filter: blur(5px);
}

#experience .container {
  background-color: #b5b3b3;
  padding: 10px;
  height: 100%;
}

#experience ul {
  display: flex;
  flex-direction: column;
}

#experience ul li {
  display: flex;
  justify-content: space-between;
}

#experience li {
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 1em;
  /* background-color: rgb(231, 227, 227); */
}

#experience li:hover {
  background: rgb(112, 112, 112);
}

.emphasis {
  font-style: italic;
}

/* Skills Section */
#skills .container {
  /* background-color: lightslategray; */
}

h1 {
  color: #272428;
  font-size: x-large;
  font: weight 200%;
}

h2 {
  color: #783886;
  font-size: x-large;
  font: weight 200%;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

#skills ul > li {
  display: inline-flex;
  /* justify-content: space-between; */
}
#skills li {
  border: none;
  padding: 8px;
  align-items: center;
  justify-content: center;

  height: 100px;
  width: fit-content;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5em;
  margin: 10px 10px;
  transition: width 2s, height 2s, background-color 2s, transform 2s;
}

#skills li:hover {
  background-color: rgb(112, 112, 112);
  transform: rotate(180deg);
  width: auto;
}

#projects ul {
  max-width: 1100px;
  flex-direction: column;
  justify-items: space-between;
  padding: 0;
}

.porj li {
  width: 100%;
  border-radius: 5px;
  padding-left: 5px;
  margin: 5px;
  cursor: pointer;
  font-weight: lighter;
  /* height: 60%; */
  /* height:max-content; */
  background-color: rgba(180, 175, 237, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.5em;
}
.porj li:hover {
  background-color: rgba(57, 27, 227, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px;
}
.porj h1 {
  color: rgb(0, 10, 12);
}
#connect {
  background-color: rgb(5, 47, 98);
  padding: 15px;
  height: 100%;
  margin-bottom: 0px;
  box-shadow: none;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

#connect ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
#connect a {
  color: white;
}

.glow-on-hover {
  width: 95px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  background-color: #2c3a47;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000;
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: rgb(5, 47, 98); */
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* Form  */
#msgform {
  display: block;
  background-color: rgb(5, 47, 98);
  padding: 10px auto;
  margin-top: 0px;
  box-shadow: none;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
}

#msgform .container {
  background-color: #fff;
  max-width: 450px;
  border: none;
  border-radius: 10px;
  padding: 5px;
}

#msgform h2 {
  text-align: center;
}

form {
  max-width: 420px;
  border-radius: 5px;
  background-color: rgba(180, 175, 237, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px;
}

label {
  padding: 0;
  color: whitesmoke;

  font-size: 16px;
  font-weight: bold;
}

.feedback-input {
  color: whitesmoke;

  font-weight: 500;
  border-radius: 5px;
  background-color: transparent;
  border: 0.1px solid #4d4c4c;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  margin-bottom: 10px;
}

textarea {
  height: 150px;
  line-height: 100%;
  resize: vertical;
  color: rgb(82, 80, 80);
}

#msgform button {
  font-size: 16 bold;
}

[type="submit"] {
  height: 30px;
  width: 30%;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  justify-content: center;
  align-items: center;

  background-color: rgb(5, 47, 98);
}

[type="submit"]:hover {
  background: #000;
}

.messages-btn {
  height: 30px;
  width: 30%;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  justify-content: center;
  align-items: center;
  background-color: red;
}

.messages-btn:hover {
  background-color: #cc4949;
}

.messages-content {
  display: flex;
  list-style: none;
  border-bottom: solid lightgray;
  padding: 15px 0 15px;
}

.messages-text {
  flex-grow: 1;
}

/* Footer */
footer {
  /* background-color: rgb(212, 214, 216); */
  height: 60px;
}

footer .f_container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

footer p {
  color: rgb(141, 139, 139);
}
footer p:hover {
  color: #783886;
}

footer .fa-solid {
  font-size: xx-large;
  color: rgb(141, 139, 139);
  margin: 0 20px;
}

footer .fa-solid:hover {
  color: rgb(233, 179, 243);
}

footer .fa-brands {
  font-size: xx-large;
  color: rgb(141, 139, 139);

  margin: 0 20px;
}

footer .fa-brands:hover {
  color: rgb(233, 179, 243);
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 1000px) and (min-width: 460px) {
  header .container .nav > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .nav ul li a {
    color: rgb(59, 57, 57);
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
  }

  header .container .nav ul li a:hover {
    color: #000;
    border-bottom: 3px solid rgb(11, 148, 169);
    border-radius: 5px;
  }

  #about_container {
    display: none;
  }

  section p {
    margin: 1em;
  }

  .btn {
    margin-top: 15px;
  }

  form {
    margin-left: 5px;
  }
}
