@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
    scroll-behavior: smooth;
}

body
{
    min-height: 100vh;
    overflow-x: hidden;
}

header
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    
}

header .logo
{
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    
}

header ul
{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
header ul li
{
    list-style: none;
    margin-left: 20px;
    white-space: nowrap;
    font-weight: 800;
    font-size: 1.5em;
}
header ul li a
{
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}

header ul li a:hover,
header ul li a.active
{
    background-color: #fff;
    color: lightseagreen;
}

section
{
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section::before
{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f2520d, transparent);
    z-index: 1000;
}

section img
{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

#overlay
{
    opacity: 1;
}

#text
{
    position: absolute;
    color: #fff;
    white-space: normal;
    font-size: 7.5vw;
}

.sec
{
    position: relative;
    padding: 100px;
    background: #f2520d;
}


.sec h2
{
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #fff;

}

.sec p
{
    font-size: 1.5em;
    color: #fff;

}

.third
{
    position: relative;
    padding: 100px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#misja
{
    font-size: 3.5em;
    margin-bottom: 10px;
}

.container
{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container .box
{
    position: relative;
    width: 320px;
    background: #fff;
    padding: 100px 40px 60px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1)
}

.container .box:before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: lightseagreen;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
}

.container .box:hover:before
{
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.5s;
}

.container .box h2
{
    position: absolute;
    left: 40px;
    top: 20px;
    font-size: 4em;
    font-weight: 800;
    z-index: 1;
    opacity: 0.2;
    transform: 1s;
}

.container .box:hover h2
{
    opacity: 1;
    color: #fff;
} 

.container .box h3
{
    position: relative;
    font-size: 1.5em;
    z-index: 2;
    color: #333;
    transition: 0.5s; 
}

.container .box:hover h3
{
    color: #fff;
}

.container .box p
{
    position: relative;
    z-index: 2;
    color: #555;
    transition: 0.5s;
}

.container .box:hover h3,
.container .box:hover p
{
    color: #fff;
}

.fourth
{
    position: relative;
    padding: 100px;
    background: #f2520d;
}

.fourth p
{
    font-size: 1.2em;
    color: #fff;
    text-align: center;
}

footer
{
    padding-top: 20px;
    bottom: 0px;
    width: 100%;
    background: #fff;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 70px;
}

.main-content
{
    display: flex;
}

.main-content .box
{
    flex-basis: 50%;
    padding: 10px 20px;

}

.box h2
{
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.box .content
{
    margin: 20px 0 0 0;
}

.left .social
{
    margin: 20px 0 0 0;
}

.left .social a
{
    padding: 0 2px;
}

.left .social a span
{
    height: 40px;
    width: 40px;
    background: lightseagreen;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
}

.left .social a span:hover
{
    background: #f2520d;
}

