:root{
    --scrollPercent: 0%;
}
body{
    margin: 0;
    height: 100svh;
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}
h1{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: xx-large;
    color: white;
    border-bottom-color: white;
    border-bottom-width: 3em;
    border-left-color: white;
    border-left-width: 5em;
    border-bottom-left-radius: 10px;
    padding: 3px;
    text-shadow: 0 0 5px black;
}
p{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: medium;
    flex-grow: 1;
}
a{
    text-decoration: none;
    font-weight: 500;
    color: rgb(40, 0, 73);
}
a:hover{
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    color: rgb(38, 0, 207);
}
#contentMaster{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#footer{
    width: 100%;
    border-top: 2px solid orange;
    background-color: rgb(20, 20, 20);
    justify-self: start;
    user-select: none;
}
#footer p{
    font-size: small;
    margin: 0;
    padding: 10px;
    color:white;
    font-style: italic;
}

#header{
    width: 100%;
    height: 8%;
    max-height: 8%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    justify-self: flex-start;
    background-image: url("./pics/Wave.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    animation: headerAnim 60s ease-in-out infinite;
    background-position-x: center;
}
@keyframes headerAnim {
    0%{
        background-position-y: 60%;
        background-size: 100% 1000%;
    }
    25%{
        background-position-y: 80%;
        background-size: 110% 1200%;
    }
    50%{
        background-position-y: 100%;
        background-size: 120% 1300%;
    }
    75%{
        background-position-y: 80%;
        background-size: 110% 1200%;
    }
    100%{
        background-position-y: 60%;
        background-size: 100% 1000%;
    }
}
#aCel{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 10%;
    color:white;
    font-style: italic;
    font-weight: bold;
    font-size: 2.2em;
    text-shadow: 0 0 3px white;
}
.headerButton{
    background: transparent;
    padding: 5px;
    border: 0;
    color: white;
    text-shadow: 0 0 2px black;
    font-size: 1.8em; 
    border-width: 0; 
    border-color: white;
    border-style: double;
    border-radius: 10px;
    transition: font-size 0.3s ease-out, text-shadow 0.15s ease-in, border-width 0.5s ease-out, box-shadow 0.6s linear;
    cursor: pointer;
}
.headerButton:hover{
    font-size: 2em;
    text-shadow: 0 0 5px black;
}
.headerButton.active{
    border-width: 5px;
    box-shadow: inset 0 0 10px rgba(22, 189, 255, 0.5);
}
#contentContainer{
    width: 100%;
    height: 100svh;
    overflow-y: auto;
    overflow-wrap: break-word;
    background-image: url("./pics/swimming-pool-g717f45121_1920.jpg");
    background-size: 100% 125%;
    background-position-y: var(--scrollPercent);
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contentContainer::-webkit-scrollbar {
    display: none;
}
  
#contentContainer {
    -ms-overflow-style: none;
    scrollbar-width: none; 
}
#contentMaster .textBox p{
    margin: 0;
    text-shadow: 0 0 3px white;
    flex-grow: 10;
    line-height: 140%;
}
#contentMaster .textBox{
    display: flex;
    align-items: center;
}
#contentMaster :nth-child(2n+1) .textBox {
    background: linear-gradient(to right, white 80%, transparent);
    padding-left: 1%;
}
#contentMaster :nth-child(2n) .textBox {
    background: linear-gradient(to left, white 80%, transparent);
    text-align: right;
    padding-right: 1%;
}
.portfolioContainer{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: 4%;
    opacity: 0;
}
.portfolioContainer:nth-child(2n-1){
    transform: translateX(300px);
}
.portfolioContainer:nth-child(2n){
    transform: translateX(-300px);
}
.portfolioContainer.active{
    transform: translateX(0);
    opacity: 1;
}
.reveal{
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-in;
}
.reveal.active{
    transform: translateY(0);
    opacity: 1;
}
.portfolioPic{
    min-height: 200px;
    min-width: 200px;
    flex-shrink: 0;
    box-shadow: 0 0 5px white;
    /* Itt ezt meg kell oldani sokkal dinamikusabbra, de egynek elmegy */
    background-repeat: no-repeat;
    background-size: cover;
}
.tamasEsMate{
    background-image: url("./pics/tamas-es-mate.jpg");
}
.tamasAVizben{
    background-image: url("./pics/tamas-a-vizben.jpg");
}
.gyorgyi{
    background-image: url("./pics/gyorgyi.jpg");
}
.tamas{
    background-image: url("./pics/tamas.jpg");
}
.aniko{
    background-image: url("./pics/aniko.jpg");
}

.professional{
    background-image: url("./pics/professional.jpg");
}
.gyerekekkel{
    background-image: url("./pics/tamas-vizben-gyerekekkel.jpg");
}

.bigPicture{
    height: 600px;
    width: 80%;
    min-width: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 2px 2px 10px white;
    margin-top: 40px;
    margin-bottom: 10px;
}

.grid {
    display: grid;
    border-radius: 20px;
    box-shadow: 2px 2px 3px white;
    grid-template-columns: max-content;
    background-color: rgba(0, 153, 255, 0.575);
}
.gridTwoColumns{
    grid-template-rows: 2;
}
.gridColumnOne{
    text-align: right;
    grid-column: 1;
    background-color: rgba(245, 245, 245, 0.616);
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    border-collapse: collapse;
}
.gridColumnThree{
    border-bottom: 1px solid black;
    border-collapse: collapse;
    grid-column: 2;
}
.gridColumn, .gridColumnOne, .gridColumnThree, .gridColumnTwo{
    padding: 10px;
}

.gridLastRow{
    border-bottom: none;
    border-bottom-left-radius: 20px;
}

.gridFirstRow{
    border-top-left-radius: 20px;
}

.gradientSimmetricBackground{
    padding: 20px;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(179,179,179,0.7035189075630253) 50%, rgba(255,255,255,0.8) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(179,179,179,0.7035189075630253) 50%, rgba(255,255,255,0.8) 100%);
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(179,179,179,0.7035189075630253) 50%, rgba(255,255,255,0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    border-radius: 10px;
}