/* 
    Created on : 2. mar. 2020, 10.23.02
    Author     : Naywia
*/
/*--------------------------------BODY & HTML---------------------------------*/

html,
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    /* Variables */
    /* Primary background Color*/
    --rosewood: #520000;
    /* Primary section Color*/
    --burnt-umber: #873F2B;
    /* Primary accent Color*/
    --chocolate-cosmos: #630F20;
    /* Primary accent Color*/
    --umber: #766153;
    --dark-gray: #031926;
    --text-color: #EFF1ED;
    --white: #ffffff;
    --black: #000000;
    --reseda-green: #747d49;;

    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--rosewood) !important;
    font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: "Amarante", "Kaushan Script", "Loved by the King";
}

#content {
    display: flex;
    flex: 1;
}

/*---------------------------------- HEADER ----------------------------------*/

header {
    display: flex;
    text-transform: uppercase;
    font-size: 1.3em;
    letter-spacing: 3px;
    margin: 1.5rem 3rem 0 3rem;
    justify-content: space-between;
}

header a {
    transition: font-weight 0.3s, color 0.3s;
    /* Smooth transitions */
    display: inline-block;
    /* Ensures width is applied properly */
    text-decoration: none;
    color: var(--text-color);
}

header img {
    width: 5em;
}

header a:hover {
    cursor: pointer;
    color: var(--chocolate-cosmos);
    font-weight: 700;
}

.pipe-seperator {
    color: var(--reseda-green);
    font-weight: 800;
}

.pipe-seperator:hover {
    cursor: default;
}

/*--------------------------------- FOOTER -----------------------------------*/
footer {
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

#internal-links a {
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    transition: font-weight 0.3s, color 0.3s;
}

#internal-links a:hover {
    color: var(--reseda-green);
}

#external-links {
    font-size: 20px;
    padding: 5px;
}

.fa {
    color: var(--text-color);
    text-decoration: none;
    transition: font-weight 0.3s, color 0.3s;
}

.fa:hover {
    color: var(--reseda-green);
}

/*----------------------------------- HOME -----------------------------------*/

#start-box {
    position: absolute;
    height: 70vh;
    width: 100vw;
    background-color: var(--burnt-umber);
    z-index: -1;
}

#container {
    display: flex;
    flex-direction: column;
}

#spacer {
    min-height: 15em;
    max-height: 15em;
    width: 100%;
}

#info-container {
    display: flex;
    margin: 0 7em;
}

#image-container {
    width: fit-content;
    height: fit-content;
    border: 10px solid var(--rosewood);
}

#me-image {
    height: 60vh;
}

#text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 4em;
    text-align: right;
}

#text-container h1 {
    text-transform: uppercase;
    font-size: 5em !important;
    margin: 0;
}

/*------------------------------ OBJECTIVES ----------------------------------*/

#title {
    text-transform: uppercase;
    margin: 0 2em 0 7rem;
}

#security-planning,
#testing {
    background-color: var(--umber);
    border: 10px solid var(--rosewood);
    padding: 2em;
    height: 60vh;
    width: 45vw;
}

#security-planning {
    margin-right: 2em;
}

#testing {
    margin-left: 2em;
}

/*---------------------------------- PLAN ------------------------------------*/

#learning {
    background-color: var(--umber);
    border: 10px solid var(--rosewood);
    margin: 0 7rem;
    margin-bottom: 3rem;
    padding: 1.5em;
}

#learning h2 {
    margin-bottom: 0.2em;
}

.weeks {
    border-collapse: collapse;
    width: 100%;
    background-color: var(--chocolate-cosmos);
}

.weeks td,
.weeks th {
    border: 1px solid var(--text-color);
    text-align: left;
    padding: 8px;
}

.weeks th {
    font-family: "Amarante";
}

.weeks tr:nth-child(even) {
    /* background-color: var(--accent-brown); */
    background-color: rgba(255, 255, 255, 0.1);
}