body{
    width: 1500px;
    margin: 50px auto;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    background-color: rgb(237, 237, 237);
    transition: all 0.5s ease;
    background-image: url(/assets/img/template.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    body{
        margin: 5%;
        width: 380px;}

        div#toc-left{
            width: 100%;
        }
        section#content-home{
            display: flex;
            flex-direction: column;
        }
        div#main-content
        {
            width: 94%;
            margin:0% 0% 0% 0%;
        }
        section#kraje{
            display:block;
        }
        div.kraj-div{
            width: 100%;
            float:left;
            color:white;
            margin: 1% 0% 5% 0%;
        }
        div#header{
            width: 100%;
            margin:0% 2% 0% 1%;
            padding:10px 20px 0px 7px;
        }
        section#main-section{
            margin:0% 0% 0% 3%;
            padding-right: 20px;
            width:94%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: top;
        }
        div.h1-div{
            width: 94%;
            padding:20px 20px 20px 20px;
            border-radius: 0px 50px 0px 10px;
        }
        div.h1-div:hover{
            border-radius: 0px 50px 0px 10px;
        }
        div.h1-div h1{
            font-size:40px;
            line-height: 1;
        }
        .row2{
            margin-bottom: 2%;
        }
        img.img-content{
            height: 300px;
        }

        .h1-div p{
            font-size:14px;
        }

        div#header-content{
            background:linear-gradient(135deg, rgb(162 35 35) 0%, rgb(203 43 176) 40%, rgb(255, 255, 255) 40%);
        }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    body{
        width: 650px;}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    body{
        width: 900px;}
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    body{
        width: 1000px;}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    body{
        width: 1200px;}
}

/* Extra large devices (large, 1400px and up) */
@media only screen and (min-width: 1400px) {
    body{
        width: 1400px;}
}

header{
    text-align: right;
    transition: all 0.5s ease;
}
#header-content{
    background: rgb(2,0,36);
    background: linear-gradient(135deg, rgb(162 35 35) 0%, rgb(203 43 176) 61%, rgb(255, 255, 255) 61%);
    padding: 10px 20px 10px 20px;
    border-radius: 10px 10px 0px 0px;
    transition: all 0.5s ease;
}

#header-content:hover{
    border-radius: 20px 20px 0px 0px;
}

header a{
    text-decoration: none;
    color:black;
    font-weight: 600;
}

header a:hover{
    text-decoration: underline;
}

footer{
    padding: 1%;
    border-radius: 10px;
    margin: 20px 20px 10px 20px;
}

#main-section{
    padding: 200px 0px 0px 0px;
    border:1px solid rgba(206, 206, 206, 0.405);
    border-radius: 0px 0px 10px 10px;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    background-image:url(/assets/img/1152.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    filter: grayscale(1);
}

#main-section:hover{
    border-radius: 0px 0px 20px 20px;
}

#content-home{
    display: flex;
}

.h1-div{
    padding: 20px 50px 20px 20px;
    width: 50%;
    background-color:white;
    border-radius: 0px 200px 0px 10px;
    transition: all 0.5s ease;
    box-shadow: 7px -8px 50px 6px #59595945;
}

.h1-div:hover{
    border-radius: 0px 200px 0px 20px;
}

#toc-left{
    width: 25%;
    float:left;
    padding: 2px 20px 20px 20px;
}

.div-toc{position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 5%;
}

#toc-left li{
    margin-top: 10px;
}

#toc-left > div>ol > li > a{
    color:black;
}

#toc-left > div> ol > li > a:hover{
    color:#cb2bb0;
}

#main-content{
    width: 85%;
    float:left;
    padding: 20px 20px 20px 20px;
    border:1px solid rgba(206, 206, 206, 0.405);
    border-radius: 10px;
    transition: all 0.5s ease;
}

#main-content:hover{
    border-radius: 20px;
}

h1{
    font-size:40px;
    font-weight: 700;
    margin:0;
}

h2{
    font-size:30px;
    font-weight: 600;
    margin:0;
    line-height: 1;
}

.row1, .row2{
    display: flex;
}

.row2{
    margin:1% 0% 5% 0%;
}

.kraj-div{
    width: 33.3333%;
    float:left;
    color:white;
    margin-right: 1%;
}

.img-kraj{
    width: 100%;
    border-radius: 10px 10px 10px 10px;
    height: 200px;
    object-fit: cover;
}

.opis-kraju{
    background-color: #292929;
    padding:20px 20px 10px 20px;
    border-radius: 10px 10px 10px 10px;
    transition: all 0.5s ease;
}

.opis-kraju:hover{
    background-color: #161616;
}

.kraj-div p{
    font-size:12px;
    font-weight: 200;
}

.kraj-div h3{
    margin:0;
    font-weight: 500;
}

.kraj-div{
    filter:grayscale(0);
    transition: all 0.5s ease;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.kraj-div:hover{
    filter:grayscale(1);
    border-radius: 20px;
}

/* .kraj-div.czechy{
    background-image:url(/aborcja-za-granica.pl/assets/img/czechy-v1.png);
}

.kraj-div.slowacja{
    background-image:url(/aborcja-za-granica.pl/assets/img/slowacja-v1.png);
}

.kraj-div.niemcy{
    background-image:url(/aborcja-za-granica.pl/assets/img/niemcy-v1.png);
}

.kraj-div.holandia{
    background-image:url(/aborcja-za-granica.pl/assets/img/czechy-v1.png);
}

.kraj-div.austria{
    background-image:url(/aborcja-za-granica.pl/assets/img/slowacja-v1.png);
}

.kraj-div.uk{
    background-image:url(/aborcja-za-granica.pl/assets/img/niemcy-v1.png);
} */

.img-content{
    width: 100%;
    border-radius: 10px;
    transition: all 0.5s ease;
    height: 600px;
    object-fit: cover;
    margin:2% 0% 2% 0%;
}

.img-content:hover{
    border-radius: 20px;
}

.color-p{
    color:#cb2bb0;
    font-size: 18px;
}

.color-h{
    color:#cb2bb0;
}

#main-content a{
    color:#cb2bb0;
}

summary:hover{
    cursor: pointer;
}

/* a:hover{
    cursor: pointer;
} */