/* color variables names */

:root {
    --ral1015: #E6D690;
    --ral1019: #9E9764;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--ral1015);
    font-size: 16px;
    margin: 0;
    padding: 0;
    /* width: 1500px; */
    /* height: 900px; */
    margin-left: auto;
    margin-right: auto;
}

.page {
    max-width: 2000px;
    margin: 0;
    position: relative;
}

.content {
    position: relative;
    max-width: 1400px;
    max-height: 820px;
    background-color: var(--ral1015);
    margin-left: auto;
    margin-right: auto;
  }

.title {
    font-size: 5em;
    color: var(--ral1019);
    text-shadow: 2px 2px 4px #000000;
    text-align: center;
    position:relative;
    top: 0px;
    padding: 0px;
}

.titleedit {
    font-size: 3em;
    color: var(--ral1019);
    text-shadow: 1px 1px 2px #000000;
    text-align: center;
    position:relative;
    top: 0px;
    padding: 0px;
}

.title a.logo {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 100px;
}

.year_group1 {
    background-color: var(--ral1019);
    color: var(--ral1015);
    border: 2px solid var(--ral1015);
    display: flex;
}

.year_group2 {
    background-color: var(--ral1015);
    color: var(--ral1019);
    border: 2px solid var(--ral1019);
    display: flex;
}

.year {
    font-size: 2em;
    text-align: right;
    position: relative;
    left: 0px;
    top: 0px;
    height: 383px;
    width: 80px;
}

.gallery_group {
    display: grid;
    grid-template-columns: auto auto auto auto;
    position: relative;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
}

.gallery {
    /* position: relative; */
    top: 0px;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}

.gallery_caption {
    background-color: white;
    color: black;
    font-size: 1em;
    padding: 20px;
    width: 400px;
    text-align: left;
    text-decoration: none;
    word-wrap: normal;
}

.smallvideo {
    height: 293px;
    width: 400px;
    padding-left: 0px;
    border: 0px solid white;
    object-fit: contain;
    background-color: black;
}

.bigvideo {
    position:relative;
    display:flex;
    max-height: 720px;
    max-width: 1400px;
    object-fit:contain;
    border: 0px solid white;
    margin-left: auto;
    margin-right: auto;
}


.pic {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 0px;
    display: block;
    height: 100px;
    width: auto;
    padding-left: 0px;
    border: 0px solid white;
}

.smallpic {
    position: relative;
    z-index: 1;
    top: 0px;
    display: block;
    height: 295px;
    width: 400px;
    object-fit: scale-down;
    padding-left: 0px;
    border: 5px solid white;
    background-color: black;
    /*transition: .3s;*/
}


.bigpic {
    position:relative;
    display:flex;
    max-height: 720px;
    max-width: 1400px;
    width: auto;
    object-fit:contain;
    border: 0px solid white;
    margin-left: auto;
    margin-right: auto;
}

.pictext {
    position: relative;
    display:flex;
    flex-direction: column;
    bottom: 10px;
    max-width: 920px;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFF;
    z-index: 3;
}

.cr {
    font-size: 10px;
}

.description{
    font-size: 18px;
    color: black;
    text-align: left;
    vertical-align: center;
}

.textinput{
    width: 920px;
    height: 45px;
    padding-left: 5px;
    font-size: 20px;

}

.inputform{
    display:flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    align-items: center;

}

.pic:hover {
    border: 0px solid black;
}

.pic__group {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.button{
    position: absolute;
    top: 25px;
    left: 1%;
    border: none;
    font-size: 16px;
    color: #FFF;
    padding: 8px 16px;
    background-color: var(--ral1019);
    border-radius: 6px;
    margin-top: 0px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.email_button{
    position: absolute;
    top: 75px;
    left: 1%;
    border: none;
    font-size: 16px;
    color: #FFF;
    padding: 8px 16px;
    background-color: var(--ral1019);
    border-radius: 6px;
    margin-top: 0px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.savebutton{
    position: relative;
    border: none;
    font-size: 16px;
    color: #FFF;
    padding: 8px 16px;
    background-color: var(--ral1019);
    border-radius: 6px;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover{
    background: #59595a;
}

.savebutton:hover{
    background: #59595a;
}

.swiper-button-next::after,
.swiper-button-prev::after{
    color: black;
    top: 250px;
}


@media screen and (max-width: 1800px) {

    .gallery_group {
        display: grid;
        grid-template-columns: auto auto auto;
    }
}

@media screen and (max-width: 1420px) {

    .gallery_group {
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .gallery {
        /* position: relative; */
        padding: 2px;
    }

    .smallpic {
        height: 235px;
        width: 360px;
    }

    .smallvideo {
        height: 235px;
        width: 360px;
    }

    .gallery_caption {
        width: 360px;
    }
 
    .bigpic {
        max-height: 600px;
        max-width: 1200px;
    } 

    .bigvideo {
        height: 600px;
        width: 1200px;
    }
    
    .pictext {
        max-width: 600px;
    }
    .description{
        font-size: 16px;

    }
    .title {
        margin-top: 0px;
        text-align: center;
        font-size: 3.5em;
        font-weight: bold;
        text-shadow: none;
    }
    .button{
        top: 15px;
    }    

}

@media screen and (max-width: 1200px) {

    .gallery_group {
        display: grid;
        grid-template-columns: auto auto ;
    }
    .bigpic {
        max-height: 400px;
        max-width: 800px;
    } 
    .bigvideo {
        height: 400px;
        width: 800px;
    }
    .pictext {
        max-width: 600px;
    }
    .description{
        font-size: 16px;
    }

}


@media screen and (max-width: 800px) {
    .title {
        font-size: 1.5em;
        font-weight: bold;
        text-shadow: none;
        margin-top: 0px;
    }

    .gallery_group {
        display: grid;
        grid-template-columns: auto;
    }

    .smallpic {
        height: 270px;
        width: 360px;
    }

    .smallvideo {
        height: 270px;
        width: 360px;
    }

    .bigpic {
        max-height: 450px;
        max-width: 420px;
    }
    .bigvideo {
        height: 450px;
        width: 420px;
        object-fit: cover;
    }
    
    .pictext {
        max-width: 420px;
    }
    .button{
        top: 5px;
        font-size: 10px;
        padding: 4px 8px;
    } 
}

@media screen and (max-width: 450px) {

    .gallery_group {
        display: grid;
        grid-template-columns: auto;
    }

    .smallpic {
        height: 240px;
        width: 320px;
    }

    .smallvideo {
        height: 240px;
        width: 320px;
    }

    .gallery_caption {
        width: 320px;

    }
    .bigpic {
           max-width: 380px;
    }

    .bigvideo {
        max-width: 380px;
    }
    
    .pictext {
        max-width: 380px;
    }
}

@media screen and (max-height: 740px) {
    .title {
        font-size: 2em;
        font-weight: bold;
        text-shadow: none;
        margin-top: 0px;
    }
    .smallpic {
        height: 270px;
        width: 360px;
    }

    .smallvideo {
        height: 270px;
        width: 360px;
    }

    .bigpic {
        max-height: 450px;
       
    }
    .bigvideo {
        max-height: 450px;
    }
    .button{
        top: 0px;

    } 
}

@media screen and (max-height: 500px) {

    .bigpic {
        max-height: 250px;
       
    }
    .bigvideo {
        max-height: 250px;
    }

}