
/* Minden oldalra érvényes design elemek */

/* Alap */
html {
  font-family: Arial Black, Helvetica, sans-serif;
  height: 100%;
  color: #000;
  cursor: default;
  word-break: break-word;
  font-size: 8px;
}

body {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  min-width: 320px;
  box-sizing: border-box;
}

.my-page {
  background-color: #000;
  border-bottom: 8px solid #000;
  border-left: 8px solid #000;
  border-right: 8px solid #000;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header-section */
#header {
  left: 0;
  top: 0;
  height: 124px;
  margin: 0;
  background-color: #fff;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  box-sizing: border-box;
}

#logo {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  outline: 0;
  display: block;
  text-decoration: none;
  font-size: 2.6rem;
  font-weight: 800;
  color: #000;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  width: auto;
}

#header-text {
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  -webkit-box-flex: 0;
  flex: 0 1 100%;
  font-size: 2.6rem;
  font-weight: 400;
  -webkit-box-pack: end;
  justify-content: flex-end;
  line-height: 1.4;
  text-align: right;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Footer-section */
#footer {
  bottom: 0;
  right: 0;
  height: 124px;
  margin: 0;
  background-color: #fff;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  box-sizing: border-box;
}

#footer-text {
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  -webkit-box-flex: 0;
  flex: 0 1 100%;
  font-size: 2.6rem;
  font-weight: 400;
  -webkit-box-pack: end;
  justify-content: flex-end;
  line-height: 1.4;
  text-align: right;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#social-media {
  left: 0;
  position: absolute;
  top: 0;
  -webkit-box-flex: 0;
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0;
  padding: 17px 17px;
}


/* Link design-ok */
.social-media-link {
  margin: 0 8px;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  outline: 0;
  display: inline-block;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  color: #000;
  padding: 0;
}

.social-media-link :first-child {
  margin-left: 0;
}

.social-media-link:hover {
  cursor: pointer;
  transition: transform 0.3s;
  transform: scale(1.2);
}

.nav-link {
  color: #000;
  text-decoration: none;
  font-size: 5rem;
  font-weight: bold;
}

.nav-link:hover {
  cursor: pointer;
  transition: transform 0.3s;
  transform: scale(1.2);
}

/* Az aláhúzás a social-media-linken nem működött */
/* .underline {
  display: inline;
  position: relative;
  overflow: hidden;
}

.underline:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: -5px;
  background: #000;
  height: 4px;
  transition-property: left right;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}
.underline:hover:after,
.underline:focus:after,
.underline:active:after {
  right: 0;
} */

/* Fő tartalom helye */
#main-area {
  height: calc(100% - 132px);
  margin-top: 132px;
  position: relative;
  z-index: 10;
  padding: 0;
  box-sizing: border-box;
}

/* Navigáció - fő ablak */
/*Navigációs box a Bemutatkozás számára */
.intro {
  background-color: #32CBFF;
  bottom: calc(50% - 4px);
  left: -8px;
  right: calc(50% - 4px);
  top: -8px;
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
}

/*Navigációs box a Raklap-posta számára */
.posta {
  background-color: #FC7299;
  bottom: calc(50% - 4px);
  left: calc(50% - 4px);
  top: -8px;
  right: -8px;
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  position: absolute;
  text-decoration: none;
  z-index: 1;
}

/*Navigációs box a Fuvardíj kalkuláció számára */
.calculator {
  background-color: #FDD505;
  bottom: -8px;
  left: -8px;
  right: calc(50% - 4px);
  top: calc(50% - 4px);
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  position: absolute;
  text-decoration: none;
  z-index: 1;
}

/*Navigációs box a Kapcsolat számára */
.contact {
  background-color: #9B9D93;
  bottom: -8px;
  left: calc(50% - 4px);
  right: -8px;
  top: calc(50% - 4px);
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  position: absolute;
  text-decoration: none;
  z-index: 1;
}

/*Responsive design */

/* Nagyképernyő, kétoszlopos nézet */
@media screen and (min-width: 1023px) {
  .my-page {
    border-top: 8px solid #000;
  }

  #header {
    padding: 17px 32px 17px 17px;
    position: absolute;
    width: calc(50% - 4px);
  }

  #footer {
    padding: 17px 32px 17px 17px;
    position: absolute;
    width: calc(50% - 4px);
    top: 0;
  }

  .intro {
    border: 8px solid #000;
  }

  .posta {
    border: 8px solid #000;
  }

  .calculator {
    border: 8px solid #000;
  }

  .contact {
    border: 8px solid #000;
  }

}

@media screen and (max-width: 600px) {
  html {
    font-size: 7px;
  }

  .nav-link {
    font-size: 3rem;
  } 

}

/* Mobil, álló tablet nézet */ 
@media screen and (max-width: 1023px) {
  body {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
  }

  #header {
    top: 0;
    z-index: 50;
    border-bottom: 8px solid #000;
    border-top: 8px solid #000;
    height: calc(16.66667% + 8px);
    left: 0;
    position: absolute;
    width: 100%;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  #logo {
    padding: 5px;
  }

  #footer {
    top: 83.33333%;
    z-index: 100;
    border-bottom: 8px solid #000;
    border-top: 8px solid #000;
    height: calc(16.66667% + 8px);
    left: 0;
    position: absolute;
    width: 100%;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  #header-text {
    display: none;
  }

  #main-area {
    height: 100%;
    z-index: 30;
    margin: 0;
    padding: 0;
  }

  .intro {
    top: 16.66667%;
    border-bottom: 8px solid #000;
    border-top: 8px solid #000;
    height: calc(16.66667% + 8px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .posta {
    top: 33.33333%;
    border-bottom: 8px solid #000;
    border-top: 8px solid #000;
    height: calc(16.66667% + 8px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .calculator {
    top: 50%;
    border-bottom: 8px solid #000;
    border-top: 8px solid #000;
    height: calc(16.66667% + 8px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .contact {
    top: 66.66667%;
    border-bottom: 8px solid #000;
    border-top: 8px solid #000;
    height: calc(16.66667% + 8px);
    left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  

  #social-media {
    position: relative;
  }

  #footer-text {
    display: none;
  }
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
  .nav-link {
    font-size: 4rem;
  }
  .social-media-link {
    font-size: 4rem;
  }
}

*, *:before, *:after {
  box-sizing: border-box;
}

