/*!
Theme Name: nak
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nak
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

nak is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
.container2 {
 width: 100%;
  margin: 40px auto;
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

}
.container-box {

}
.box img {
  width: 100%;
  height: 100%;
  border-radius: 10px;

}
.box {
position: relative;
}
.box::after,
.box::before {
content: "";
position: absolute;
opacity: 1;
transition: all 0.4s ease-out;
top: 1rem;
bottom: 1rem;
left: 1rem;
right: 1rem;
}
.box::before {

transform: scale(0, 1);
}
.box::after {

transform: scale(1, 0);
}
.box:hover::before {
	border-radius:50%;
background: rgba(0, 0, 0, 1);
transform: scale(1.05, 1);
}
.box:hover::after {
transform: scale(1, 1.05);
}
.box .content {font-family: Jura;background: #5CB85C;border-radius:50%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 15px;
color: white;
opacity: 0;
}
.box:hover .content {
opacity: 1;
}
.box h2{

text-align:center;}
.box li {
    list-style-type: none; /* Убираем маркеры */
   }
.box ul{margin:0;!important;margin: 0;
padding: 0;
font-size: 12px;}
.box .content h2,
.box .content p {
padding: 10px;
font-size: 1.3rem;
}
.box:hover img {
opacity: 0.4;
}
.wpcf7-form-control-wrap {
    position: inherit;