

:root {
    /* Nord colour palettes */
    --nord0: #2e3440;
    --nord1: #3b4252;
    --nord2: #434c5e;
    --nord3: #4c566a;
    --nord4: #d8dee9;
    --nord5: #e5e9f0;
    --nord6: #eceff4;
    --nord7: #8fbcbb;
    --nord8: #88c0d0;
    --nord9: #81a1c1;
    --nord10: #5e81ac;
    --nord11: #bf616a;
    --nord12: #d08770;
    --nord13: #ebcb8b;
    --nord14: #a3be8c;
    --nord15: #b48ead;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--nord4)
}

.main-content {
    min-height: 100vh;
    width: 80%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.left-section {
    grid-column: span 2;
    height: 100%;
    background-color: var(--nord10);
}

.left-content {
    padding: 2rem 3rem;
}

.profile {
    width: 100%;
}

.image {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
}

.profile img {
    width: 50%;
    border-radius: 50%;
    border: 4px solid var(--nord9);
}

.certs-img {
    padding: 2rem 2rem;
    border-top: 1px solid var(--nord9);
}

.certs-img img {
    width: 30%;
    border-radius: 0%;
    border: 0;
    float: left;
    margin: 1px;
    padding: 1px;
}
.name {
    font-size: 2rem;
    color: var(--nord6);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 0;
}

.career {
    font-size: 1rem;
    color: var(--nord0);
    text-align: center;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    text-transform: lowercase; 
}
.contact-info {
    font-size: .8rem;
    color: var(--nord6);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.main-title {
    font-size: 1rem;
    color: var(--nord6);
    text-transform: uppercase; 
    letter-spacing: 1px;
    padding-top: 2em;
    text-align: center;
    border-top: 1px solid var(--nord9);
}

.contact-info ul li {
    padding: .4rem 0;
    display: flex;
    align-items: center;
    color: var(--nord8);
}
.contact-info ul li i {
    padding-right: 1rem;
    font-size: 1.2rem;
    color: var(--nord0);
}

a {
    color: var(--nord8);
}


.visitor-count {
    font-size: .8rem;
    color: var(--nord4);
    text-transform: uppercase; 
    letter-spacing: 1px;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--nord9);
}

.counter {
    text-align: center;
    color: var(--nord8);
    padding: 1rem;
}

.right-section {
    grid-column: span 5;
    height: 100%;
    background-color: var(--nord6);
}

.right-main-content{
    padding: 2rem 3rem;
}

.right-title {
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nord12);
    margin-bottom: 1rem;
    position: relative;
    padding: 1rem 0;
}

.right-title::after {
    content: "";
    position: absolute;
    width: 60%;
    height: .2rem;
    background-color: var(--nord5);
    border-radius: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.about-section p {
    line-height: 1.5rem;
    color: var(--nord2);
    font-size: 1rem;
    padding-bottom: 1rem;
}

.high-light ul li {
    line-height: 1.5rem;
    color: var(--nord2);
    font-size: 1rem;
    list-style-type: disc;
    list-style-position: outside;
    padding: 0 0 1px 1px;
}

.section {
    padding-bottom: 2rem;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 3fr auto;
}
.tl-title {
    font-size: 1.3rem;
    color: var(--nord10);
    text-transform: capitalize;
}
.left-tl-content p {
    letter-spacing: 1px;
    font-size: 1rem;
    color: var(--nord2);
}
.tl-title-2 {
    font-size: 1.3rem;
    color: var(--nord10);
    text-transform: capitalize;
}

.tl-content {
    border-left: 1px solid var(--nord8);
    padding-left: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.tl-title-2::before {
    content: "";
    position: absolute;
    width: .7rem;
    height: .7rem;
    background-color: var(--nord8);
    border-radius: 50%;
    transform: translateX(-50%);
    left: 0;
}

.tl-content ul li {
    list-style-type: disc;
    padding: 0 0 1px 1px;
    line-height: 1.5rem;
    color: var(--nord2);
    font-size: 1rem;
    list-style-position: outside; 
}

/*Media Querries*/
@media screen and (max-width:823px) {
    .right-title::after {
        width: 40%;
    }
}
@media screen and (max-width:681px) {
    .right-title::after {
        width: 30%;
    }
}
@media screen and (max-width:780px) {
    .timeline{
        grid-template-columns: repeat(1, 1fr);
    }
}
@media screen and (max-width:780px) {
    .left-section {
        grid-column: span 3;
    }
    .right-section {
        grid-column: span 4;
    }
}
@media screen and (max-width:1200px) {
    .main-content{
        grid-template-columns: repeat(1, 1fr);
    }
    .profile img {
        width: 40%;
    }
}
@media screen and (max-width:700px) {
    .profile img {
        width: 60%;
    }
}
@media screen and (max-width:390px) {
    .name {
        font-size: 1.5rem;
    }
}