* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
}

:root {
    --main-bg-color: white;
    --main-font-color: black;
    --invert-bg-color: black;
    --invert-font-color: white;

    --main-font-family: 'Roboto', sans-serif;
    --btn-main-bg-color: rgb(68, 103, 207);
    --btn-main-fg-color: white;
    --btn-2-bg-color: rgb(39, 170, 117);
    --btn-2-fg-color: white;

    --spacer-line-color: rgb(86, 88, 92);
    
}

a { color: var(--main-font-color); }

a:visited { color: var(--main-font-color); }

body {
    background-color: var(--main-bg-color);
    color: var(--main-font-color);
    font-family: var(--main-font-family);
    line-height: 1.8em;
}

header {
    display: flex;
}

.container {
    width: 80%;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    padding: .5em;
}

.logo img {
    margin: 4px;   
}

.logo h1 {
    margin-left: 10px;
    /* display: inline-flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    height: 100%; */
}

.menu {
    display: inline-flex;
    margin-left: auto;
    margin-right: 32px;
}

.menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;    
    gap: 1em;
}

.menu li {
    padding-top: 12px;
}

.menu li a:hover {
    background-color: var(--invert-bg-color);
    color: var(--invert-font-color);
}

.menu li a {
    text-decoration: none;
    padding: 5px;
    color: var(--main-font-color);
}

.hero {
    text-align: center;
    margin-top: 32px;
    position: relative;
    height: 300px;
    /* background-image: url('img/nature-3808354_1280.jpg'); */
    /* background-image: url('img/nature-3808354_1280.jpg');  */
    background-image: url('../img/nature-3808354_1280.jpg'); 
    background-repeat: no-repeat;
    /* background-size: 300px 100px; */
    background-size: auto;
    margin-bottom: 32px;
}

.hero .text {
    color: var(--invert-font-color);
    position: absolute;
    bottom: 30px;
    right: 100px;
    padding: 16px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, .6);
    /* right: 100px;
    bottom: 100px; */
}

.hero .btn {
    background-color: var(--btn-main-bg-color);
    color: var(--btn-main-fg-color);
    border: none;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    font-family: var(--main-font-family);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
    margin-top: 16px;
    margin-left: 12px;
}

.hero .btn a {
    text-decoration: none;
    color: var(--btn-main-fg-color);
}

.section {
    margin-top: 2em;
}

.section h2 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.footer {
    margin: 4em 0em 1em 0em;
    text-align: center;
    border-top: 1px solid var(--spacer-line-color);
    font-size: .75em;
    padding-top: 1em;
}

.columns {
    display: flex;
}

.col1 {
    flex: 1;
}

.col2 {
    flex: 1;
}

.workexp {
    margin-bottom: 20px;
}


.jobtitle {
    font-size: 1.2rem;
    font-weight: bold;
    padding-right: 12px;
    text-decoration: underline;
}

.jobname {
    font-weight: bold;
}

.jobdate {
    font-weight: bold;
}

.joblocation {
    font-weight: bold;
}

.jobrole {
    padding-top: 1em;
}

.education_item {
    padding-top: .6em;
}

.education_degree {
}

.education_institute {
    font-size: .8em;
}

.cert {
    padding: 10px 20px;
    margin: 10px 20px;
    display: inline-block;
    width: 45%;
}

.cert img {
    display: block;
    margin: 0 auto;
}

.cert_title {
    text-align: center;
}

@media screen and (max-width: 400px) {
    .menu {
        display: none
    }

    .hero {
        height: 250px;
    }
    .hero .text {
        top: 20%;
        left: auto;
        bottom: auto;
        right: auto;
    }
}

