*{
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    scroll-behavior: smooth;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 8% 1rem;
    background: var(--second-bg-color);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.header li a img {
    height: 65px;
    width: 65px;
    border: transparent;
}

:root {
    --bg-color: #161515;
    --second-bg-color: rgba(49, 48, 48, 0.126);
    --text-color: white;
    --main-color: yellow;
}

.logo img{
    color: var(--text-color);
    cursor: pointer;
    transition: 0.8s ease;
    align-items: left;
    background: transparent;
    width: 11rem;
    padding-bottom: 0;
    margin:0;
}

.logo:hover{
    transform: scale(1.1);
}

.logo span{
    text-shadow: 0 0 25px var(--main-color);
}

.navbar ul {
    width: 100%;
    list-style: none;
}

.navbar a {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 5px solid transparent;
    padding: 10px 15px;
    font-family: comfortaa;
}

.navbar a:hover{
    padding: 20px 25px;
    color: var(--text-color);
}

.navbar a.active{
    color: white;
    border-bottom: 2px solid transparent;
}

.sidebar a {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 5px solid transparent;
    padding: 10px 15px;
    font-family: comfortaa;
    width: 100%;
}

.sidebar a:hover{
    padding: 20px 25px;
}

.sidebar ul {
    width: 100%;
    list-style: none;
    align-items: left;
}

.sidebar a.active{
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 35%;
    z-index: 999;
    backdrop-filter: blur(10px);
    background-color: var(--second-bg-color);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.122);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

body {
    background-color: var(--bg-color);
    width: 100%;
    height:100%;
    margin: 0px;
    padding:0px;
    color: white;
}

span {
 color: var(--main-color);
}

.about {
    padding-top: 160px;
}

.about p {
    font-family: comfortaa;
    margin-left: 52px;
    font-size: 1.2em; 
    line-height: 1.5em;
}

a {
    color: white;
    text-decoration: none;
}

h1 {
    font-family: Comfortaa;
    font-size: 6em;
    margin: 0;
}

h2 {
    font-family: Comfortaa;
    font-size: 3em;
    color: white;
    padding: 0;
    margin-left: 1em;
    margin-top: 0;
    margin-bottom: 0;
    color: white;
}

h3 {
    font-family: Comfortaa;
    color: #848686;
    font-size: 1.6em;
    margin-left: 2em;
}

.services {
    background: var(--bg-color);
    color: white;
    font-family: Comfortaa;
}

.services h2{
    margin-bottom: 0;
    color: white;
    padding-bottom:0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
    padding: 5rem;    
}

.service-box{
    background-color: transparent;
    height: 300px;
    border-radius: 1rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.service-box:hover{
    background: var(--bg-color);
    border: 5px solid var(--main-color);
    transform: scale(1.03);
    padding: 0.2rem;
}

.service-box .service-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: left;
    align-items: center;
    padding: 0.2rem;
    padding-bottom: 2rem 12%;
}

.service-info h4{
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    padding: 0;
    color: var(--main-color);
}

.service-info p{
    font-size: 1.2rem;
    font-weight: 2;
    max-height: 50px;
    line-height: 1.5;
    margin: auto;
}

.core-values {
    background: var(--bg-color);
    color: white;
    font-family: Comfortaa;
}

.core-values h2{
    margin-bottom: 0;
    color: white;
    padding-bottom:0;
}

.core-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
    padding: 5rem; 
    
}

.values{
    background-color: transparent;
    height: 300px;
    border-radius: 1rem;
    border: 5px solid transparent;
    cursor: pointer;
    transition: 0.4s ease-in-out;

}

.values:hover{
    background: var(--bg-color);
    transform: scale(1.03);
    padding: 0.2rem;
}

.values .core-info{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-height: 200px;
    justify-content: left;
    align-items: center;
    padding: 0.2rem;
    padding-bottom: 2rem 12%;
}

.core-info h4 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    padding: 0;
    color: var(--main-color);
}


.core-info p {
    font-size: 1.2rem;
    font-weight: 2;
    max-height: 50px;
    line-height: 1.5;
    margin: auto;
}

ul {
    position: sticky;
    display: flex;
    
}  

address a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

footer {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

address {
    margin : 15px;
}

.images {
    width :80%;
    height: auto;
    margin: 100px auto 100px;
    display: grid;
    grid-template-columns: repeat(autofit, minmax(350px, 2px));
    grid-gap: 30px;
    box-sizing: border-box;
}

.images img {
    width:100%;
    cursor:zoom-in;
}
.images img:hover {
    border: 5px solid white;
}

main {
    margin-left: 15px
}

.contacts {
    width: 600px;
    margin: 52px;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 20px;
}
.socials a img{
    padding:0;
}

input  {
    width: 100%;
    padding: 17px 20px;
    margin: 15px;
    margin-left: 0px;
    border:none;
    background-color: #222224;
    color: white; 
    font-family:Arial, Helvetica, sans-serif;
    font-size: 20px; 
    border-radius: 20px;
}

textarea {
    width: 100%;
    padding: 17px 20px;
    margin: 15px;
    margin-left: 0px;
    height:150px;
    box-sizing: border-box;
    border: none;
    background-color: #222224;
    resize: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px; 
    border-radius: 20px;
}

button[type = submit] {
    background-color: yellow;
    color:black;
    font-weight : bold;
    border-radius: 45px;
    width: 100%;
    padding: 17px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem; 
}

button[type = submit]:hover {
    background-color: var(--bg-color);
    color: yellow;
    border: 2px solid var(--main-color);
    border-radius: 65px;
    width: 100%;
    padding: 17px 20px;
}

input[type = checkbox] + label {
    display:block;
    margin-left:15px;
    cursor:pointer;
    padding:0;
    margin:0;
    margin-top:15px;
}

input[type = checkbox] {
    display:none;
}
.checkie {
    margin-bottom: 5em;
    padding-bottom: 8em;
}
   
input[type = checkbox] + label:before{
    content:"\2714";
    border: 0.1em solid yellow;
    border-radius : 0.2em;
    display: inline-block;
    text-align: center;
    width:1.1em;
    height:1.2em;
    padding-left:0.2em;
    padding-bottom:0;
    margin-right:0.2em;
    vertical-align: center;
    color:transparent;
    transition:0.2s;
}

input[type = checkbox] + label:active:before{
    transform: scale(0);
}

input[type = checkbox]:checked + label:before{
    background-color: yellow;
    color: black;
    text-align: center;
}

.contacts h3 {
    margin-left: 0;
}

.contacts h2 {
    margin-left:0px;
    margin: 0px 0px 50px;
}

.contacts p {
    font-size: 1.5em;
}

.social-icons {
    position: fixed;
    right: 5%;
    bottom: 5%;
    background: #1615151a;
    backdrop-filter: blur(10px);
    padding: 0.8rem;
    border-radius: 2rem;
}

.social-icons::before {
    content: "";
    height: 80%;
    height: 3px;
    position: absolute;
    top: 42%;
    left: -75%;
    background-color: blue;
    color: var(--main-color);
    background: #1615151a;
    backdrop-filter: blur(10px);
    padding: 0.8rem;
    border-radius: 2rem;
}

.social-icons i {
    margin-left:10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content:center;
    transform: 0.s;
}

.social-icons img {
    width: 45px;
    height: 45px;   
}

.social-icons p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem; 
}

.social-icons i:hover {
    transform: translateY(-5px);
}


#blessing{
    font-style: italic;
    font-size: 1.1rem;
}

footer {
    align-items: center;
}

@media (max-width: 950px) {
    
    .logo img{
        color: var(--text-color);
        cursor: pointer;
        transition: 0.8s ease;
        align-items: left;
        background: transparent;
        width: 12rem;
        padding-bottom: 0;
        margin:0;
    }
    
    .logo:hover{
        transform: scale(1.1);
    }
    
    .logo span{
        text-shadow: 0 0 25px var(--main-color);
    }

     #no-show {
        display: none;
    }

    .navbar {
        display: flex;
        font-family: Comfortaa;
        padding-left: 150px;      
        }
    
    .navbar a {
        font-size: 1.5rem;
        color: var(--text-color);
        font-weight: 500;
        transition: 0.3s ease;
        border-bottom: 5px solid transparent;
        padding: 1rem 2rem;
    }
    
    .navbar a:hover{
        padding: 20px 25px;
    }
    
    .navbar a.active{
        color: var(--main-color);
        border-bottom: 2px solid var(--main-color);
    }
    .services-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;   
    }

    .service-box .service-info{
        display: flex;
        flex-direction: column;
        text-align: left;
        max-height: 200px;
        justify-content: left;
        align-items: baseline;
        padding: 0.8rem;
        padding-top: 0;
        padding-bottom: 2rem 2rem 2rem;
    }

    .services h2{
        margin-bottom: 1rem;
        color: white;
        padding-top:0.8rem;
    }

    .values {
    padding-bottom: 2.5em;

    }
    .values:hover{
        background: var(--bg-color);
        transform: scale(1.03);
    }
    .values h4 {
        border-bottom:2px solid var(--main-color);
    }

    .core-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;   
    }

    .values .core-info{
        display: flex;
        flex-direction: column;
        text-align: left;
        max-height: 200px;
        justify-content: left;
        align-items: baseline;
        padding: 0.8rem;
        padding-top: 0;
        padding-bottom: 2rem 2rem 2rem;
    }

    .core-values h2{
        margin-bottom: 0;
        color: white;
        padding-top: 1rem;
    }

    .contacts h2{
        padding: 0;
    }

    .social-icons {
        background: #1615151a;
        backdrop-filter: blur(10px);
        padding: 0.8rem;
        border-radius: 2rem;
    }

}

@media (max-width: 800px) { 

    .navbar {
        display: flex;
        font-family: Comfortaa;
        padding-left: 120px;      
    }
    .services-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 6px));
        align-items: center;
        gap: 1.5rem;
        padding: 2.5rem;  
    }

    .core-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 6px));
        align-items: center;
        gap: 1.5rem;
        padding: 2.5rem;  
    }

    .header{
        background: var(--second-bg-color);
        margin: 0;
        width: 0;
        height: -50px;
        padding-right: 5px;
        margin-right: 15px;
        color: white;
        position: flex;
    }

    .about {
        padding-top: 190px;
        margin-bottom: 80px;
        margin-left: 25px;
    }

    .about p {
        font-family: Comfortaa;
        font-size: 1.2rem;
        font-weight: 2;
        max-height: -50px;
        line-height: 1.5;
        margin: auto; 
    }

    .about h2 {
        margin-bottom: 3rem; 
    }
    .social-icons p {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem; 
    }
}

@media (max-width:600px) {

    .navbar a {
        font-size: 1.3rem;
    }

    .contacts {
        align-items: center;
        width: 75%;
        margin: 52px;
        font-family:Arial, Helvetica, sans-serif;
        font-size: 20px;
    }

    .contacts h2 {
        font-size: 2.5rem;
    }

    .contacts h3 {
        font-size: 2.0rem;
    }

    .contacts p {
        font-size: 1.8rem;
        padding-bottom: 1rem;
    }

    .core-values h2 {
        font-size: 2.5rem;
    }

    .services h2 {
        font-size: 2.5rem;
    }

    #mission h2 {
        font-size: 2.5rem;
    }

    #beliefs h2 {
        font-size: 2.5rem;
    }
}

