/**
  @version   $Id: styles.css 2025-06-21 12:00:00Z TP $
  @package   i-ams.hu v1.4 (site)
  @copyright (C) 2026 DELCAM Hungary Ltd. All rights reserved.

          Revision History
      When    |  Who  |       What
  -----------------------------------------------------------------------------
   21/06/2026 |  TP   | - Initial version v1.0
              |       | - Fixed background attachment of html v1.1
              |       | - Fixed footer scroll
   22/06/2026 |  TP   | - Added img under construction v1.2
              |       | - Mobile view fine-tuned
   23/06/2026 |  TP   | - Co. name in header tuned v1.3
   02/07/2026 |  TP   | - Fixed header items justification v1.4
              |       |
**/

/* Barlow - latin + ext_latin */
@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-Thin.ttf) format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
            url(../fonts/Barlow-ThinItalic.ttf) format("truetype");
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-ExtraLight.ttf) format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-ExtraLightItalic.ttf) format("truetype");
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-Light.ttf) format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-LightItalic.ttf) format("truetype");
    font-weight: 300;
    font-style: italic;
}

  @font-face {
    font-family: 'Barlow';
    src: local(''),
        url(../fonts/Barlow-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-Italic.ttf) format("truetype");
    font-weight: normal;
    font-style: italic;
  }

  @font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-Medium.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-MediumItalic.ttf) format("truetype");
    font-weight: 500;
    font-style: italic;
  }

  @font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-SemiBold.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-SemiBoldItalic.ttf) format("truetype");
    font-weight: 600;
    font-style: italic;
  }

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-Bold.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-BoldItalic.ttf) format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-ExtraBold.ttf) format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-ExtraBoldItalic.ttf) format("truetype");
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-Black.ttf) format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: local(''),
         url(../fonts/Barlow-BlackItalic.ttf) format("truetype");
    font-weight: 900;
    font-style: italic;
}

html, body {
    font-family: 'Barlow';
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    color: aliceblue;
}

html{
    background-repeat: no-repeat;
    background-image:
        linear-gradient(155deg, #0775c8, #0775c8 50%, #2b3d53 50.1%, #2b3d53 100%);
    background-size: 100%;
    height: 100%;
    background-attachment: fixed;
}

body {
    padding: 2em;
}

#wrapper {
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

header {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    margin-bottom: 2em;
    align-items: center;
    justify-content: space-between;
}

header div {
    margin-right: 5em;
}

section {
    display: flex;
    width: fit-content;
    flex-grow: 1;
    flex-wrap: wrap;
}

section + section {
    margin-top: 2em;
}

img.flags {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 2em;
    margin-bottom: 0.5em;
}

img.under-construction {
    width: 100px;
    margin: 1em auto;
    display: block;
}


.timer {
    font-weight: bold;
    font-family: monospace;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
}

footer p {
    margin: 0.5em 2em;
    text-align: right;
}

/* Typography */
h1 {
    font-size: 3em;
    font-weight: 600;
    color: white;
    position: relative;
    margin: 0;
}

h1 #coname1 {
    font-size: 0.44em;
    display: inline-block;
    margin: 0;
    line-height: 1em;
    letter-spacing: 0.25em;
    text-align: center;
    width: fit-content;
 }

h1 #coname2 {
    display: flex;
    padding: 0;
    margin: 0;
    font-size: small;
    align-content: center;
    justify-content: center;
    flex-grow: 1;
    flex-wrap: wrap;
}

#coname2 span.txt-group {
    padding: 0 10px;
}

h1 .hr {
    margin: 0;
    width: 50px;
    height: 10px;
    border: 0;
    border-bottom: 1px solid white;

}

h2 {
    font-size: 2em;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

p {
    font-size: 1.1em;
}

a {
    color: inherit;
    border-bottom: 1px solid white;
    text-decoration: none;
}

a:hover {
    border-bottom: 1px solid orangered;
}

footer {
    font-size: 0.75em;
    font-weight: 100;
}