* {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');


body {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: "source code pro", sans-serif;
    background-color: #f2c3ed;
    color: #b418af;
    font-size: 15px;
  
}

.hide {
    /* '!important' is to make sure that when we add the class using JS, it takes precendence */
    display: none !important;
}

.view-repos {
    margin-top: 1.5em;
    padding: 0.5em 1em;
    cursor: pointer;
    align-self: center;
    width: 300px;
}

.fa-github-alt {
    color: #ea97e8;
    
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    width: 100%;
    padding: 1.8em 0.5em;
    margin: 0;
    border: 1px solid rgb(18, 16, 19);
    margin-bottom: -40px;
    font-size: 2.8em;
    text-align: center;
    letter-spacing: 5px;
    font-family: "source code pro", sans-serif;
    font-weight: 900;
    background-color:  #b14acd;
    color: whitesmoke;
    text-transform: uppercase;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.badge {
    height: 80px;
    width: 50px;
    background-color: #ea97e8;
    z-index: 98;
    margin-bottom: -35px;
    margin-top: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.circle {
    width: 20px;
    height: 20px;
    background-color: black;
    border-radius: 100%;
    z-index: 99;
    align-self: center;
    margin-top: auto;
    margin-bottom: 8px;
}

.github-img {
    width: 45px;
    margin-right: 5px;
}

h3 {
    width: 100%;
    text-align: center;
    /* color: #f86d58; */
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 90%;
    max-width: 1200px;
   
}

.intro,
.repos {
    width: 100%;
}

.user-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #b14acd;
    color: white;
    font-size: 18px;
    padding-top: 1em;
    padding-bottom: 2em;
}

.user-info figure {
    width: 90%;
    max-width: 200px;
}

.user-info img {
    border-radius: 100%;
}

.user-info div {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding-left: 5%;
  
}

.user-info div p {
    width: 100%;
    margin: 0;
    padding: 0;
    color: cream;
    font-family: monospace;
    letter-spacing: 1.5px;
    font-weight:400;
    border-bottom: 1px solid #eae8ef;
    padding-bottom: 10px;
    
}

.filter-repos {
    width: 300px;
    margin-top: 1em;
    padding: 1em;
    margin-bottom: 1em;
    border: 2px solid #483978;
}

section.repo-data {
    background-color: #fff;
    padding: 2em;
    padding-bottom: 1em;
   
}

.repos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #fff;
    margin-top: 0;
    padding: 2em;
   
}

.repo-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.repo-list li {
    width: 90%;
    margin: 1em 0;
    border: 1px solid #a82e98;
    letter-spacing: 1.5px;
    font-weight:200;
    font-family:  monospace;
    padding: 0.5em;
}

.repo-list h3 {
    text-align: center;
    margin: 0;
    padding: 10px;
}

.repo-list h3:hover {
    background-color: #eee9ff;
    cursor: pointer;
    text-align: center;
}

.repo-list p {
    padding: 0em 0.5em;
    margin: 0.5em 0;
    
}

.repo-data {
    width: 100%;
    text-align: center;
}

.repo-data h3 {
    text-align: center;
}

.repo-data .visit {
    text-decoration: none;
    width: 274px;
    color: #fff;
    padding: 0.75em;
    margin-top: 2em;
    cursor: pointer;
    display: inline-block;
    background-color: #644fa7;
    border: 1px solid #483978;
    text-align: center;
   
}

.reop-data .visit a {
    text-align: center;
}

.repo-data .visit:hover {
    background-color: #2f2550;
    border: 1px solid #ccc;
    
}
button {
    border: 2px solid pink;
    background-color: #d7d1ea;
    padding: 5px 5px;
}

.button-container {
    width: 100%;
    background-color: #fff;
    padding-left: 1em;
    padding-bottom: 1em;
    text-align: center;
    

}

.view-repos {
    max-width: 100%;
    margin-top: 0;
    
}

@media (min-width: 700px) {
    .user-info div {
        width: 45%;
        text-align: left;
    }

    .repo-list {
        justify-content: space-between;
    }

    .repo-list li {
        width: 48%;
    }
}

@media (max-width: 700px) {
    .user-info div p {
        margin: 10px;
    }
}

@media (min-width: 1200px) {
    .repo-list li {
        width: 30%;
    }
}