
/* ---------- Шрифты ----------*/

@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');




h1{
font-size: 200%;
font-weight: 700;
padding-top: 20px;
text-align: center;
color: #433a37;
font-family: "Philosopher", serif; 
}

h2{
font-weight: 400;
padding-top: 40px;
font-size: 130%;
font-weight: 600;
font-family: "Raleway", serif;
text-align: center; 

}


.btn-new {
    border-radius: 10px;
    color: white;
    transition: .2s linear;
    background: #604651;
	width: 200px;
	height: 30px;
	padding: 10px;
}

.btn-new:hover {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #604651;
}

.textB{
font-weight: 600;
padding-top: 20px;
font-size: 120%;
}

a {
font-weight: 400;
letter-spacing: 2px;
text-decoration: none;
}



:root{
    --white: #FFF;
    --black: #604651;
    --grey:  #aa919b;
}

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p{
margin-top: 10px;
margin-bottom: 10px;
}

ul{
    list-style: none;
}

body{
font-family: "Raleway", serif; 
font-weight: 400;
font-style: normal;	
}

/* Header */
.header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: sticky;
    top: 0;
    width: 100%;     	
    }

.main{
    color: #292b2d;				
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
    background: repeat url("img/fon.jpg");
    /*background-position: center;
    background-color: #ccccce;
    background: linear-gradient(to right, #fce5fc, #FFF);*/
        
}

.footer{
    background-color: var(--black);
    width: 100%;
    color: var(--white);
    padding: 5px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    display: flex;
    font-size: 100%;
}	

.section{	
    max-width: 600px;	
   /* background: rgba(255,255,255,0.2);*/
    padding-left: 10px;
    padding-right: 10px;
}

.boxtext,
.boxtextLi{	
    padding:10px;
     /*font-weight: 200;*/
    background: rgba(255,255,255,0.6);
	
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.boxtextLi p{	
   display: list-item;
   margin-left: 20px;
}

.boxtextLi p::marker {
    color: #604651;
    font-size: 120%;
    
}


.boximg img{	
    width: 100%;
    border-radius: 10px;	
}

.boximg {	
    /*background: linear-gradient(to bottom, #FEE7EF, #FFF);*/	
    /*background-color: var(--black);*/
    margin-top: 20px;
    
}


/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    margin-left: 10px;

}

/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;    
}

.menu a{
    display: block;
    padding-left: 10px;
    padding-bottom: 30px;
    padding-right: 10px;
    padding-top: 30px;
    
    color: var(--white);

}

.menu a:hover{
    background-color: var(--grey);
}





.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}



.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}


.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}



.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}



.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu2:cl ~ nav{
    max-height: 100%;
}


.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}

.side-menu:a:after{
    transform: rotate(45deg);
    top:0;        
    }

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

#contacts a{
    display: block;
    width: 100%;	
    align-items: center;
    display:flex;
}

#contacts a:hover{
    color: var(--grey);
}

#contacts img{
    display: block;
    width: 50px;
    padding-right: 10px;	
}

#sb img{
    
    width: 50px;
    	
}

@media (min-width: 768px){
    h1{
    font-size: 200%;
    }
    
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        width: fit-content;
        background-color: transparent;
        margin-left: 30px;
    }
    
    .logo{
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    margin-left: 10px;
    position: relative;
    
}

.header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: sticky;
    top: 0;
    display:flex;
    width: 100%;
    justify-content: center;
    align-items: center;	
}
    
    
    
    .menu li{
        float: left;
    }
    
    

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
        
    .hamb{
        display: none;
    }

}