:root {
    --anti-flask-white: #f2f3f4;
}

html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Source Code Pro', monospace;
    font-size: 16px;
    background-color: var(--anti-flask-white);
}

.container,
.blog_container,
.projects_container,
.contact_container{
    width: 90%;
    height: 100vh;
    margin: 0 auto;
}


header {
    background-color: var(--anti-flask-white);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 1rem 3rem;
}

main {
    background-color: #ffffff;
    border-radius: 10px;
}

.logo {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 80%;
    height: 108px;
}

nav {
    width: 85%;
}

ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    flex-wrap: wrap;
    padding-left: 0;
}

li a {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    display: block;
    letter-spacing: 1.2px;
    padding-right: 45px;
    transition: transform .2s;
}


li a:hover {
    transform: scale(1.1);
}

section {
    width: 80%;
    padding: 4rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

h1 {
    width: 100%;
    font-size: 30px;
    font-weight: 600;
}


.intro {
    width: calc(60% - 2rem);
}

.photo {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: end;
    margin-left: 2rem;
}

.photo img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.intro h1 {
    font-size: 40px;
    padding: 4rem 0 1rem 0;
}

.intro p {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    font-weight: 100;
    line-height: 30px;
}

.skills h1, .certs h1 {
    border-radius: 10px;
    background-color: #F2F3F4;
    margin: 0 0 1rem 0;
    padding: 1rem;
}

.skill_col {
    width: 100%;
    display: flex;
    margin: 2rem 0 0 0;
}


.skill_col figure {
    width: 25%;
    margin: 1rem 2rem;
}

.skill_col figure img{
    width: 3rem;
    height: auto;
}

.skill_col figure figcaption {
    font-weight: 550;
}

.skill_col p {
    width: 75%;
    justify-content: flex-start;
    margin: 2rem 0;
    line-height: 30px;
}


.certs {
    display: flex;
    flex-wrap: wrap;
}

.cert_card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F2F3F4;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 1rem;
    margin: 2rem 0 2rem 1rem;
}


.cert_card h4 {
    margin: 1rem 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
}

.cert_card p{
    margin: 0;
    padding: 0;
    font-size: 11px;
}

.cert_card p {
    margin-top: auto;
}

footer {
    padding: 1rem;
    display: flex;
    align-items: center;
}

footer p {
    font-weight: 550;
    width: 90%;
}

footer a {
    text-decoration: none;
    color: #000000;
    width: 10%;
}

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

.work_sec {
    display: none;
}

.work_sec.active {
    display: block;
    width: calc(92% - 4rem);
    margin: 2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.work_sec.active a {
    width: 100%;
    text-decoration: none;
    color:#000000;
}

.work_sec.active a h2 {
    font-size: 34px;
}

.work_sec.active img {
    width: 30%;
    height: auto;
}

/* .work_sec.active .work_img img {
    width: 100%;
    height: auto;
} */

/* .work_sec.active .work_img button {
    background: transparent;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.work_sec.active .work_img button:hover {
    background-color: var(--anti-flask-white);
} */

.work_description {
    width: 70%;
    text-align: left;
}

.work_description p {
    line-height: 30px;
    margin: 1rem 0 1.5rem 0;
}


.work_description span {
    font-size: 19px;
    font-weight: 600;
    border-bottom: 2px solid #000000;
    padding-top: 2rem;
}

.work_description span:hover {
    color: #808080;
    border-bottom: 2px solid #808080;
}

.invisible {
    display: none;
}

.my_work ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my_work ul li {
    background: var(--anti-flask-white);
    padding: 10px 15px;
    margin-left: 6px;
    border-radius: 50%;
    cursor: pointer;
    opacity: .5;
}

.my_work ul li.active {
    opacity: 1 !important;
}


#previous, #next {
    width: 4%;
}

#previous {
    margin-left: 1rem;
}

#next {
    margin-right: 1rem;
}

.previous img {
    width: 28px;
    height: 150px;
    opacity: 1;
}

.next img {
    width: 28px;
    height: 150px;
    opacity: 1;
}

.next.disable, .previous.disable {
    /* cursor: none; */
    opacity: .5;
}

.contact{
    text-align: center;
}

.contact h1 {
    width: 100%;
    margin: 0;
    padding: 4rem 0;
}

address {
    font-style: italic;
    padding: 2rem 0 17rem 0;
}

address a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
}

@media screen and (min-width: 769px) {
    .cert_card {
        width: calc((100% - 6 * 1rem) / 5);
    }
}