* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ECECEC;
    font-family: Helvetica, Arial, sans-serif;
}

p {
    line-height: 1.5;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-light {
    background-color: #ECECEC;
}

.container {
    display: block;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 20px;

}

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


h2 {
    font-size: 2.1rem;
    color: #4A4A4A;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #4A4A4A;
    margin: 0;

}

.center {
    text-align: center;
}

.about {
    min-height: 73vh;
    display: flex;
    align-items: center;
    line-height: 1.5;
}


.animate-headline {
    animation: 1.5s ease-out 0s 1 slideInHeadline;

}

@keyframes slideInHeadline {
    0% {
        opacity: 0.0;
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

.about h1 {
    letter-spacing: -.05rem;
    font-size: 2.4rem;
    font-weight: 300;
    opacity: 1;
    color: #4A4A4A;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2.intro {
    margin-top: 1rem;
    font-size: 2.1rem;
    font-weight: 300;
    opacity: 1;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew (0deg, 0deg);
    transform-style: preserve-3d;
    color: #4A4A4A;
}





.projectCard {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 30px;
    box-shadow: -1px 3px 29px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: -1px 3px 29px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -1px 3px 29px 3px rgba(0, 0, 0, 0.1);
}

.projectCard:hover {
    transition: all 0.3s;
    box-shadow: -1px 3px 29px 3px rgba(191, 39, 167, 0.3);
    -webkit-box-shadow: -1px 3px 29px 3px rgba(191, 39, 167, 0.3);
    -moz-box-shadow: -1px 3px 29px 3px rgba(191, 39, 167, 0.3);
}

.projectCard .boxCard {
    flex-basis: calc(33.33% - 10px);
    margin: 0 5px;
    padding: 0 5px;
}

@media only screen and (max-width:750px) {
    .projectCard {
        flex-direction: column;
    }
}



.projects {
    transform: translateY(-20px);
    transition: all 0.5s ease-in-out;
}



.projectCard h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 20px;
}

.projectCard h3 {
    margin-bottom: 20px;
}

.projectCard img {
    border-radius: 10px;
    margin-bottom: 20px;
}

.boxCard .projectButtonsWrapper {

    padding: 0;
}

.projectCard p {
    font-size: 1rem;
    color: #656575;
    line-height: 1.5;
    font-weight: 200;
    text-align: justify;
    margin: 0 0 20px 0;
}


.boxWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 70px 0;
    /* border: solid blue 1px */
}

.box {
    flex-basis: 49%;
    /* min-height: 500px; */
    font-size: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    box-shadow: -1px 3px 29px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: -1px 3px 29px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -1px 3px 29px 3px rgba(0, 0, 0, 0.1);
}

.box:hover {
    transition: all 0.3s;
    box-shadow: -1px 3px 29px 3px rgba(191, 39, 167, 0.3);
    -webkit-box-shadow: -1px 3px 29px 3px rgba(191, 39, 167, 0.3);
    -moz-box-shadow: -1px 3px 29px 3px rgba(191, 39, 167, 0.3);

}

.box img {
    border-radius: 8px;
}

.projectFeaturedImage {
    /* background-color: lightcoral; */
    min-height: 200px;
}


.projectDescription {
    /* background-color: aqua; */
    min-height: 50px;
    padding: 0 10px;
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: 1rem;
    color: #919194;
    line-height: 1.5;
    font-weight: 200;

}

.projectDescriptionWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.projectButtonsWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    /* background-color: lightsalmon; */
    /* position: absolute; */
}

.projectButtonsWrapper a {
    background-color: #e2197d;
    border-radius: 5px;
    padding: 5px 15px;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 5px;
    /* display: inline-block; */
    font-size: 1.1rem;
    transition: transform 0.8s ease-in-out;

}

.projectButtonsWrapper a:hover {
    transform: 0.8s;
    cursor: pointer;
    /* top: -5px; */
}

.button {
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    border: none;
}


.nav-bar {
    display: flex;
    font-size: 20px;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}

.nav-bar a {
    text-decoration: none;
    color: #454549;
    transition: background-color 0.5s, color 0.5s;
}

.nav-bar a:hover {
    color: #FF0583;
    text-decoration: underline;

}

.contact {
    margin-left: auto;
}

.contact a {
    margin-left: 20px;
}

.buttons-section {
    margin-top: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;

}


#aboutme {
    padding-top: 50px;
    color: #4A4A4A;
    font-weight: 300;
}




.articles-menu {
    display: flex;

}

.articles-menu .art-men {
    padding-top: 11px;
    padding-right: 10px;
    margin: 0;
}

.articles-menu ul {
    display: inline-block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}

.articles-menu ul li {
    font-size: 1.1rem;
    display: inline-block;
    margin-right: 20px;
    padding: 4px 8px;
    position: relative;
    top: 5px;
    font-weight: 300;
    border: 1px solid #3a3939;
    border-radius: 5px;
    box-sizing: border-box;
}

.articles-menu ul li:hover {
    color: white;
    border-bottom: 1px solid white;
    background-color: #FF0583;
    cursor: pointer;
    transition: background-color 0.7s, color 0.7s;
    border: 1px solid #FF0583;
}

.articles-menu ul li a {
    text-decoration: none !important;
    color: #6c6c6c;
}

.articles-menu ul li a:hover {
    color: white;
}


.about-text {
    font-size: 1.1rem;
    padding-top: 40px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 200px;
    color: #454549;
    font-size: 1.2rem;
}

.footer a {
    margin: 0 10px;
    text-decoration: none;
    color: #454549;
    transition: background-color 0.5s, color 0.5s;
}

.footer a:hover {
    cursor: pointer;
    text-decoration: underline;
    color: #FF0583;
    border-radius: 5px;

}




/* ****
ARTICLES STYLES
**** */

.arcticle-text-container {
    max-width: 700px;
    margin: 0 auto;
}

article h1 {
    font-size: 2rem;
    color: #4A4A4A;
    padding: 40px 0;
    font-weight: 600;
}

article p {
    line-height: 1.5;
    color: #4A4A4A;
    margin: 30px 0;
}



article h2 {

    color: #4A4A4A;
    margin-top: 40px;
    font-weight: 600;
}

article .summary {
    font-weight: 500;
    font-style: italic;
    font-size: 1.1rem;
    text-align: center;
    margin: 0px 0 50px 0;
}

article .bold {
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    text-align: left;
    margin: 50px 0 50px 0;
}

article img {
    margin: 0;
    padding: 40px 0;
    text-align: center;
}

.article-wrapper {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    margin: 40px 0;
    transition: all 0.7s;

}

.article-wrapper img {
    max-width: 130px;
    max-height: 130px;
    padding: 0 30px;
    border-radius: 10px;
    transition: all 1s;

}

.article-wrapper a {
    text-decoration: none;
    color: #6c6c6c;
    font-size: 28px;
    line-height: 1.5;
}

.article-wrapper:hover {
    transform: translateY(-10px);
    transition: all 0.2s;

}



.article-wrapper:hover img {
    filter: brightness(1.2);
    transform: scale(1.2);
    transition: all 0.2s;
    position: relative;
}

.code-pan {
    margin-bottom: 100px;
}

@media only screen and (max-width:600px) {
    .about h1 {
        font-size: 2rem;
    }

    .about h2 {

        font-size: 1.5rem;

    }

    .projects-headline {
        font-size: 22px;
    }

}

@media only screen and (max-width: 768px) {
    .box {
        flex-basis: 100%;
    }

    .nav-bar {
        margin-top: 20px;
    }

    .article-wrapper img {
        max-width: 50px;
        max-height: 40px;
        padding: 0 10px 0 0;
    }

    .article-wrapper a {
        font-size: 16px;
    }

    .projectFeaturedImage {
        min-height: 200px;
    }

    .articles-menu {
        display: block;
    }


}

@media only screen and (min-width:768px) and (max-width:1023px) {
    .box {
        flex-basis: 48.5%;
    }

    /* .projectDescriptionWrapper {
        justify-content: stretch;
    } */

}







.about-me .switch {
    margin-left: auto;
    position: relative;
    overflow: hidden;
    width: 8rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.about-me .switch input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

.about-me .switch label {
    cursor: pointer;
}

.about-me .background {
    z-index: 1;
    position: absolute;
    width: 8rem;
    height: 4rem;
    border-radius: 100rem;
    border: 2px solid #8478a0;
    transition: all 0.3s;
}

.about-me .switch:hover .background {
    border: 2px solid #f20bfe !important;
}

.about-me .moon-sun {
    z-index: 2;
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
    display: inline-block;
    height: 3rem;
    width: 3rem;
    margin: 0.5rem;
    border-radius: 50%;
    box-shadow: 0.5rem 0.5rem 0 0 rgb(251, 241, 197);
    transition: all 0.5s ease;
}

.about-me .switch input:checked~.moon-sun {
    left: calc(100% - 4rem);
    top: 0;
    box-shadow: none;
    background: #fbd324;
    border: 0.3rem solid rgb(241, 188, 14);
}

.about-me .switch input~.background .moon-background {
    border-radius: 5rem;
    background: linear-gradient(to top, #020114 0%, #25225c 100%);
    background-image: url('/night.png');
    background-size: cover;
    background-color: rgb(020114);

    height: 100%;
    display: block;
}

.about-me .switch input:checked~.background .moon-background {
    opacity: 0;
    transform: translateY(5rem);
    position: absolute;
}

.about-me .switch input:checked~.background .sun-background {
    border-radius: 5rem;
    background: linear-gradient(to top, #419acb 0%, #74c6f2 100%);
    background-image: url('day.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.switch input:checked~.background {
    border: 2px solid #cae9f2;
}

.about-me-switch {
    display: flex;
    flex-wrap: wrap;
}

.about-me-switch h1 {
    text-align: center;
    font-size: 22px;
}

@media only screen and (max-width:481px) {
    .about-me-switch h1 {
        text-align: center;
        font-size: 16px;
    }
}


.about-me-switch .box {
    flex-basis: 50%;
    padding: 1rem;
    border-radius: 10px;
}

.about-me-switch .me {
    border-radius: 10px;
}

.about-me-switch .box:not(.active) {
    filter: opacity(0.2);
}

.about-me-switch #night.active {
    background-color: #030127;
    transition: all 1s;
}

.about-me-switch #night.active h1 {
    color: rgb(253, 255, 229);
}

.about-me-switch #night.active p {
    color: rgb(240, 240, 231);
}

ol {
    color: #4A4A4A;
}