/* =======================
   ROOT VARIABLES
   ======================= */
:root {
  --powr1-black: #060606;
  --powr1-dark: #717171;
  
  --powr1-white: #f5f5f5;
  --powr1-light: #9a9eb1;

  
  --powr1-red: #fb001f;
  --powr1-blue: #ff2b35;
  --powr1-green: #47e200;
}

/* =======================
   BASE STYLES
   ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  touch-action: manipulation;
}

body {
  font-family: 'Outfit';
  height: 92vh;
  -webkit-overflow-scrolling: touch;
  font-weight: 500;
  font-size: 16px;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--powr1-white);
  background: var(--powr1-black);
  
  text-align: center;
}






/* =======================
   LAYOUT STYLES
   ======================= */
.flexsec {
  
  display: flex;
  flex-direction: column;
  
  border-bottom: 0px solid var(--powr1-light);
  padding: 4rem 4rem;
}


.flexcol {
  display: flex;
  flex-direction: column;
  flex:0 0 100%;
}

.flexcol-2
  {flex:0 0 50%;}


.flexbox {
  display: flex;
  flex-direction: column;
  
  
  min-height:30px;
  height:auto;
  justify-content: space-between;
  align-items: stretch;
  padding: 0px 14px;
  border-radius: 25px;
  background: var(--powr1-dark);
  color: var(--powr1-light);
}





/* =======================
   BUTTON STYLES
   ======================= */
.button {
  /* Сброс дефолтных стилей кнопки */
  border: none;
  background: none;
  padding: 8px;
  font: inherit; 
  color: var(--powr1-light);
  cursor: pointer;
  user-select: none;

  /* Визуальные стили */
  display: flex;
  flex: 1 1 0;
  max-height: 50px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 25px;
  transition: background-color 0.1s ease;
  -webkit-tap-highlight-color: transparent;

  /* Чтобы фон мог меняться в анимации */
  background-color: transparent;
}

.button:active {
  animation: buttonPress 0.3s ease;
}

@keyframes buttonPress {
  0% {}
  50% {
    background-color: var(--powr1-red);
    color: var(--powr1-white);
  }
  100% {}
}




/* =======================
   TYPOGRAPHY STYLES
   ======================= */

header {
  text-align: center;
  overflow: hidden;
  z-index: 1; 
}



footer {
  text-align: center;
  font-size: 1.5 rem;
 
}




/* =======================
   TYPOGRAPHY STYLES
   ======================= */
   
h1 {

  font-size: 4.5rem;
  font-weight: 900;
  color: var(--powr1-red);
  text-transform: none;
}

h2 {

  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

p {
  
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
font-size: 0.85rem;
  font-family: 'Outfit';
  color: blue;
  text-decoration: none;
   color: var(--powr1-blue);
}

.meta {
  font-size: 0.85rem;
 color: grey;
  margin-top: 0.5rem;
}

.fas {
  font-size: 1rem;
  flex-shrink: 0;
  padding: 0 8px;
}

/* =======================
   IMAGES STYLES
   ======================= */
   
   
.img-sec {
    display:none;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: transparent;
  overflow: hidden;
  position: relative;
}

.image-wrapper.loading {
  background-color: white;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =======================
   RESPONSIVE STYLES
   ======================= */
@media (min-width: 768px) {
  .section {
    flex-direction: row;
  }

  .button {
    min-height: auto;
    padding: 8px;
  }

.images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

}
background: 

/* =======================
   TOGGLE CONTROLS
   ======================= */
   
   
   
   
   
   
   /* =======================
   TEMPORARY STYLES
   ======================= */


   
   
   
   

