
.index-page section {
    margin: 10px 0px;
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    padding: 0px 20px 80px 20px;
    box-sizing: border-box;
}

    .index-page section:nth-of-type(1) {
        padding-bottom: 0px;
        margin-bottom: 0px;
        align-items: end;
    }

        .index-page section:nth-of-type(1) .image img {
            border: 5px solid #092834;
            border-bottom: none;
            border-radius: 30px 30px 0px 0px;
            -webkit-box-shadow: 0px 0px 240px 18px rgba(46,98,255,0.4);
            -moz-box-shadow: 0px 0px 240px 18px rgba(46,98,255,0.4);
            box-shadow: 0px 0px 240px 18px rgba(46,98,255,0.4);
        }

        .index-page section:nth-of-type(1) .text {
            margin-bottom: 60px;
        }

            .index-page section:nth-of-type(1) .text p {
                font-size: x-large;
            }
        
.index-page .text {

    height: 100%;
}

    .index-page .text.zig {
        order: 0;
        padding-left: 5%;
    }

    .index-page .text.zag {
        order: 1;
        padding-right: 5%;
    }

        .index-page .text.zag p{
            text-align: right;
        }

    .index-page .image {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .index-page .image.zig {
        order: 1;
        margin-right: 40px;
    }

    .index-page .image.zag {
        order: 0;
        margin-left: 40px;
    }

    .index-page .image img {
        min-height: 250px;
        max-height: 550px;
    }

    .index-page .image a {
        display: flex;
        justify-content: center;
    }

.index-page h2 {
    margin-top: 70px;
}

    .index-page h2.zag {
        text-align: right;
        margin-right: 70px;
        margin-left: 0px;
    }








.education-page h2 {
    margin-left: 0;
    text-align: center;
}

.education-page section{
	padding-left: 0;
}

.education-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center 
}

.education-page .text {
    width: 100%;
    padding: 0px 70px;
    box-sizing: border-box;
}

    .education-page .text p{
        text-align: center;
    }

.education-page .image {
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
		flex-direction: row;
        margin-top: 30px;
        gap: 20px;
        margin: 0px;
    }

    .education-page .image iframe, .education-page .image a {
        width: 30%;
        height: auto;
        object-fit: cover;
        border: 5px solid #335F71;
        border-radius: 10px;
    }

        .education-page .image a img {
            height: 100%;
            width: 100%;
            border: none;
            border-radius: 3px;
        }











.hobby-page section {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.hobby-page .image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

    .hobby-page .image img, .hobby-page .image a {
        width: auto;
        height: 280px;
    }

    .hobby-page .image #python {
        height: auto;
        width: 450px;
    }

.hobby-page .text {
    margin: 75px 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0px 20%;
    box-sizing: border-box;
}









.contact-page section {
    margin-bottom: 60px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.contact-page h2 {
    padding: 30px 0px 15px 0px;
    margin: 0px;
    text-align: center;
}

    .contact-page h2:nth-of-type(2) {
        margin: -30px 0px 35px 0px;
    }

.contact-page section.s1 {
    flex-direction: column;
}

    .contact-page section.s1 .text {
        display: flex;
        justify-content: center;
        width: 80%;
    }

        .contact-page section.s1 .text p {
            text-align: center;
        }

    .contact-page section.s1 .image {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 80px;
    }

        .contact-page section.s1 .image iframe {
            width: 500px
        }

.contact-page section.s2 {
    flex-direction: row;
    padding: 0px 5%;
    box-sizing: border-box;
    gap: 5%;
}

    .contact-page section.s2 .text {
        width: 60%;
    }

        .contact-page section.s2 .text p {
            text-align: left;
        }

    .contact-page section.s2 .image {
        display: flex;
        width: 50%;
        justify-content: space-between;
        align-items: center;
        gap: 5%
    }

        .contact-page section.s2 .image img {
            width: 90%;
        }




.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

    .modal:target {
        display: block;
    }

#modal_dc div {
    display: flex;
    order: 1;
    justify-content: center;
    align-items: center;
    border-color: #A0C5D4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #173F4F;
    margin: 15% auto;
    border: 5px solid;
    width: 70%;
    height: 30%;
    border-radius: 8px;
    font-size: 30px;
    padding: 40px;
    color: white;
    position: relative;
    animation: fadeInModal 0.5s ease-out forwards;
}

#modal_email div {
    display: flex;
    order: 1;
    justify-content: center;
    align-items: center;
    border-color: #A0C5D4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #173F4F;
    margin: 15% auto;
    border: 5px solid;
    width: 70%;
    height: 30%;
    border-radius: 8px;
    padding: 40px;
    color: white;
    position: relative;
    gap: 10%;
    animation: fadeInModal 0.5s ease-out forwards;
}

@keyframes fadeInModal {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#modal_email div a {
    height: 70%;
}

#modal_email img {
    height: 100%
}

.close {
    color: #aaa;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    order: 2;
    height: auto;
    position: absolute;
    right: 25px;
    top: calc(50% - 40px);
}

    .close:hover, .close:focus {
        color: black;
    }






.achievements-page section {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid #0E2630;
    padding-bottom: 70px;
}

.achievements-page .text {
    width: 50%;
    height: 100%;
    padding-left: 5%;
}

.achievements-page .image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
}

.achievements-page .image img {
    max-height: 450px;
}