/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100&display=swap');

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */





.hide-on-mobile {
  display: none;
}


.logo2{
  display: none;
}

.main{
  padding-left: 20px ;
  padding-right: 20px;
}
.logo{
   font-family: 'Josefin Sans', sans-serif;
   font-weight: 700;
   font-size: 24px;
}




.logo .aid {
  color: #81CBEB;; /* світло-блакитний */
}

.logo .student {
  color: #56597A;
; /* темно-сірий */
}


.nav{
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #56597A;
}
.navLink{
  position: relative;
  margin-left: 30px;
  color: #4B5563;
  text-decoration: none;
  cursor: pointer;
}

.navLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: #7DD3FC;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navLink:hover::after {
  transform: scaleX(1);
}

.infoHeader {
  font-size: 20px;
  color: #56597A;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.info2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #56597A;
}
.infoRoot{
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 12px;
}
.info1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #56597A;
  padding-top: 40px;
  padding-bottom: 16px;
}

.section1{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.photo{
  display: none;
}

.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #7DD3FC;
  font-size: 16px;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 2.5px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
  width: 220px;
  height: 40px;
}
.order-button:hover {
  background-color: #38bdf8;
}

.order-button .icon {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
}
.telegramI{
  padding-left: 4px;
}

.section3{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.custom-list {
  list-style-type: disc;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 20px;
}
.listStyleType{
  list-style-type: numder;
}
.photo{
  width: 657px;
  height: 578px;
}
li{
  margin-top: 7px;
  margin-bottom: 7px;
}
.instagram-button {
  width: 220px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, #4467CA, #9D34C4, #ED4C62, #F5885C, #FFD454);
  border: none;
  border-radius: 2.5px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  opacity: 0.9;
}
.instagram-button:hover {
  opacity: 0.7;
}

.footer{
  margin-top: 20px;
  height: 54px;
  background-color: #7DD3FC;

}
.section4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
}
.section5 {
  display: flex;
flex-direction: column;}

@media (min-width: 800px) {
  .main{
    padding-left: 100px;
    padding-right: 100px;
  }
  .footer{
    margin-top: 352px;
  }
  .logo {
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
  }

  .logo2 {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #7DD3FC;
    font-size: 20px;
    line-height: 20px;
    padding-top: 15px;
  }

  .infoHeader {
    color: #56597A;
    font-weight: 700;
    font-size: 50px;
    letter-spacing: 0.02em;
  }

  .info2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 23px;
    color: #56597A;
  }

  .fontSize {
    font-size: 20px;
    line-height: 36px;
  }

  .section1 {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 30px;
  }

  .info1 {
    font-weight: 600;
    font-size: 45px;
    padding-top: 170px;
    padding-bottom: 60px;
  }

  .custom-list {
    padding-top: 35px;
    padding-bottom: 35px;
    margin-left: 30px;
  }

  .section3 {
    justify-content: space-around;
    flex-direction: row;
  }
  .section4 {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    padding-top: 30px;
  }
  .section5 {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
  }
  .order-button{
    width: 300px;
    height: 65px;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
  }
  .telegramI{
    padding-left: 4px;
  }
  .instagram-button{
    width: 300px;
    height: 65px;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
  }
  .hide-on-mobile{
    display: block;
  }
  .photo{
    display: block;
  }
  .photo-mobile{
    display: none;
  }
  .infoRoot{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
  }
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   TODO mobile
   ========================================================================== */


@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

