/* You can add global styles to this file, and also import other style files */
/* color: #D40000; Rosso Corsa  is an official Ferrari racing color. Other Ferrari colors are silver and black */

body {
  margin: 0;
  font-family: Arial, serif;
  font-size: 16pt;
  background: RGB(239,239,239) url( "../images/backgroundgradient.png") repeat-x;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}


h1              { font-size: 2em; margin: .67em 0; text-align: center; }
h2              { font-size: 1.5em; margin: .75em 0; text-align: center; }
h3              { font-size: 1.17em; margin: .83em 0; text-align: center; }
h4              { font-size: 1em; margin: 1.12em 0; text-align: left; }
h5              { font-size: .83em; margin: 1.5em 0; text-align: left; }
h6              { font-size: .75em; margin: 1.67em 0; text-align: left; }
div, p, li, a   {
  font-size: 1em;
  text-align: left;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}

#top-decoration {
	margin: 0;
	width: 100%;
	height: 8px;
	background-color: blue;
	display: block;
}

#frame {
}

#logo, #logo * {
    margin:0;
}

#logo img {
    max-width: 50px;
    max-height: 50px;
}

#logo2, #logo2 * {
    margin:0;
}

#logo2 img {
    max-width: 150px;
    max-height: 150px;
}

.logoc, .logoc * {
    margin:0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-100%);
}

.logoc img {
    max-width: 150px;
    max-height: 150px;
}

#navigation {
	margin-top: 0;
	margin-bottom: 0;
	background-color: none;
	color: black;
}

#navigation a {
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 1em;
	background-color: white;
	color: black;
	font-size: 0.75em;
}

#content {
	margin-top: 0;
	margin-bottom: 0;
	background-color: none;
	color: black;
}

#content iframe {
  position: relative;
  width: 95%;
  min-height: 100em;
  margin: 0;
  padding: 0;
  scroll-behavior: auto;
}

.smi {
    max-height: 104px;
    max-width: 104px;
}

#footer {
    font-size: 0.5em;
	min-height: 8px;
	margin-top: 0;
	margin-bottom: 0;
	background-color: blue;
	color: white;
}

#footer * {
    color: white;
}


#slideshow {
    position: relative;
    margin: 0;
    width: auto;
    height: auto;
    max-width: 1080px;
    max-height: 780px;
}
.slide {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    block-size: fit-content;
    width: auto;
    height: auto;
    max-width: 1080px;
    max-height: 780px;
}

.imagebox img {
	max-width: 100%;
}


.image-responsive {
    width: 90%;
    height: auto;
    margin: auto;
}


.thumbnail {
    max-width: 100px;
    width: 90%;
    height: auto;
    margin: auto;
}
/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.hcentered {
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fancy1 {
  font-size: 2em;
  color: red;
  text-align: center;
  animation: glow 2s infinite;
}

video {
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}


@keyframes glow {
  0% {
      text-shadow: 0 0 0 darkred;
  }
  50% {
    text-shadow: 0 0 30px darkred, 0 0 40px darkred, 0 0 50px violet, 0 0 60px violet, 0 0 70px violet, 0 0 80px violet, 0 0 90px violet;
  }
  100% {
      text-shadow: 0 0 0 darkred;
  }
}

.fancy2 {
    font-size: 2em;
    text-shadow: 4px 4px #aaaaaa;
    color: blue;
}

/** @media screen and (max-width: 850px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
*/

@media (max-width : 770px) {
	body{font-size: 14pt;}
}

@media (max-width : 600px) {
	body{font-size: 12pt;}
}

@media (max-width : 480px) {
	body{font-size: 12pt;}
}

@media (max-width : 320px) {
	body{font-size: 12pt;}
}

