@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    font-size: 28px;
    font-family: "Rajdhani", sans-serif;
    --text-primary: #000;
    --text-second: #7f7070;
    --text-third: #e3433e;
    --background-primary: #ffffff;
    --background-second: #000000;
    --scroll-track-primary: #eaeaea;
    --scroll-track-secondary: #595959;
}

*{
    margin: 0;
    padding: 0;
    color: #ffffff;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 50px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
  margin: 0;
  overflow: overlay;
}

ul {
  display: flex;
  flex: auto;
  flex-wrap: wrap;
  gap: 20px;
  list-style-type: none;
}

.items{
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#head{
  max-width: 500px;
}

Header{
  text-align: center;
  font-size: min(8vw, 70px);
  font-weight: 700;
  padding-top: 0;
  text-transform: uppercase;
    background: linear-gradient(to right, rgb(255, 255, 255),
        rgb(164, 189, 196), rgb(201, 201, 201));
    background-size: 200%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}

.subhead {
  text-align: center;
  font-size: min(3vw, 30px);
  font-weight: 600;
  padding: 0px;
  max-height: 15px;
}

#star-container {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: -999;
}

.header {
  padding-top:20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#initial {
  padding-top: 100vh;
}

a{
  text-decoration: none;
}

/*projects styling*/
.project-right, .project-left{
  display: flex;
  flex-direction: row;
  gap: 20px 20px;
  padding-top: 30px;
  padding-left: 10vw;
  padding-right: 10vw;
}

.proj-img{
  display: inline-block;
  max-width: 30vw;
  border-radius: 24px;
}

.project-title {
  text-align: center;
  font-size: 50px;
  font-weight: 500;
}

.flex-container {
  padding-left: 10vw;
  padding-right: 10vw;
  display: flex;
  flex-direction: row;
  gap: 20px;
  position:relative;
  bottom: 100%;
}

.box{
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.button p{
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    width: 300px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-primary);
    border-radius: 25px;
    border: 2px solid var(--text-second);
    transition: 0.25s linear;
}

/*contact card styling*/
.contact-container{
  gap: 20px 20px;
  padding-top: 100vh;
  padding-left: 10vw;
  padding-right: 10vw;
}

#contact {
  display: flex;
  flex-direction: column;
}

.contact-subtitle{
  font-size: 20px;
}

.contact-title{
  font-size: 50px;
  font-weight: 1000;
}

.info-container{
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.contact-flex{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-bottom: 30px;
}

input[type="text"]{
  font-size: 20px;
  color: black;
  padding: 15px;
  border-radius: 15px;
  border-style: solid;
}

textarea{
  font-size: 20px;
  color: black;
  padding: 15px;
  border-radius: 15px;
  border-style: solid;
}

/*Footer*/
footer{
    padding: 20px 0px;
    width: 100%;
    position: block;
    margin: auto;
    text-align: center;
}

footer ul {
    list-style: none;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.credit {
    color: white;
}

.footer-icons {
    fill: white;
    width: 20px;
    text-decoration: none;
    color: var(--text-primary);
}

/*Scroll to Top*/
#scroll-top {
    cursor: pointer;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    position: fixed;
    z-index: 800;
    right: 40px;
    bottom: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    filter: drop-shadow(0 0.05rem .3rem rgb(203, 203, 203));
    transition: .4s ease;
}

#arrow {
    transform: translate( 0px, 1px);
}

#scroll-top:hover {
    background-color: white;
}

/* Animation */
@keyframes animate-gradient {
    to{
        background-position: -200% -100%;
    }
}

.button p:hover{
    color: var(--background-primary);
    background-color: var(--background-second);
}

/* Screen sizes */
@media (max-width: 1000px){
  .flex-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-left{
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .project-right{
    flex-direction: column-reverse;
    align-items: center;
    padding: 20px;
  }

  .proj-img{
    max-width:90vw;
  }

  .contact-container{
    padding-left: 20px;
    padding-right: 20px;
  }

  .flex-container {
    flex-direction: column;
  }
  
}
