html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}

/* steam epic gog icons */
.list-inline-item:not(:last-child) {
    margin-right: 0.3rem ;
}



.no-padding {padding: 0 !important;}
.no-margin {margin: 0 !important;}

body {
font-family: 'Old Standard TT', serif; /* oikke hyvä myös otsikoissa */
  padding-top: 54px;
  color: black;
background: url('../cssimg/linen.jpg'); 
background-size: 30%;
}


.navbar-brand {font-size: 1rem !important;}


.bg-primary {
  background-color: transparent !important;
background: url("../cssimg/4096x_map_template_shiloh_5_WA_www_sidebar.jpg") right top repeat-y;
    background-size: 130%;
}
.taustakuva {

background: url('../cssimg/fair_oaks_artillery_3840_iPad_flat5.jpg') no-repeat center center; 
background-size: cover;
  -webkit-filter: drop-shadow(1px 1px 1px #222 );
  filter: drop-shadow(1px 1px 1px #222);

}
.taustakuva2 {
background: url('../cssimg/fair_oaks_artillery_3840_iPad_flat5.jpg') no-repeat center center; 
background-size: cover;

}
.border-none {border: 0 !important;}
.overflow-hidden {overflow: hidden;}
.modal-body {padding: 1px !important; }
.modal-content {border-radius: 0 !important;}

    div.col-sm-7.five-three {
    width: 60% !important;
    }

    div.col-sm-5.five-two {
      width: 40% !important;
    }
.hidden {display: none !important;}
.newspaper-headline {font-size: 1.8rem; line-height: 1.8rem; text-align: center !important;}
.newspaper-ingress {font-size: 1rem; line-height: 1.2rem;    margin-bottom: 0.5rem;
}
.news-headline-oswald {font-family: 'Oswald', sans-serif; text-align: center;}
.text-red {color: firebrick !important;}
.text-justify {text-align: justify;  
-webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
.first-line-indent {text-indent: 1rem; margin: 0;}
.first-line-indent-more {text-indent: 2rem; margin:0;}

.photos img {margin-bottom: 1rem;}

.p-4 {padding: 4rem;}
.mx-20 {margin-right: 20px; margin-left: 20px;}
.mx-30 {margin-right: 30px; margin-left: 30px;}
.mx-40 {margin-right: 40px; margin-left: 40px;}
.mx-50 {margin-right: 50px; margin-left: 50px;}
.mx-60 {margin-right: 60px; margin-left: 60px;}
.mx-70 {margin-right: 70px; margin-left: 70px;}
.mx-80 {margin-right: 80px; margin-left: 80px;}
.mx-90 {margin-right: 90px; margin-left: 90px;}
.mx-100 {margin-right: 100px; margin-left: 100px;}
.mx-150 {margin-right: 150px; margin-left: 150px;}
.mx-200 {margin-right: 200px; margin-left: 200px;}
h1 {font-size: 6rem; line-height: 6rem;}
h2 {font-size: 1.6rem;}
.latest-headlines {font-size: 2.4rem; line-height: 2.4rem; border-top: 2px solid black; border-bottom: 2px solid black; padding-top: 10px; padding-bottom: 10px; margin-bottom: 20px !important;}
.grand_tactician {font-size: 1.8rem; line-height: 1.8rem;}
.get_your_photographs {font-size: 1.5rem; line-height: 1.5rem;}
.dispatches_from_the_front {font-size: 1.2rem; line-height: 1.2rem;}
.keppelmuller {font-size: 1.2rem; line-height: 1.2rem;}
.headquarters {font-size: 1.2rem; line-height: 1.2rem;}
.newspaper-column h2 {font-size: 1rem; border-top: 1px solid black; padding-top: 10px;}
.newspaper-column p {font-size: 1rem; text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
   line-height: 1.2rem;}
.hyphens {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
#features ul {
    margin-left: -35px;
}
#features li {
  background: url("../cssimg/bullet.png") no-repeat left 7px;
  padding: 0px 0px 15px 60px;
  /* reset styles (optional): */
  list-style: none;
  margin: 0;
  line-height: 1.2rem;
}
.available_on_steam {font-size: 1rem !important; line-height: 1rem; text-align: center; color: white;}
.frontpage_heading {
    font-size: 6rem;
    line-height: 6rem;
    letter-spacing: 12px;
    font-family: 'Sancreek', cursive;
    color: firebrick !important;
    text-shadow: -4px 0 white, 0 4px white, 4px 0 white, 0 -4px white;
    padding-bottom: 30px;
}


.the {font-size: 4rem;
    text-shadow: -3px 0 white, 0 3px white, 3px 0 white, 0 -3px white;
    line-height: 3rem;
    padding-left: 50px;
}
.frontpage_subheading1 {font-size: 2rem; letter-spacing: 12px;
font-family: 'Sancreek', cursive;
color: firebrick !important;
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
    text-align: center;
    margin-top: -30px !important;
}
.frontpage_subheading2 {font-size: 1rem; letter-spacing: 4px;
font-family: 'Sancreek', cursive;
color: firebrick !important;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    text-align: center;
    margin-top: 0px;
    -webkit-font-smoothing: antialiased;

}
.to_arms {font-size: 2rem; line-height: 2rem; }
.to_arms_text {font-size: 0.9rem; line-height: 0.9rem; padding: 0 0 10px 0}
.subscribe {font-size: 0.8rem !important; line-height: 0.8rem; margin: 0 70px !important;}


.subheading {font-size: 1.35rem; line-height: 1.35rem; margin-top: 10px;}

.handwriting {font-size: 12px;}

.subject-title {font-size: 0.7rem;}
.subject{font-size: 0.6rem;}
.subject-line{font-size: 18px; height: 25px; width: 200px;}

.from:after {font-size: 24px;}
.date:before {font-size: 24px;}
.writer {
font-family: 'Meddon', cursive;
color: #333 !important;
display: inline-block;
}
.writer-date {
font-family: 'Meddon', cursive;
color: #333 !important;
display: inline-block;
}
.clear-div {clear: both;}

.subject-title {
font-family: 'Pinyon Script', cursive;
color: black;
margin-left: 20px;
    margin-top: 10px;
display: inline-block;

}
.subject{
font-family: 'Meddon', cursive;
font-weight: normal;
color: #666;
display: inline-block;
padding-top: 2px;
}
.subject-line {border-bottom: 1px dashed black;
font-family: 'Meddon', cursive;
color: #333 !important;
text-transform: capitalize;
display: inline-block;
height: 25px;
width: 70%;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    padding: 0.3rem !important;
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #C75F3F;
}
.newspaper-border-right {border-right: 0px solid #000 !important;}

.steam {
position: absolute; 
z-index: 99999999;
right: 30px; top: 20px;
background: url('../cssimg/Steam_logo.png') no-repeat,
url('../cssimg/Epic_games_store_logo.svg') no-repeat 65px 40px, url('../cssimg/gog-vertical-logo.svg') no-repeat 65px 100px;
background-size: 100px, 30px, 30px;
height: 500px;
width: 100px;
}
.epic {
position: absolute;
background: url('../cssimg/Epic_games_store_logo.svg') no-repeat;
background-size: 20px;

}
.logo {margin-bottom: 200px;}

.civil_war_logo {
width: 100% !important;
height: auto;

}

.top-correction {margin-top: 50px;}


@media (min-width: 471px) { /* sm */
.top-correction {margin-top: 0px;}
.keppelmuller {font-size: 1.5rem; line-height: 1.5rem;padding-top: 10px;padding-bottom: 20px;}

.handwriting {font-size: 18px;}
.subject-title {font-size: 24px;}
.subject{font-size: 18px;}
.subject-line {width: 70%; height: 25px;}
.latest-headlines {font-size: 2.5rem; line-height: 2.5rem;}
.newspaper-column h2 {font-size: 2.4rem; line-height: 2.4rem;}
}

@media (min-width: 576px) { /* sm */


.to_arms {font-size: 3rem; line-height: 3rem; }

.civil_war_logo {
width: 100% !important;
height: auto;
left: 0;
}

h1 {font-size: 6rem; line-height: 6rem;}
h2 {font-size: 2rem;}
.latest-headlines {font-size: 2.6rem; line-height: 2.6rem; }
.grand_tactician {font-size: 2.9rem; line-height: 2.9rem;}
.get_your_photographs {font-size: 2.4rem; line-height: 2.4rem;}
.dispatches_from_the_front {font-size: 2.4rem; line-height: 2.4rem;}
.keppelmuller {font-size: 1.9rem; line-height: 1.9rem;padding-top: 10px;padding-bottom: 20px;}
.subheading {font-size: 2rem; line-height: 2rem; }

.newspaper-column h2 {font-size: 1rem;}
.newspaper-column p {font-size: 0.8rem;}
.newspaper-border-right1 {border-right: 1px solid #000 !important;}
.newspaper-border-right2 {border-right: 0px solid #000 !important;}
.newspaper-border-right3 {border-right: 1px solid #000 !important;}

.handwriting {font-size: 0.7rem;}
.writer {margin-left: 200px;margin-top: 20px;}

.underline2:after {right:0px;width:380px;top: 110px;margin-right: 20px;}
.from:after {left:20px;right:0;top: 85px;margin-right: 20px;}
.underline3:before {right:0px;width:380px;top: 150px;margin-right: 20px;}
.date:before {left:135px;top: 127px;}

.writer-date {margin-top: 10px;margin-left: 200px;}

.subject-title {font-size: 0.9rem;}
.subject{font-size: 0.7rem;}
.subject-line {width: 80%; height: 25px;}

.from:after {font-size: 24px;}
.date:before {font-size: 24px;}
}

@media (min-width: 768px) { /* md */

.newspaper-headline {font-size: 2.5rem; line-height: 2.5rem; text-align: center;}

.civil_war_logo {
width: 100% !important;
height: auto;
left: 0;
}
h1 {font-size: 3rem; line-height: 3rem;}
h2 {font-size: 2rem;}
.latest-headlines {font-size: 3.8rem; line-height: 3.8rem;}
.grand_tactician {font-size: 4rem; line-height: 4rem;}
.get_your_photographs {font-size: 2.8rem; line-height: 2.8rem;}
.dispatches_from_the_front {font-size: 2.8rem; line-height: 2.8rem;}
.keppelmuller {font-size: 2.7rem; line-height: 2.7rem;}
.headquarters {font-size: 2.2rem; line-height: 2.2rem;padding-top: 10px;}

.newspaper-column h2 {font-size: 0.8rem;}
.newspaper-column p {margin-bottom: 0;}
.newspaper-border-right1 {border-right: 1px solid #000 !important;}
.newspaper-border-right2 {border-right: 1px solid #000 !important;}
.newspaper-border-right3 {border-right: 1px solid #000 !important;}
.nohyphen {
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;}
.handwriting {font-size: 14px;}
.subject-title {font-size: 0.9rem;}
.subject{font-size: 0.7rem;}
.subject-line {width: 86%; height: 25px;}
.from:after {font-size: 24px;}
.date:before {font-size: 24px;}
}

@media (min-width: 991px, max-width: 1080px) { /* lg sivupalkki tulee näkyviin eli palsta kapenee*/

.pb-20 {padding-bottom: 20rem !important;}
.pt-20 {padding-top: 20rem !important;}
.pb-25 {padding-bottom: 25rem !important;}
.pt-25 {padding-top: 25rem !important;}
}

@media (min-width: 991px) { /* lg sivupalkki tulee näkyviin eli palsta kapenee*/
.newspaper-headline {font-size: 2rem; line-height: 2rem; text-align: center;}

.frontpage_subheading2 {font-size: 2rem; letter-spacing: 4px;
font-family: 'Sancreek', cursive;
color: firebrick !important;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    text-align: center;
    margin-top: 0px;
}
.steam {
position: absolute; 
z-index: 99999999;
right: 30px; top: 30px;
background: url('../cssimg/Steam_logo.png') no-repeat, url('../cssimg/Epic_games_store_logo.svg') no-repeat 140px 80px,
url('../cssimg/gog-vertical-logo.svg') no-repeat 140px 180px;
background-size: 200px, 50px, 50px;
height: 300px;
width: 200px;

}
h1 {font-size: 6rem; line-height: 6rem;}
h2 {font-size: 2rem;}
.latest-headlines {font-size: 3rem; line-height: 3rem;}
.grand_tactician {font-size: 3rem; line-height: 3rem;}
.get_your_photographs {font-size: 2.2rem; line-height: 2.2rem;}
.dispatches_from_the_front {font-size: 1.8rem; line-height: 1.8rem;}
.keppelmuller {font-size: 1.9rem; line-height: 1.9rem;padding-top: 10px;padding-bottom: 20px;}

.newspaper-column h2 {font-size: 1rem; line-height: 1rem;}
.newspaper-border-right1 {border-right: 1px solid #000 !important;}
.newspaper-border-right2 {border-right: 0px solid #000 !important;}
.newspaper-border-right3 {border-right: 1px solid #000 !important;}

.handwriting {font-size: 16px;}
.subject-title {font-size: 24px;}
.subject{font-size: 18px;}
.subject-line {width: 65%; height: 25px;}
.from:after {font-size: 24px;}
.date:before {font-size: 24px;}
}

@media (min-width: 1080px) {

.latest-headlines {font-size: 3.2rem; line-height: 3.2rem;}
.grand_tactician {font-size: 3.2rem; line-height: 3.2rem;}
.get_your_photographs {font-size: 2.8rem; line-height: 2.8rem;}
.dispatches_from_the_front {font-size: 2.1rem; line-height: 2.1rem;}
.keppelmuller {font-size: 2.2rem; line-height: 2.2rem;padding-top: 10px;}
.headquarters {font-size: 2.4rem; line-height: 2.4rem;padding-top: 10px;}
}

@media (min-width: 1200px) { /* xl */
.civil_war_logo {
width: 100% !important;
height: auto;
left: 0;
}
h1 {font-size: 6rem; line-height: 6rem;}
h2 {font-size: 2rem;}
.latest-headlines {font-size: 4rem; line-height: 4rem;}
.grand_tactician {font-size: 4rem; line-height: 4rem;}
.get_your_photographs {font-size: 3.2rem; line-height: 3.2rem;}
.dispatches_from_the_front {font-size: 2.9rem; line-height: 2.9rem;}
.keppelmuller {font-size: 2.8rem; line-height: 2.8rem;padding-top: 10px;}
.headquarters {font-size: 3rem; line-height: 3rem;padding-top: 10px;}

.newspaper-border-right1 {border-right: 1px solid #000 !important;}
.newspaper-border-right2 {border-right: 1px solid #000 !important;}
.newspaper-border-right3 {border-right: 1px solid #000 !important;}
.newspaper-column h2 {font-size: 1.6rem; line-height: 1.6rem;}
.newspaper-column p {font-size: 0.8rem;}
.newspaper-border-right {border-right: 1px solid #000 !important;}

.handwriting {font-size: 14px;}
.subject-title {font-size: 24px;}
.subject{font-size: 14px;}
.subject-line {width: 65%; height: 22px;}

.from:after {font-size: 24px;}
.date:before {font-size: 24px;}
}

@media (min-width: 1440px) {

.rwd-break { display: none; }
.the {font-size: 6rem; line-height: 6rem;}
xxx.newspaper-column h2 {font-size: 2rem; line-height: 2.5rem;}

.handwriting {font-size: 16px;}
.subject-title {font-size: 24px;}
.subject {font-size: 16px;}
.subject-line {width: 70%; height: 22px;}

}

@media (min-width: 1600px) {
	.col-xxl-3 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%; 
	}

	.handwriting {font-size: 16px;}
	.subject-title {font-size: 24px;}
	.subject {font-size: 16px;}
	.subject-line {width: 80%; height: 22px;}


	.civil_war_logo {
	width: 100% !important;
	height: auto;
	left: 0;
	}


	h1 {font-size: 6rem;  line-height: 6rem;}
	h2 {font-size: 2rem;}

	.latest-headlines {font-size: 5.2rem; line-height: 5.2rem;}
	.grand_tactician {font-size: 4rem; line-height: 4rem;}
	.get_your_photographs {font-size: 3.2rem; line-height: 3.2rem;}
	.dispatches_from_the_front {font-size: 4rem; line-height: 4rem;}
	.keppelmuller {font-size: 4rem; line-height: 4rem;}
	.headquarters {font-size: 4rem; line-height: 4rem;padding-top: 10px;}

	.newspaper-column h2 {font-size: 2rem; line-height: 2.5rem;}
	.newspaper-column p {font-size: 1rem;}
	.newspaper-border-right {border-right: 1px solid #000 !important;}

	.from:after {font-size: 24px;}
	.date:before {font-size: 24px;}
}

.pointing {
    background: url("../cssimg/pointing-right.png");
    background-size: 70px !important;
    float: left;
    width: 70px;
    height: 70px;
    margin-top: -20px;
    margin-right: -50px;
}
.opacity5 {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";  /* IE 8 */
  filter: alpha(opacity=50);  /* IE 5-7 */
  -moz-opacity: 0.5;  /* Netscape */
  -khtml-opacity: 0.5;   /* Safari 1.x */
  opacity: 0.5;   /* Good browsers */
}
.opacity7 {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";  /* IE 8 */
  filter: alpha(opacity=70);  /* IE 5-7 */
  -moz-opacity: 0.7;  /* Netscape */
  -khtml-opacity: 0.7;   /* Safari 1.x */
  opacity: 0.7;   /* Good browsers */
}
.mb-10 {margin-bottom: 10px !important;}
.mb-20 {margin-bottom: 20px !important;}
.pb-10 {padding-bottom: 10px !important;}
.pb-20 {padding-bottom: 20px !important;}

.red {background: red !important; border: 2px solid red !important;}

.width-20 {width: 20%; float: left; margin-right: 10px;}
.photos {margin-left: 6px; margin-right: 6px;}
.portraits {margin-left: 6px; margin-right: 6px;}

.resume-content img {xwidth: 100%;}

/* handwriting fonts */
.handwriting {
font-family: 'Meddon', cursive;
color: #333;
font-weight: normal;
}




.skewed {
  transform: skewY(-2deg) skewX(2deg) rotateY(7deg) rotateX(5deg);
  padding-left:20px;
}
.skewed2 {
  transform: skewY(0.2deg) skewX(1deg) rotateY(2deg) rotateX(5deg);
  padding-left:20px;
}
.perspective-parent {
    perspective: 1000px;
}


.underline {
	border-bottom: 1px dashed black; 
	padding-top: 20px;
	padding-bottom: 0px; 
	margin-left: 20px; 
	margin-right: 20px;
}

.underline2:after {
    content:"";
    position:absolute;
    display:inline-block;
    border-bottom: black dashed 1px;
	z-index: -1;
}
.from:after {
    content:"By Telegraph from: ";
    text-align: left !important;
    position:absolute;
    display:inline-block;
	z-index: -1;
	font-family: 'Pinyon Script', cursive;
	color: black;
}
.underline3:before {
    content:"";
    position:absolute;
    display:inline-block;
    border-bottom: black dashed 1px;
	z-index: -1;
}
.date:before {
    content:"Dated: ";
    position:absolute;
    display:inline-block;
	z-index: -1;
	font-family: 'Pinyon Script', cursive;
	color: black;
}




.navbar {z-index: 1 !important; border-right: 1px solid #456;}
z.intro-video {position: absolute; z-index: -1000; overflow: hidden !important; height: 100%; margin-top: 0;}

.splash-screen-margins {margin-left: 100px; margin-right: 100px;}
.align-item-bottom {
    align-items: flex-end; 
    display: flex; 
    justify-content: center; 
}
.newspaper-headline-box {
margin-left: -10px !important; 
margin-right: -10px !important;
margin-bottom: 10px !important; 
}
.newspaper-column {
margin-top: 20px !important;
}
.newspaper-clipping {
margin-right: 0px;
margin-bottom: 15px !important;
}
.newspaper-main-headline, {
font-family: 'Gravitas One', cursive; /* toimiva superläski */
  font-weight: 700;
font-weight: normal;
  text-transform: uppercase;
  color: #343a40;
}
.latest-headlines {
font-family: 'Rye', cursive;
  font-weight: 700;
font-weight: normal;
  text-transform: uppercase;
  color: #343a40;
}

.newspaper-line {
border-bottom: 1px solid black;
padding-bottom: 10px;
margin-bottom: 10px !important;
}


.texture {
-webkit-mask-image: url('../cssimg/texture3.png');
}
.mask {
-webkit-mask-image: url('../cssimg/clouds-white3.png');
}



.borderimageslice {
  padding: 5px;
  margin: 5px 20px 5px 5px;
  /* border-related properties */
  border: 6px solid #E6D0A5;
  background-clip: padding-box;
  border-image-source: url('../cssimg/border-image-slice-sharp2.png');
  border-image-slice: 5;
  border-image-repeat: repeat;
    background: url('../cssimg/border-image-slice-fill.jpg') center center;
border-image-outset: 5px; 
padding: 20px;
height: 100%;
}
.borderimageslice-vaalea {
  padding: 5px;
  margin: 5px;
  /* border-related properties */
  border: 6px solid #E6D0A5;
  background-clip: padding-box;
  border-image-source: url('../cssimg/border-image-slice-vaalea-2.png');
  border-image-slice: 5;
  border-image-repeat: repeat;
    background: url('../cssimg/border-image-slice-vaalea-1-fill.jpg') center center;
border-image-outset: 5px; 
padding: 20px;

}
.engineers_kuva {
width: 55%;
height: auto;
float: left;
margin-bottom: -20px;
padding-bottom: 10px;
}
hr {
    border: 0;
    height: 10px;
    background: url('../cssimg/line.png') no-repeat 50% 50%;
    background-size: 150px;
    margin: 10px 0;
-webkit-mask-image: url('../cssimg/texture3.png');

}
.ingressi {font-size: 1.2rem;padding-bottom: 20px;}
.navbar-brand img {margin-top: -150px;}
.varjo {
  -webkit-filter: drop-shadow(1px 1px 1px #222 );
  filter: drop-shadow(1px 1px 1px #222);
}
.text-shadow {
text-shadow: 1px 1px 1px black, 3px 3px 3px black;
}
.text-shadow-iso  {
text-shadow: 1px 1px 1px black, 3px 3px 3px black, 0px 0px 10px black, 0 0 50px black, 0 0 100px black;
}
.isovarjo {
  -webkit-filter: drop-shadow (1px 1px 10px #222);
  filter: drop-shadow(3px 3px 10px #222);
}
.navbar-varjox {
  -webkit-filter: drop-shadow(10px 0px 50px black);
  filter: drop-shadow(10px 0px 50px black);
}
.navbar-varjo {
}
.photorow {
  margin: 15px;
}
.rotate-right {
    -ms-transform: rotate(1deg); /* IE 9 */
    -webkit-transform: rotate(1deg); /* Safari */
    transform: rotate(1deg);
}
.rotate-left {
    -ms-transform: rotate(-1deg); /* IE 9 */
    -webkit-transform: rotate(-1deg); /* Safari */
    transform: rotate(-1deg);
}
.rotate-right-more {
    -ms-transform: rotate(2deg); /* IE 9 */
    -webkit-transform: rotate(2deg); /* Safari */
    transform: rotate(2deg);
}
.rotate-left-more {
    -ms-transform: rotate(-2deg); /* IE 9 */
    -webkit-transform: rotate(-2deg); /* Safari */
    transform: rotate(-2deg);
}
.profile-image {width: 100%; margin-bottom: 10px;
  -webkit-filter: drop-shadow(1px 1px 1px #222 );
  filter: drop-shadow(1px 1px 1px #222);

}

.vignette {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 200px rgba(0,0,0,0.9) inset;
}

.vignette2 {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 400px rgba(0,0,0,1) inset;
  
}

@media (min-width: 992px) {

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Old Standard TT', serif; /* oikke hyvä myös otsikoissa */
  font-weight: 400;
  color: #343a40;
-webkit-mask-image: url('../cssimg/texture3.png');
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
}
.uppercase {text-transform: uppercase;}
p, li {
font-family: 'Old Standard TT', serif; /* oikke hyvä myös otsikoissa */
  font-weight: 400;
  color: #343a40;
-webkit-mask-image: url('../cssimg/texture3.png');

}
h2 {
font-family: 'Gravitas One', cursive; /* toimiva superläski */
}

.subheading {
  text-transform: uppercase;
font-family: 'Old Standard TT', serif; /* oikke hyvä myös otsikoissa */
font-family: 'Vast Shadow', cursive; /* western */
}

.list-social-icons a {
  color: #495057;
}

.list-social-icons a:hover {
  color: #BD5D38;
}

.list-social-icons a .fa-lg {
  font-size: 1rem;
}

.list-icons {
  font-size: 3rem;
}

.list-icons .list-inline-item i:hover {
  color: #BD5D38;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
    border: 0.5rem solid rgba(255, 255, 255, 0.2);
  }
  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }
  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
}

section.resume-section {
  padding-top: 5rem ;
  padding-bottom: 5rem ;
}

section.resume-section .resume-item .resume-date {
  min-width: none;
}

@media (min-width: 768px) {

  section.resume-section {
    min-height: 100vh;
  }
  section.resume-section .resume-item .resume-date {
    min-width: 18rem;
  }


}

@media (min-width: 992px) {

  body {
    padding-top: 0;
    padding-left: 17rem;
  }
  #sideNav {width: 17rem;}
}

  section.resume-section {
    padding-top: 3rem ;
    padding-bottom: 3rem ;
    
padding-left: 4rem !important;
padding-right: 4rem !important;
}
}

@media (min-width: 1600px) {
	  section.resume-section {
	padding-left: 5rem ;
	padding-right: 5rem ;
	}
}

.text-primary {
  color: #BD5D38 !important;
}

a {
  color: #BD5D38;
}

a:hover, a:focus, a:active {
  color: #824027;
}

.pt-50 {padding-top: 50rem !important;}
.pt-75 {padding-top: 75rem !important;}
.pt-100 {padding-top: 100rem !important;}



