/*
	reinimax' CSS framework
	-----------------------
	Contents:
		1. CSS reset by Eric Meyer
		2. Variables
		3. General stuff & Typography
		4. Grid-System
		5. Styles for form-elements
		6. Utilities
*/
/* -------------------------------------------
	1. CSS reset by Eric Meyer 
------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* -------------------------------------------
	2. Variables 
------------------------------------------- */
/* Breakpoints */
/* Typography */
/* Colors */
/* I  leave it for now with this. The practicality will have to be tested*/
/* Aspect ratio for the image bottom hack */
/*
	1:1 -> 100%
 	16:9 -> 56.25%
	4:3 -> 75%
	3:2 -> 66.66%
*/
/* -------------------------------------------
	3. General stuff & Typography 
------------------------------------------- */
/* Making everything border-box */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Sizing images */
img {
  max-width: 100%;
  height: auto;
}

/* Typography */
/* Overwriting line-height and setting default font and color */
body {
  line-height: 1.5;
  font: 100% "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #1f1f1f;
}

/* Setting sizes of h-elements*/
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

/* -------------------------------------------
	3. Grid-System 
------------------------------------------- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

/* Default classes. They work with the smalles screensizes and up until
another, responsive, class is added */
.col-12 {
  grid-column-start: span 12;
}

.col-11 {
  grid-column-start: span 11;
}

.col-10 {
  grid-column-start: span 10;
}

.col-9 {
  grid-column-start: span 9;
}

.col-8 {
  grid-column-start: span 8;
}

.col-7 {
  grid-column-start: span 7;
}

.col-6 {
  grid-column-start: span 6;
}

.col-5 {
  grid-column-start: span 5;
}

.col-4 {
  grid-column-start: span 4;
}

.col-3 {
  grid-column-start: span 3;
}

.col-2 {
  grid-column-start: span 2;
}

/* Responsive classes */
@media (min-width: 576px) {
  .col-s-12 {
    grid-column-start: span 12;
  }

  .col-s-11 {
    grid-column-start: span 11;
  }

  .col-s-10 {
    grid-column-start: span 10;
  }

  .col-s-9 {
    grid-column-start: span 9;
  }

  .col-s-8 {
    grid-column-start: span 8;
  }

  .col-s-7 {
    grid-column-start: span 7;
  }

  .col-s-6 {
    grid-column-start: span 6;
  }

  .col-s-5 {
    grid-column-start: span 5;
  }

  .col-s-4 {
    grid-column-start: span 4;
  }

  .col-s-3 {
    grid-column-start: span 3;
  }

  .col-s-2 {
    grid-column-start: span 2;
  }
}
@media (min-width: 768px) {
  .col-m-12 {
    grid-column-start: span 12;
  }

  .col-m-11 {
    grid-column-start: span 11;
  }

  .col-m-10 {
    grid-column-start: span 10;
  }

  .col-m-9 {
    grid-column-start: span 9;
  }

  .col-m-8 {
    grid-column-start: span 8;
  }

  .col-m-7 {
    grid-column-start: span 7;
  }

  .col-m-6 {
    grid-column-start: span 6;
  }

  .col-m-5 {
    grid-column-start: span 5;
  }

  .col-m-4 {
    grid-column-start: span 4;
  }

  .col-m-3 {
    grid-column-start: span 3;
  }

  .col-m-2 {
    grid-column-start: span 2;
  }
}
@media (min-width: 1000px) {
  .col-l-12 {
    grid-column-start: span 12;
  }

  .col-l-11 {
    grid-column-start: span 11;
  }

  .col-l-10 {
    grid-column-start: span 10;
  }

  .col-l-9 {
    grid-column-start: span 9;
  }

  .col-l-8 {
    grid-column-start: span 8;
  }

  .col-l-7 {
    grid-column-start: span 7;
  }

  .col-l-6 {
    grid-column-start: span 6;
  }

  .col-l-5 {
    grid-column-start: span 5;
  }

  .col-l-4 {
    grid-column-start: span 4;
  }

  .col-l-3 {
    grid-column-start: span 3;
  }

  .col-l-2 {
    grid-column-start: span 2;
  }
}
@media (min-width: 1200px) {
  .col-xl-12 {
    grid-column-start: span 12;
  }

  .col-xl-11 {
    grid-column-start: span 11;
  }

  .col-xl-10 {
    grid-column-start: span 10;
  }

  .col-xl-9 {
    grid-column-start: span 9;
  }

  .col-xl-8 {
    grid-column-start: span 8;
  }

  .col-xl-7 {
    grid-column-start: span 7;
  }

  .col-xl-6 {
    grid-column-start: span 6;
  }

  .col-xl-5 {
    grid-column-start: span 5;
  }

  .col-xl-4 {
    grid-column-start: span 4;
  }

  .col-xl-3 {
    grid-column-start: span 3;
  }

  .col-xl-2 {
    grid-column-start: span 2;
  }
}
/* -------------------------------------------
	5. Styles for form-elements 
------------------------------------------- */
button {
  cursor: pointer;
  line-height: 1;
  background-color: transparent;
  border: 1px solid #1f1f1f;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
}

input {
  background-color: transparent;
  border: 1px solid #9f9f9f;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
}

/* -------------------------------------------
	6. Utilities 
------------------------------------------- */
/* Fixed width-container that scales together with the breakpoints */
.container-fixed {
  max-width: 100%;
}
@media (min-width: 576px) {
  .container-fixed {
    max-width: 540px !important;
  }
}
@media (min-width: 768px) {
  .container-fixed {
    max-width: 720px !important;
  }
}
@media (min-width: 1000px) {
  .container-fixed {
    max-width: 960px !important;
  }
}
@media (min-width: 1200px) {
  .container-fixed {
    max-width: 1140px !important;
  }
}

/* Classes for hiding and showing elements */
.hidden {
  display: none;
}

.visible-block {
  display: block;
}

.visible-flex {
  display: flex;
}

/* Turning a ul into a navbar. The class is supposed to be added to the ul */
/* there may be better solutions, but I chose float for now, also because it leaves no
gaps like display: inline-block */
.nav-list > li {
  float: left;
  list-style-type: none;
  padding: 0.5em;
}
.nav-list > li a {
  padding: 0.5em;
}

.nav-list:after {
  display: block;
  content: "";
  height: 0;
  clear: left;
}

/* 
  Using the "padding-bottom hack" to ensure all the images in a gallery have the same aspect ratio.
  See: https://www.smashingmagazine.com/2013/09/responsive-images-performance-problem-case-study/
  The images need to be wrapped by the image-wrapper class.
  For this to work, the image-wrapper itself must reside in a containing block because its padding
  is relative to its CONTAINING block! That means setting a width directly on the image-wrapper
  will break the aspect ratio.
*/
.image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
    This document contains styles specific to the current webpage.
*/
/*
    Variables: overwrite the ones you want to change. In the comments you find the defaults
*/
/* Typography */
/* Colors */
/* Variables that cannot be changed here. Prefix them like this: base.<variablename>

$primary-color-light;
$primary-color-dark;
$secondary-color-light;
$secondary-color-dark;
$complementary-color;
$complementary-light;
$complementary-dark;

$input-default;
*/
/*
    Your code starts here
*/
body {
  background-color: whitesmoke;
}

:target:before {
  content: "";
  display: block;
  height: 65px;
  margin-top: -65px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  background-color: #b34242;
}
.site-header hgroup {
  padding: 0.5rem 1.5rem;
}
.site-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.7);
}

h1 {
  font-size: 1.2rem;
  font-weight: 300;
  color: white;
}

.nav-list li {
  display: block;
  padding: 0;
}
.nav-list li a {
  display: block;
  padding: 1.6em;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
}
.nav-list li a:hover {
  background-color: #7b2d2d;
}

/* Code for the mobile menu */
.mobile-toggler {
  display: none;
  border: none;
}
.mobile-toggler span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px;
  background-color: #00afaf;
  border-radius: 30%;
}

@media (max-width: 576px) {
  .mobile-toggler {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    right: -150px;
    width: 150px;
    height: 100vh;
    padding-top: 50px;
    text-align: right;
    background-color: rgba(53, 53, 53, 0.9);
    z-index: -1;
    transition: 0.3s;
  }
}
.collapse {
  margin-right: 150px;
}

.move-in {
  right: 0;
  transition: 1s;
}

/* Mobile menu end */
.container-fixed {
  margin-left: auto;
  margin-right: auto;
}

.about {
  margin-top: 65px;
  padding: 4rem 2rem;
  background-color: #424242;
  color: white;
}
.about .portrait {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about img {
  border-radius: 50%;
}
.about .bio {
  padding-left: 2rem;
  padding-bottom: 3rem;
}
.about .bio h2 {
  padding-bottom: 0.5em;
  line-height: 1;
}
.about .bio p {
  padding-bottom: 0.5em;
}
.about .bio a {
  color: white;
  text-decoration: underline;
}

.projects {
  background-image: linear-gradient(#b34242, #633030);
}

.projects h2 {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  background-color: white;
  text-align: center;
  font-weight: 700;
}

h3 {
  padding-top: 0.5em;
}

.projects h3 {
  color: white;
  text-align: center;
}

.viewmore {
  padding-bottom: 2rem;
  text-align: center;
}

.viewmore a {
  color: white;
  text-decoration: none;
}

.viewmore a:hover {
  text-decoration: underline;
}

.card {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem;
  padding: 1rem;
  border: 1px solid #424242;
  border-radius: 0.5rem;
  box-shadow: 5px 5px 15px #424242;
  background-color: white;
}

.card > * {
  width: 100%;
}

.card h4 {
  text-align: center;
  padding-bottom: 0.5em;
}

.card p {
  padding-top: 0.5em;
  padding-bottom: 1.5em;
}

.linkbtns {
  display: flex;
  align-self: flex-end;
}

.linkbtns a {
  display: block;
  width: 100%;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #075b5b;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 5px #424242;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background-image: linear-gradient(#00c9c9, #075b5b);
}

.linkbtns a:hover {
  background-image: linear-gradient(#00afaf, #074242);
}

.skills {
  text-align: center;
  background-color: white;
}

.skillslist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.skillslist > * {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  margin: 1rem;
  transition: transform 0.3s;
}

.skillslist > *:hover {
  transform: scale(1.2);
}

.skillslist p {
  margin-top: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #525252;
}

footer {
  padding: 1rem;
  background-color: #424242;
  color: white;
  text-align: center;
}

.contact {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

footer a {
  display: flex;
  width: 30px;
  height: 30px;
  padding: 5px;
  margin: 5px;
  background-color: white;
  opacity: 0.9;
  border-radius: 50%;
}

footer a:hover {
  opacity: 0.3;
}

@media (max-width: 768px) {
  .container-fixed {
    max-width: 100% !important;
  }
}
@media (max-width: 576px) {
  .about {
    padding: 0.75rem;
  }
  .about .bio {
    padding-left: 0;
    padding-top: 2rem;
  }
  .about .bio h2 {
    font-size: 1.5rem;
  }

  .card {
    margin: 0.75rem;
  }
}
@media (max-width: 300px) {
  .site-header {
    min-height: 65px;
  }
  .site-header h2 {
    font-size: 1rem;
  }

  h1 {
    font-size: 0.9rem;
  }
}

/*# sourceMappingURL=style.css.map */
