@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");
:root {
  --background: #010101;
  --background2: #1d1521;
  --primary: #582596;
  --secondary: #3c1867;
  --accent: #8e48bf;
  --dark-gray: #47424c;
  --text-color: #fff;
  --btn-color: rgb(135, 102, 179);
}
* {
  font-family: "Montserrat", "Roboto", sans-serif;
  box-sizing: border-box;
}
html {
  background-color: var(--background);
  background: linear-gradient(180deg, var(--background), var(--background2))
    no-repeat fixed;
  background-size: cover;
}
body {
  margin: 0;
  color: var(--text-color);
}
.header,
.info,
.container {
  position: relative;
  display: flex;
  flex-direction: column;
}

.header {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  min-height: 100vh;
}
.bar {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  padding: 16px 8px;
  justify-content: space-between;
  z-index: 2;
}

.links,
.left,
.right,
.upper-head {
  display: flex;
  justify-content: center;
  align-items: center;
}
.links {
  list-style-type: none;
  gap: 20px;
  margin-right: 30px;
}

.left,
.right {
  margin-left: 20px;
  gap: 10px;
  font-weight: 700;
}

.logo img {
  height: 50px;
  width: 50px;
}
.container {
  padding: 10px;
  min-height: 80vh;
  align-items: center;
  justify-content: center;
  gap: 75px;
}
.upper-head {
  gap: 40px;
  width: 100%;
  display: flex;
  flex-direction: row;
}
#btn-1,
#btn-2 {
  border-radius: 15px;
  text-decoration: none;
  padding: 16px 20px;
}
#btn-1 {
  background: transparent;
  color: var(--btn-color);
  border: var(--btn-color) solid 2px;
  box-shadow: 5px 5px var(--btn-color);
  margin: 30px;
}
#btn-1:hover {
  background-color: var(--primary);
  color: var(--text-color);
}
#btn-2 {
  background: var(--btn-color);
  color: var(--text-color);
  border: var(--secondary) solid 2px;
  box-shadow: 5px 5px var(--secondary);
  margin: 30px;
}
#btn-2:hover {
  background: var(--accent);
  color: var(--text-color);
}
.info {
  transform: translatey(0px);
  animation: float 5s ease-in-out infinite;
  width: 500px;
  font-weight: bold;
  letter-spacing: 3px;
  position: relative;
  box-shadow: 20px 20px var(--dark-gray);
  border-radius: 10px;
  padding: 20px;
  background-color: var(--primary);
}
.info:after {
  transform: translatey(0px);
  animation: float2 5s ease-in-out infinite;
  content: ".";
  font-weight: bold;
  -webkit-text-fill-color: var(--primary);
  text-shadow: 12px 12px var(--dark-gray);
  text-align: left;
  font-size: 55px;
  width: 34px;
  height: 10px;
  border-radius: 11px;
  background-color: var(--primary);
  position: absolute;
  display: block;
  top: 30px;
  right: -45px;
  box-shadow: 10px 10px var(--dark-gray);
  z-index: -2;
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}

@keyframes float2 {
  0% {
    line-height: 30px;
    transform: translatey(0px);
  }
  55% {
    transform: translatey(-20px);
  }
  60% {
    line-height: 10px;
  }
  100% {
    line-height: 30px;
    transform: translatey(0px);
  }
}
h1 {
  color: var(--text-color);
  font-size: 40px;
}

#info-para {
  display: flex;
  padding: 0px 8px;
  width: 100%;
  flex-wrap: wrap;
}
.photo img {
  border: var(--dark-gray) solid 2px;
  border-radius: 50%;
  object-fit: cover;
  width: 300px;
  height: 300px;
}
.photo img:hover {
  box-shadow: 12px 12px var(--btn-color);
}
.main {
  margin: 8px 18px;
  padding: 10px;
}
.dropdown-link {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  font-size: 35px;
  font-weight: 700;
}
#about {
  padding: 40px;
}
#aboutme {
  transform: translate(10%);
  width: 80%;
  padding: 20px;
  border: #7e8d91 solid 1px;
  border-radius: 10px;
}
#aboutme a {
  color: var(--primary);
}

#skills,
#project {
  padding: 20px;
  padding-left: 50px;
  padding-right: 50px;
  h3 {
    line-height: 15px;
    margin: 8px;
  }
}
#skills {
  background: var(--secondary);
}
.contain-main {
  width: 80%;
  transform: translate(10%, 0%);
}
#skills .dropdown-container,
#project .dropdown-container {
  width: 100%;
  padding: 40px;
  display: flex;
  justify-content: space-around;
  padding: 30px;
}
#skills a {
  color: var(--text-color);
}
#skills .prog-lan,
#skills .frameworks {
  border: var(--dark-gray) solid 2px;
  color: var(--background);
  padding: 20px;
  width: 250px;
  background: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 549px) {
  #skills .prog-lan,
  #skills .frameworks {
    width: 100%;
  }
  .contain-main {
    width: 100%;
    transform: translate(0%, 0%);
  }
  .dropdown-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
ul {
  margin-block-start: 0px;
  margin-block-end: 0px;
  padding-inline-start: 0px;
}
li {
  list-style-type: none;
}

.list-pj {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#project a {
  color: var(--accent);
  text-decoration: none;
}
.footer {
  display: flex;
  justify-content: center;
  text-align: center;
  min-height: 10vh;
  font-size: 30px;
  color: var(--text-color);
}
@media only screen and (max-width: 800px) {
  /* Styles */
  #about {
    padding: 10px;
    margin: 0;
  }
  #aboutme {
    transform: translate(0%);
    width: 100%;
  }
  .upper-head {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .info,
  #info-para {
    width: 100%;
  }
  .info:after {
    top: 110%;
    left: 15px;
  }
  .btn-head {
    transform: translate(0, 50%);
  }
  #project li {
    width: 100%;
    margin-bottom: 25px;
  }
  footer {
    font-size: 6px;
  }
}
@media only screen and (max-width: 479px) {
  .upper-head,
  .info {
    font-size: 12px;
  }
  .upper-head {
    justify-content: end;
  }
  .info {
    position: absolute;
    top: 10px;
    background-color: transparent;
    animation: none;
    box-shadow: none;
    h1 {
      color: var(--primary);
    }
  }
  .info:after {
    display: none;
  }
  .photo img {
    height: 240px;
    width: auto;
  }
  #skills .dropdown-container {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
