@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500&display=swap");
:root {
  --clr-primary-1: hsl(205, 86%, 17%);
  --clr-primary-2: hsl(205, 77%, 27%);
  --clr-primary-3: hsl(205, 72%, 37%);
  --clr-primary-4: hsl(205, 63%, 48%);
  --clr-primary-5: #49a6e9;
  --clr-primary-6: hsl(205, 89%, 70%);
  --clr-primary-7: hsl(205, 90%, 76%);
  --clr-primary-8: hsl(205, 86%, 81%);
  --clr-primary-9: hsl(205, 90%, 88%);
  --clr-primary-10: hsl(210, 100%, 100%);
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --clr-red-dark: hsl(360, 67%, 44%);
  --clr-red-light: hsl(360, 71%, 66%);
  --clr-green-dark: hsl(125, 67%, 44%);
  --clr-green-light: hsl(125, 71%, 66%);
  --clr-gold: #c59d5f;
  --clr-black: #222;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
* {
  margin: 0;
  font-family: sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  box-sizing: border-box !important  ;
  font-family: "Open Sans", sans-serif;
  background-color: var(--clr-primary-10);
}

ul {
  list-style: none;
}

a {
  color: #171717;
  text-decoration: none;
}

h1,
h2 {
  font-weight: 100;
  line-height: 1;
}

p {
  margin: 10px 0;
}

/* Flexbox utilities */

h2 {
  color: white;
  text-align: center;
  margin: 40px;
}

p {
  /* text-align: center; */
  font-size: 1.2em;
}

hr {
  margin-top: 60px;
  margin-bottom: 60px;
  width: 80%;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

img {
  border: none !important;
}

/* NAVBAR */

.navbar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: linear-gradient(to right, #2c3e50, #2980b9);
  background-image: linear-gradient(to right, #2c3e50, #2980b9);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #e8df3c;
  opacity: 0.8;
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0px;
  padding: 0 20px;
  z-index: 2;
}

.navbar h1 {
  margin: 0 5px;
  font-size: clamp(20px, 2vw, 100px);
  color: #e8df3c;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
  font-weight: bold;
  transition: font-size 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}
.title:hover {
  font-size: clamp(20px, 2vw, 100px);
  color: #85caea;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
}
nav a:hover {
  color: #f4f7f8;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
  border-bottom: 2px solid #e8df3c;
}
.navbar a {
  color: #e8df3c;
  font-size: clamp(16px, 1vw, 40px);
  padding: 10px 20px;
  margin: 0 5px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-shadow: 0.3rem 0.3rem 0.3rem #000;
}

.navbar ul {
  display: flex;
}

.logo img {
  margin: 0 5px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 50;
}
.logo img:hover {
  transform: scale(1.3);
  margin-top: 20px;
  transition: transform 0.3s ease;
}

/* END OF NAV*/
/* HERO PAGE */
.hero {
  border: 2px solid #2c3e50;
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #2980b9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.hero img {
  margin-top: 190px;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.hero:hover {
  opacity: 1;
}
/* END HERO */
/* CONTAINER */
.container {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* border: 2px solid blue; */
}

.question-text P {
  align-items: normal;
}

/* Events */
.news-events {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 300px;
  padding: 20px;
  margin-left: 20px;
  margin-right: 50px;
  border: 2px solid #097851;
  background-color: rgb(214, 235, 228);
  border-radius: 10px;
}
.johdnews,
.johdevents,
.johdcontacts {
  color: #097851;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 2px solid #097851;
  width: 100%;
  margin-top: 0px;
  margin-left: 20px;
}

.container .row {
  /* border: 2px solid blue; */
  display: flex;
  box-sizing: border-box;
  width: 100%;
  margin-left: 20px;
}
.bodyImage {
  width: 550px;
  margin: 0px 20px;
  height: 400px;
  border-radius: 5px;
}
.bodyImage:hover {
  transform: scale(2);
  transition: transform 0.9s ease;
}

.col-md-3 p {
  margin-left: 20px;
}

.projects {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}
.projects-title {
  margin-bottom: 0;
  padding-bottom: 0;
  color: var(--clr-grey-1);
}
/* END CONTAINER */
/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
  margin-top: 0px;
  letter-spacing: 10px;
  font-size: 12px;
}

.footer a {
  color: #070707;
  opacity: calc(0, 0, 0, 0.875rem);
}

.fa-twitter:hover {
  color: #2828a7;
}

.fa-facebook:hover {
  color: #2828a7;
}

.fa-linkedin:hover {
  color: #2828a7;
}

.fa-youtube:hover {
  color: #e40b0b;
}

.footer .social > * {
  margin-right: 30px;
}

/* Responsive */

@media screen and (max-width: 1200px) {
  .navbar {
    flex-direction: column;
    height: 160px;
    padding: 20px;
  }

  .navbar a {
    padding: 20px 20px;
    margin: 0 3px;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    height: 160px;
    padding: 20px;
  }

  .navbar a {
    padding: 20px 10px;
    margin: 0 3px;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }

  .flex-items3 {
    display: flex;
    margin: 20px 10px;
    padding: 0 40px;
    height: 100%;
  }

  .flex-items > div {
    padding: 10px;
    margin: 20px 10px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
  }

  .navbar a {
    padding: 10px 10px;
    margin: 0 3px;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .flex-items > div h4 {
    padding: 10px;
    margin: 20px 10px;
  }
}

@media screen and (max-width: 650px) {
  .navbar a {
    text-transform: capitalize;
    font-size: 12px;
    padding: 10px 10px;
    margin: 0 3px;
  }
}

@media screen and (max-width: 481px) {
  .navbar {
    flex-direction: column;
    height: 100px;
    padding: 10px;
  }

  .navbar a {
    font-size: 12px;
    text-transform: capitalize;
    padding: 5px 5px;
    margin: 0 3px;
    letter-spacing: 0px;
  }

  .flex-columns .column,
  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  flex-items {
    padding: 2px;
    margin-top: 0px;
  }
}

@media screen and (max-width: 350px) {
  h1 {
    display: none;
    overflow: hidden;
  }

  .home {
    padding: 0 10px;
    overflow: hidden;
  }
}

/* End of Responsive */
/* --- End of file style.css --- */
