@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --atlatszo-fekete: rgba(0, 0, 0, 0.5);
    --atlatszo-feher: rgba(255, 255, 255, 0.2);
    --atlatszo-zold: rgba(21, 124, 21, 0.432);
    
    --box-szin: rgb(0, 0, 0);
    --box-shadow: 0 1rem 2rem var(--box-szin);
    --box-szin2: rgba(255, 255, 0, 0.719);
    --box-shadow2: 0 1rem 2rem varvar(--box-szin2);
    --box-szin3: rgba(255, 255, 255, 0.18);
    --box-shadow3: 0 1rem 2rem var(--box-szin3);
}

.connectDiv{
    margin-top: 20%;
    margin-left: 8px;
    opacity: 1;
    transition: opacity 0.3s linear;
}

.connectH1{
    font-size: 3rem;
    animation: connectH1 4s linear infinite ;
    font-family:Arial, sans-serif;
    font-weight: bold;
    color: #fff;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 2rem 0;
    letter-spacing: 3px;
}

@keyframes connectH1{
    0%{
        font-size: 45px;
    }
    50%{
        font-size: 50px;
    }
    100%{
        font-size: 45px;
    }
}

.connectIcon{
    font-size: 40px;
    margin-right: 20px;
    padding: 3px;
    align-items: center;
    margin-top: 0.4%;
    cursor: pointer;
    animation: connectIcondeeping 0.5s linear;
}

@keyframes connectIcondeeping{
    0%{
        margin-top: 0.4%;
    }
    50%{
        margin-top: 1.6%;
    }
    100%{
        margin-top: 0.4%;
    }
}
.connectLepesek h2{
    margin-top: auto;
    margin-bottom: 5px;
    height: auto;
    width: 800px;
    align-items: center;
    font-size: 20px;
    height: 3rem;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
}

.connectSzoveg {
    opacity: 1;
    display: flex;
    justify-content: center;
    transition: opacity 1s ease-out;
}

.connectSzoveg.show {
    opacity: 1;
    left: 0;
}

.connectLepes {
    position: relative;
    opacity: 0;
    display: flex;
    left: -700px;
    flex-direction: column;
    height: auto;
    background: rgb(2, 134, 9);
    border-radius: 10px 13px;
    transition: max-width 0.5s ease;
    padding: 5px 10px 3px;
}

.connectLepes:nth-child(2), .connectLepes:nth-child(4) {
    left: 700px;
}



@property --borderAnim1 {
    syntax: "<angle>";
    initial-value: 278deg;
    inherits: false;
}
@property --borderAnim2 {
    syntax: "<angle>";
    initial-value: 100deg;
    inherits: false;
}

.connectLepes:nth-child(1):after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--borderAnim1), transparent 95%, white);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    padding-top: 4px;
    padding-right: 4px;
    padding-left: 4px;
    border-radius: 10px 13px;
}

.connectLepes:nth-child(1):before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--borderAnim2), transparent 95%, white);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    padding-top: 4px;
    padding-right: 4px;
    padding-left: 4px;
    border-radius: 10px 13px;
}

.connectLepes:nth-child(1).borderAnim::after, .connectLepes:nth-child(1).borderAnim::before {
    width: 0;
    height: 0;
}

.connectLepes:nth-child(1)::after,
.connectLepes:nth-child(1)::before {
    animation: none;
    animation-play-state: paused;
}


.connectLepes:nth-child(1):hover::after {
    animation: 1.5s borderAnim1 cubic-bezier(0.33, 0, 0.67, 1);
    animation-play-state: running;
}

.connectLepes:nth-child(1):hover::before {
    animation: 1.5s borderAnim2 cubic-bezier(0.33, 0, 0.67, 1);
}

.connectLepes:nth-child(1):not(:hover)::after {
    animation: 1.5s borderAnimReverse1 cubic-bezier(0.33, 0, 0.67, 1);
}

.connectLepes:nth-child(1):not(:hover)::before {
    animation: 1.5s borderAnimReverse2 cubic-bezier(0.33, 0, 0.67, 1);
}




@keyframes borderAnim1 {
    from {
        --borderAnim1: 278deg;
    }
    to {
        --borderAnim1: 460deg;
    }
}

@keyframes borderAnim2 {
    from {
        --borderAnim2: 100deg;
    }
    to {
        --borderAnim2: 278deg;
    }
}

@keyframes borderAnimReverse1 {
    from {
        --borderAnim1: 460deg;
    }
    to {
        --borderAnim1: 278deg;
    }
}

@keyframes borderAnimReverse2 {
    from {
        --borderAnim2: 278deg;
    }
    to {
        --borderAnim2: 100deg;
    }
}

.connectLepes.show {
    opacity: 1;
    left: 0;
    transition: opacity 1.5s linear,
    left 1.5s linear;
}

.hide {
    font-family: "Kanit", sans-serif;
    font-size: 18px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s ease-in-out, margin .5s ease-in-out, padding .5s ease-in-out, border .5s ease-in-out;
    text-align: center;
    margin: 2rem;
    padding: 5px;
    border: 1px white solid;
    border-radius: 7px;
    width: 40%;
    height: 20%;
}

.hideCsik{
    background-color: white;
    width: 1px;
    height: 18px;
}

.downloadArrow {
    transform: rotate(90deg);
    transition: transform 0.5s ease-in-out;
    font-size: 45px;
    color: rgb(255, 255, 255);
    vertical-align: middle;
    margin-left: 1rem;
    margin-bottom: 10px;
    display: inline-block;
}

.downloadOpciok {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    display: none;
}

.downloadButton {
    border: white 1px solid;
    border-radius: 5px;
    background-color: transparent;
    margin: 10px 1rem;
    font-size: 16px;
    padding: 2px 0;
    font-family: "Kanit", sans-serif;
    transition: background-color 0.7s;
}

.downloadButton:hover{
    background-color: var(--atlatszo-feher);
    transition: background-color 0.7s;
}

.ipButton {
    font-size: 1.3rempx;
    border: white 1px solid;
    border-radius: 5px;
    width: auto;
    padding: 3px;
    margin-left: 5px;
    transition: background-color 0.2s ease-in-out, width 0.3s ease-in-out;
}

.ipButton:nth-child(1) {
    border: none;
    padding: 0;
    margin: 0;
    transition: none;
}

.ipButton:hover {
    background-color: var(--atlatszo-feher);
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .connectH1 {
        font-size: 40px;
    }
    .connectIcon {
        font-size: 20px;
        margin-right: 10px;
    }
    .connectLepes {
        margin-right: 10%;
        width: 90%;
    }
    .downloadButton {
        max-width: 80%; 
    }
    .ipButton{
        padding: 3px;
    }
    .downloadArrow{
        font-size: 40px;

    }
    .hide{
        font-size: 15px;
        padding: 5px 5px 15%;
    }
}




.connectDiv2 {
    margin-top: 20%;
    display: none;
}

.connectSzoveg{
    display: flex;
}

.connectLepesek2 {
    opacity: 1;
    display: flex;
    flex-direction: column;
}

.connectLepes2 {
    position: relative;
    opacity: 0;
    background-color: var(--atlatszo-feher);
    left: -400px;
    margin-right: 40px;
    padding: 5px 5px 5px;
    border-radius: 15px 15px 5px 15px;
    margin-bottom: 15px;
}

.connectLepes2.show {
    opacity: 1;
    left: 10px;
    transition: opacity 1.5s linear,
    left 1.5s linear;
}

.connectLepes2:nth-child(3) {
    border-radius: 15px 5px 5px 15px;
}

.connectLepes2:nth-child(4) {
    border-radius: 15px 5px 15px 15px;
}

.connectLepes2 h2 {
    font-size: 18px;
    font-family: 'Kanit';
    font-weight: 500;
    margin: 0;
    line-height: 32px;
}

.connectIcon2 {
    font-size: 30px;
    margin-right: 10px;
    padding: 3px;
    align-items: center;
}

.connectH1_2 {
    font-size: 2.5rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #fff;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 2rem 0;
    letter-spacing: 3px;
}

.downloadOpciok2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--atlatszo-fekete);
    margin-bottom: 50px;
    margin-right: 3rem;
    margin-left: 2rem;
    opacity: 0;
    transform: translateY(-60px);
    border-radius: 5px 5px 15px 15px;
}

.downloadOpciok2.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s linear,
    transform 1s linear;
}

.hideCsik2 {
    background-color: white;
    width: 100px;
    height: 1px;
    position: relative;
}

.downloadOpcio2 {
    display: flex;
    flex-direction: column;
    width: 85%;
    height: auto;
    font-family: "Kanit", sans-serif;
    font-size: 18px;
    text-align: center;
    border: 1px white solid;
    border-radius: 7px;
    padding: 5px;
}

.downloadButton2 {
    border: white 1px solid;
    border-radius: 5px;
    background-color: transparent;
    margin: 10px 3rem;
    font-size: 16px;
    padding: 2px 0;
    font-family: "Kanit", sans-serif;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.1s, background-color 0.5s;
}

.downloadButton2:hover {
    background-color: var(--atlatszo-feher);
    transition: background-color 0.5s;
}

.downloadButton2:active {
    transform: scale(0.9);
    transition: transform 0.1s;
}

.ipButton2 {
    border: white 1px solid;
    border-radius: 5px;
    padding: 2px;
    margin-left: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease-in-out;
}

.ipButton2:hover {
    background-color: var(--atlatszo-feher);
}

@media screen and (max-width: 900px) {
    .connectDiv {
        display: none;
    }
    .connectDiv2 {
        display: block;
    }
}

@media screen and (max-width: 630px) {
    .ipButton2{
        margin-left: 40px;
    }
    .downloadButton2{
        margin: 10px 1rem;
    }
}