/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––

- Fonts loading
- Grid
- Base Styles
- Background
- Typography
- Links
- Code
- Spacing
- Utilities
- Misc
- Credit footer

*/

/* Fonts loading
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('./font/GillSansMTPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('./font/GillSansMTPro-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('./font/GillSansMTPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('./font/GillSansMTPro-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('./font/GillSansMTPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('./font/GillSansMTPro-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    position: relative;
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.column {
    position: center;
    width: 100%;
    float: center;
    box-sizing: border-box;
}

/* For devices larger than 400px */
@media (min-width: 400px) {
    .container {
        width: 85%;
        padding: 0;
    }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
    .container {
        width: 80%;
    }

    .column,
    .columns {
        margin-left: 0;
    }

    .column:first-child,
    .columns:first-child {
        margin-left: 0;
    }

}


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
    font-size: 100%;
}

:root {
    --font: 'Gill Sans MT Pro', sans-serif;
    --delay: .3s;
    --hsg-green: #00802f;
    --hsg-dark: #0a5f2d;
    --hsg-beige: rgb(225, 215, 195);
    --hsg-coral: #eb6969;
    --hsg-blue: #73a5af;
    --hsg-yellow: #fff04b;
    --fontColor: #000;
    --bgColor: #FFF;
    --bgColor2: var(--hsg-beige);
    --accentColor: var(--hsg-beige);
}

/* Background
–––––––––––––––––––––––––––––––––––––––––––––––––– */

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font);
    /* background: radial-gradient(ellipse at bottom, var(--bgColor) 0%, var(--bgColor2) 100%); */
    opacity: 0;
    animation: 1s ease-out var(--delay) 1 transitionAnimation; /* duration/timing-function/delay/iterations/name */
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--fontColor);
    /* background-image: url('images/hauptgebäude.jpg'); */
    /* background-blend-mode: lighten; */
    background-position: center;
    background-attachment: fixed;
}


/* Animation */
@keyframes transitionAnimation {
    0% {
        opacity: 0;
        top: -10px;
    }
    100% {
        opacity: 1;
        top: 0px;
    }
}

@keyframes animate {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-2000px);
    }
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 400;
    /* background-color: var(--hsg-green); */
    color: var(--fontColor);
    border-radius: 30px;
}

h1 {
    font-size: 24px;
    line-height: 64px;
    letter-spacing: 0;
}


/* Larger than phablet */
@media (min-width: 350px) {
    h1 {
        font-size: 48px;
        line-height: 96px;
    }
}

p {
    margin-top: 0;
    color: var(--fontColor);
}


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: black;
}

.spacing {
    padding: 0 10px;
    padding-top: 50px;
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    font-size: 90%;
    white-space: nowrap;
    background: var(--hsg-blue);
    border: 1px solid var(--hsg-dark);
    border-radius: 4px;
}

pre > code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre;
}

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
    margin-bottom: 1rem;
    display: block !important;
}

input,
textarea,
select,
fieldset {
    margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
p,
ol {
    margin-bottom: 2.5rem;
}


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
    width: 100%;
    box-sizing: border-box;
}

.u-max-full-width {
    max-width: 100%;
    box-sizing: border-box;
}

.u-pull-right {
    float: right;
}

.u-pull-left {
    float: left;
}


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
    margin-top: 3rem;
    margin-bottom: 3.5rem;
    border-width: 0;
    border-top: 1px solid var(--fontColor);
}


/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #171a1d #31363b;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #31363b;
}

*::-webkit-scrollbar-thumb {
    background-color: #171a1d;
    border-radius: 30px;
    border: 3px none #ffffff;
}


/* Credit footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Styling for credit footer text */
.credit-txt {
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

.credit-icon {
    display: none;
    right: 5px;
}

.credit-footer {
    position: relative;
    right: 15px;
}

/* Switches text color for credit footer for dark/light mode */

.credit-txt-clr {
    color: #FFF !important;
}