body {
    background-color: black;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

hr {
    width: 100%;
}

a {
    color: white;
}


header {
    background-color: black;
    width: 100%;
}

.pagrindinis {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: auto;
    padding-inline: 100px;
}

.informacija {
    display: flex;
    text-align: center;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-right: 70px;
    white-space: normal nowrap;
}

.informacija a {
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid white;
    padding: 20px;
    font-size: 25px;
    padding-left: 20px;
    transition: 0.3s;
}

.informacija a {
    transition: 0.3s;
}

.informacija a:hover {
    scale: 110%;
}

.informacija a:hover {
    background-color: white;
    color: black;
}

.pressed {
    background-color: white;
    color: black;
}




.pirmas {
    position: relative;
    height: 500px;
    background-image: url(/media/background.jpg);
    background-size: 100%;
}

.info {
    color: white;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    gap: 200px;
    height: 100%;
}

.apiemus {
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-shadow: 2px 2px 10px rgb(0, 0, 0, 0.5);
}

.apiemus:hover {
    scale: 102%;
}



.kontaktai {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    justify-content: center;
    text-align: left;
    font-size: 25px;
    color: white;
    transition: 0.3s;
}


.kontaktas {
    padding: 8px;
    border: 1px solid;
    transition: 0.3s;
}

.kontaktas a {
    text-decoration: none;
    padding-left: 20px;
}

.kontaktas i {
    text-align: center;
    padding: 5px;
}

.kontaktas:hover {
    background-color: white;
    color: black;
    scale: 105%;
}



.antras {
    background-color: white;
    color: black;
}

.antras h1 {
    text-align: center;
}

.info2 {
    padding: 20px;
    position: relative;
    display: grid;
    gap: 10px;
    margin: auto;
    width: 90%;
}

.apsauga {
    position: relative;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    gap: 10px;
    transition: 0.3s;
}

.apsauga:hover {
    scale: 101%;
}

.apsauga h1 {
    text-align: center;
}

.apsauga .content {
    width: 500px;
    padding: 20px;
}

.apsauga img {
    width: 100%;
}

.apsauga .kameraft {
    width: 50%;
}

footer {
    position: relative;
    height: 200px;
    color: white;
}

.pavadinimasFooter {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    font-size: 40px;
}

.pagrindinisFooter {
    position: relative;
    top: 50%;
    display: flex;
    justify-content: center;
}

.informacijaFooter {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: row;
    white-space: normal nowrap;
}

.informacijaFooter a {
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid white;
    padding: 20px;
    font-size: 25px;
    padding-left: 20px;
    transition: 0.3s;
}

.informacijaFooter a {
    transition: 0.3s;
}

.informacijaFooter a:hover {
    scale: 110%;
    background-color: white;
    color: black;
}







.kontaktu {
    padding-left: 10%;
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    background-color: white;
    height: 900px;
}

.kontaktuinfo {
    font-size: 40px;
    margin: 0;
    position: relative;
}
.kontaktuinfo div {
    display: inline;
}

.apie {
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    width: 90%;
    padding: 10px;
    text-align: center;
    font-size: 40px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.5);
}

.fonas {
    background-image: url(/media/pexels-fauxels-3184465.jpg);
    background-size: 2800px;
    background-position: top;
}

.nuotraukos {
    background-color: white;
}

.nuotraukos .nuotrauka {
    padding: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    
}

.nuotraukos img {
    width: 500px;
    height: 500px;
    transition: 0.3s;
    box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.5);
}

.nuotraukos img:hover {
    scale: 110%;
}

@media screen and (max-width: 1200px) {
    .pagrindinis {
        flex-direction: column;
        padding-inline: 0px;
    }

    .pavadinimas {
        display: flex;
        justify-content: center;
    }

    .informacija {
        padding-block-end: 90px;
        gap: 50px;
        padding-right: 0px;
    }

    .informacija a {
        width: 130px;
    }

    .info {
        gap: 5%;
        white-space: nowrap;
    }

    .pavadinimasFooter {
        margin: 0;
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 30px;
    }
    .apie {
        font-size: 180%;
    }
    .kontaktu {
        height: 1200px;
    }
    .kontaktuinfo {
        white-space: nowrap;
    }
    .kontaktuinfo div {
        display: block;
    }
}

@media screen and (max-width: 700px) {
    .pavadinimas video {
        width: 450px;
    }

    .informacija {
        flex-direction: column;
    }

    .informacijaFooter {
        flex-direction: column;
        gap: 50px;
    }

    .apsauga .content {
        width: 100%;
    }

    .apsauga .kameraft {
        width: 100%;
    }
    .kontaktu {
        justify-content: center;
    }
    .kontaktuinfo {
        font-size: 200%;
    }
    .nuotraukos .nuotrauka img{
            width: 350px;
            height: 350px;
    }
}