:root[data-theme="light"] {
    --primary: #7510F7;
    --secondary: white;
    --third: #f5f5f5;

    --socials_color: #2B2730;
    

    --card_text_title: black;
    --card_text_sub:#2B2730;
    --card_tag_text: white;
    --card_text_desc: #2B2730;
    --card_shadow: rgba(0, 0, 0, 0.15);
    --card_link: black;



    --text_on_primary: white;
    --text_on_secondary: black;
}


:root[data-theme="dark"] {
  --primary: #7510F7;
  --secondary: #27292b;
  --third: #2B2730;


  --socials_color: white;

  --card_text_title: white;
  --card_text_sub: white;
  --card_text_desc: white;
  --card_tag_text: white;
  --card_link: white;


  --card_shadow: rgb(0,0,0,0.3);

  --text_on_primary: white;
  --text_on_secondary: white;
}



body {
    margin: 0px;
    overflow-x: hidden;
    background-color: var(--secondary);
    /* transition */
    transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out, fill .3s ease-in-out, transform .3s ease-in-out;
}

a {
  text-decoration: none;
  }

div {
    display: block;
}

@media (max-height: 500px) {
    .btn-circle-template {
      display: none;
    }
  }
  .avatar-img {
    display: none;
}
  @media (max-width: 1100px) {

    /* Fixes Card Spacing Issue */
.card.column-page2-r {
    margin-top: 50px !important;
}

.greeting-title {
  font-size: 40px !important;
  margin: 0 0px -25px 0px !important;
}

.greeting-title-sub {
  font-size: 15px !important;
}

  .row-display {
    display: block !important;
    height: fit-content !important;
  }

  .card-r {
    margin-bottom: 0 !important;
  }

  .card-single {
    margin-bottom: 0 !important;
  }

  .card-l {
    margin-bottom: 30px !important;
  }
    
  .center-xy {
    /* margin: auto 20px !important; */
  }

  .say-hello {
    display: none;
  }

  .greeting-buttons {
    margin-right: 0px;
    margin-top: 20px;
    /* display: flex; */
    text-align: center;
    width: 100%;
    /* background-color: red; */
    float: none;
  }

  .socials {
    float: none !important;
    
    /* width:352px!important;  */
  }

  .socials-container {
    /* display: flex; */
    /* display:block; */
    justify-content: center;
    /* margin: auto; */
    text-align: center;
    margin-right: 28px !important;
    /* width: 100vw; */
  }
}

  .avatar-img {
    max-width: 10vw;
    width: 20%;
    min-width: 100px;
    min-height: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.greeting-title {
    font-family: "Poppins", sans-serif;
    color: var(--text_on_secondary);
    font-size: 50px;
    padding: 15px 0;
    margin: 0 0px -30px 0px;
    line-height: 1;
  }

.greeting-buttons {
  margin-right: 45px;
  margin-top: 20px;
  /* float: right; */
}

.greeting-title-sub {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    padding: 0px 0;
    color: var(--text_on_secondary);
  }


.greeting-desc {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    padding: 0px 0;
    color: var(--text_on_secondary);
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
    overflow-x: hidden;
    overflow-y: hidden;
}

.btn {
    border: 2px solid black;
    background-color: var(--secondary);
    color: black;
    padding: 10px 28px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 10px;
  }

.say-hello {
    border-color: #7510F7;
    color: #7510F7;
    float: right;
    /* margin-right: 30px; */
  }

.socials {
    float: right;
    fill: var(--socials_color);
    margin-top: 5px;
    max-width: 30px;
    margin-right: -10px;
    margin-left: 20px;
  }


.button-spacing {
  /* display: flex; */
  width: 100%;
  height: fit-content;
}
  
  .say-hello:hover {
    background-color: var(--primary);
    color: white;
  }

  .contact-me-btn {
    border-color: var(--primary);
    background-color: var(--secondary);
    color: var(--text_on_secondary);
    left: 50%;
    /* margin-right: 30px; */
  }


.self-description {
    font-size: 10px !important;
    text-align: center;
    margin-bottom: 5px !important;
    word-break: break-word;
    padding: 20px;

    font-family: "Poppins", sans-serif;
    color: var(--text_on_primary);
}

.center-text {
    text-align: center;
  }

  .center-xy {
    width: 100%;
    /* margin: auto 0px; */
    text-align: center;
  }

.flex {
    display: flex;
    width: 100%;
    justify-content: center
}

.projects-title {
    font-size: 30px;
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    color: var(--text_on_secondary);
    text-align: center;
    margin-top: 20px;
    
    margin-bottom: 20px;
}


.fairwell {
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    color: var(--text_on_primary);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;

}

.fairwell-container {
  text-align: center;

}


 /* Card Styling */
.center {
    margin: 80px 20px !important;
    min-height: fit-content !important;
}

.center-small {
    /* margin: auto 20px !important; */
}

.row-display {
    display: flex;
    width: 100%;
    height: fit-content;
    
}

  .row-page3-top {
    display: flex;
    padding-top: 50px;
  }

.column-page2-l,
.column-page2-r {
  margin: 0 !important;
  width: auto !important;
  font-size: 50px !important;
}

.card {
    flex: 1;
    margin: 0;
    /* Yes, this "margin: 0" is needed */
    background-color: var(--secondary);

    border-radius: 10px;
    box-shadow: 0px 0px 15px var(--card_shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-break: break-word;
  }

  a:link { color: var(--card_link) !important; }
  a:visited { color: var(--card_link) !important; }


  .card-r {
    margin-left: 30px !important;
    margin-right: 30px !important;
  }

  .card-single {
    margin-bottom: 0 !important;
  }

  .card-l {
    margin-left: 30px !important;
    margin-right: 30px !important;
  }

  .card-title {
    color: var(--card_text_title);
    font-size: 30px;
    font-family: "Poppins", sans-serif;
  }

  .chain-same-line {
    margin-right: 35px;
    line-height: 1;
  }

  .card:hover {
    transform: scale(1.01);
    transition: 0.25s;
    box-shadow: var(--primary) 0px 0px 35px 0px;
  }
  
  .card {
    transition: 0.25s;
  }

.card-sub {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: bolder;
    color: var(--card_text_sub);
    
    margin-top: 15px;
    line-height: 1.5;
  }
  
  .card-sub-i {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-style: italic;
    font-weight: 100;
    color: #2B2730;
    margin-top: 15px;
    line-height: 1.5;
  }
  
  .card-desc {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: lighter;
    color: var(--card_text_desc);
    padding-top: 15px;
    line-height: 1.5;
  }



.portion-bottom {
    padding-top: 20px;
    height: fit-content;
    display: inline-flex;
    flex-wrap: wrap-reverse;
  }
  
  .tag {
    display: inline-block;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    color: var(--card_tag_text);
    padding: 6px;
    margin: 3px 3px 3px 3px;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  }

  .tag-item {
    background-color: var(--primary);
  }
  

  .pmedal {
    width: 23px; 
    margin: 0 0px -5px 0px;
  }

  .pmedal:hover {
    /* Shake it */
    animation: grow-shake 1s;
  }

  @keyframes grow-shake {
    0% { transform: translate(1px, 1px) rotate(0deg) scale(1.1); }
    10% { transform: translate(-1px, -2px) rotate(-1deg) scale(1.3); }
    20% { transform: translate(-3px, 0px) rotate(1deg scale(1.8)); }
    30% { transform: translate(3px, 2px) rotate(0deg) scale(2.4); }
    40% { transform: translate(1px, -1px) rotate(1deg) scale(3.5); }
    50% { transform: translate(-1px, 2px) rotate(-1deg) scale(4); }
    60% { transform: translate(-3px, 1px) rotate(0deg) scale(5); }
    70% { transform: translate(3px, 1px) rotate(-1deg) scale(4); }
    80% { transform: translate(-1px, -1px) rotate(1deg) scale(3); }
    90% { transform: translate(1px, 2px) rotate(0deg) scale(2); }
    100% { transform: translate(1px, -2px) rotate(-1deg) scale(1); }
  }

  /* Section Styles */
.sec0 {
    padding-bottom: 55px;
    background-color: var(--secondary);

}

.sec1 {
    background-color: var(--primary);
}


.sec2 {
    padding-bottom: 100px;
    background-color: var(--secondary);
}

.sec3 {
    padding-top: 20px;
    background-color: var(--third);
    padding-bottom: 100px;
}

.sec4 {
    background-color: var(--primary);
    padding-top: 19px;
    padding-bottom: 49px;
}

.sec5 {
    display: flex;
    background-color: var(--third);
}