/* Box Sizing */
* {
  box-sizing: border-box;
}

/* Font Import */
@font-face {
  font-family: Rundkursiv;
  src: url("sources/fonts/Rundkursiv.ttf") format("truetype");
}

/* Global Styles */
body {
  font-family: Arial, sans-serif !important;
  color: white !important;
  background-color: #915356 !important;
  background-image: url("sources/img/bg.jpg") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  padding: 20px 20% !important;
}

/* Navbar */
.navbar {
  width: calc(100% - 20px); /* Subtracting padding from body */
  margin-left: auto;
  margin-right: auto;
  padding: 0 !important;
}

h1.customFont {
  margin-top: 20px;
  font-family: Rundkursiv, sans-serif !important;
  font-size: 450%;
}

h4 {
  text-align: center !important;
}

a:link,
a:visited,
a:hover,
a:active {
  color: white !important;
  text-decoration: none !important;
}

/* Buttons */
.btn:focus,
.btn:active,
.btn-primary:focus,
.btn-primary:active {
  outline: none !important;
  box-shadow: none;
}

.btn-primary {
  background-color: #623948 !important;
  border-color: #623948 !important;
}

/* Margins and Paddings */
.topMargin {
  margin-top: 1em !important;
}

.leftMargin {
  margin-left: 1em !important;
}

.paddingFloated {
  float: right;
  padding: 15px;
}

.paddingTop {
  padding-top: 20px;
}



.lineheight {
  line-height: 200% !important;
}

.big {
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 0 !important;
}

/* Navbar */
.navbar {
  padding: 0 !important;
}

.navitem {
  width: auto !important;
}

/* Dropdown Items */
.dropdown-item:focus,
.dropdown-item:active {
  outline: none !important;
  box-shadow: none;
}

/* Fixed Elements */
div.fixed {
  position: fixed;
  top: 1em;
  right: 0;
  width: 300px;
  padding-right: 19% !important;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.box img {
  width: 100%;
  height: 100%;
}

.box1 img {
  object-fit: cover;
}

.profile {
  width: 250px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Custom Elements */
.header2 {
  padding: 30px;
  text-align: center;
  background: #311c28;
  border-radius: 10px;
}

.glow {
  box-shadow: 0px 0px 15px 20px rgba(49,28,40,1);
  margin: 20px !important;
}

.headerFontSize {
  font-size: 40px;
}

.cardBackground {
  background-color: #311c28 !important;
}

.card2 {
  background-color: #311c28;
  padding: 20px;
  margin-top: 2rem;
  border-radius: 10px;
  border-style: solid;
  border-image: linear-gradient(#f1a89c, transparent) 1;
  border-bottom: 0;
  box-shadow: #714d60;
}

/* Layout */
.leftcolumn2 {
  float: left;
  width: 25%;
}

.rightcolumn2 {
  float: left;
  width: 75%;
  padding-left: 20px;
}

.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

.row2:after {
  content: "";
  display: table;
  clear: both;
}

.footer2 {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

/* First Letter Styles */
.first-letter {
  font-size: 35px;
  line-height: 200% !important;
}

.subhead::first-letter,
.subheadSmall::first-letter {
  initial-letter: 2;
  color: #f1a89c !important;
  margin-right: 10px;
}

.subheadSmall::first-letter {
  margin-right: 2px;
}

.askLanguageModal {
  background-color: #915356;
}

.languageSelect {
  float: inline-end;
  width: 300px;
}

/* Responsive Typography */
body {
  font-size: 1rem;
}

/* Media Queries */

/* Media Queries */

/* Extra Small, Small, and Medium Devices */
@media (max-width: 1200px) {
	
	
  body {
    padding: 10px !important;
  }

  .navbar-nav,
  .navbar-collapse {
    flex-direction: column;
  }


.collapse {
    height: 100%;
}

  .btn-primary {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .readButton {
    display: none !important;
  }

  .card2 {
    padding: 10px;
    margin: 10px;
  }

  .subhead,
  .subheadSmall {
    font-size: 1rem;
  }

  .leftcolumn2,
  .rightcolumn2 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}
