/* Color Palatte
russian-violet: #110A3Eff;
dark-cyan: #5E9195ff;
paynes-gray: #436883ff;
ash-gray: #97A09Bff;
desert-sand: #E0BBA3ff;
bone-white #F9F6EE; */

/* Elements with IDs */
img[id=tristan] {
    display: block;
    margin: 0 auto;
    width: 50%;
    border-radius: 100px;
    width: 15rem;
    height: 15rem;
    object-fit: cover;
}

img[id=github] {
    width: 24px;
}

img[id=linuxDesktop] {
    max-width: 100%;
}

p[id=calcRepo],
p[id=siteRepo],
p[id=sourceRepo],
p[id=aboutMe],
a[id=calcRepo],
a[id=siteRepo],
a[id=sourceRepo]{
    text-align: left;
}

p[id=aboutMe] {
    text-indent: 48px;
}

h1[id=contactHead] {
    line-height: 1;
}

/* Elements*/
h1,
h2 {
    line-height: 0;
}

a:link {
    color: #E0BBA3ff;
}
  
a:visited {
    color: #5E9195ff;
}
  
a:hover {
    color: #436883ff;
}

html {
    background-image: url(img/background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    max-width: 100%;
    min-height: 75%;
}

body {
    font-family: "Roberto", sans-serif;
	font-style: normal;
	font-size: 1rem;
    margin: 0 auto;
    width: 100%;
}

hr {
    padding: 0;
    margin: 8px auto;
    height: 0;
    width: 100%;
    max-height: 0;
    font-size: 1px;
    line-height: 0;
    clear: both;
    border: none;
    border-top: 1px solid #97A09Bff;
    border-bottom: 1px solid #97A09Bff;
 }

/* IDs */
#wrapper {
    margin: 2rem auto;
    width: 85%;
}

/* Classes */
.container,
.container-repo,
.inner-container,
.inner-container-three-row {
    display: grid;
}

.container,
.container-repo {
    color: #E2DFD2;
    background-color: #110A3Eff;
    border-radius: 15px;
    padding: 15px;
    margin: 2vh auto; 
}

.container {
    text-align: center;
}

.container-repo {
    text-align: left;
}

.inner-container {
    grid-template-rows: repeat(2, 1fr);
}

.inner-container-three-row {
    grid-template-rows: repeat(3, 1fr);
}

.navbar,
.nav-links ul {
    display: grid;
}

.navbar {
    align-items: center;
    background-color: #5E9195ff;
    color: #FFF;
    grid-template-columns: repeat(2, auto);
    padding: 0.5rem 1rem;
}

.nav-links {
    background-color: #5E9195ff;
    display: none;
    grid-template-columns: 1fr;
    position: absolute;
    right: 0;
    top: 2.5rem;
    width: 100%;
}

.nav-links ul {
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    border-bottom: 1px solid #97A09Bff;
}

.nav-links a {
    color: #FFF;
    display: block;
    padding: 1rem;
    text-decoration: none;
}

.nav-links a:hover {
    color: #B3F2FF;
}

.hamburger,
.github-button {
    cursor: pointer;
    display: block;
}

.hamburger {
    color: #FFF;
    font-size: 1.5rem;
}

.github-button {
    margin-left: auto;
}

/* Media Queries */

@media screen and (min-width: 768px) {

    #wrapper {
        width:85%;
    }    
    
    .navbar {
        grid-template-columns: auto 2fr auto;
    }

    .nav-links {
        background: none;
        display: grid;
        grid-template-columns: repeat(4, auto);
        justify-self: end;
        position: static;
        width: auto;
    }

    .nav-links ul {
        gap: 1rem;
        grid-template-columns: repeat(4, auto);
    }

    .nav-links li {
        border: none;
    }

    .nav-links a {
        padding: 0;
    }

    .hamburger {
        display: none;
    }
    
    html {
        background-size: 225vh;
    }
}

@media screen and (min-width: 1024px) {

    .container {
        margin: 2vh 20vw;
    }

    .container-repo {
        margin: 2vh 10vw;
    }
}

@media screen and (min-width: 1440px) {

    .container-repo {
        margin: 2vh 20vw;
    }
}

@media screen and (min-width: 2560px) {
    html {
        min-height: 100%;
        background-size: 100% 100%;
    }
}