* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(210, 237, 245);
    font-family: 'Roboto', sans-serif;
}

.initial-window {
    background: rgba(19, 144, 194, 0.425);
    margin: 50px auto auto auto;
    width: 70vw;
    height: 800px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#about-me {
    padding: 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 30px;
    margin-left: 40px;
}

#about-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

#about-me-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

#about-me-right img {
    margin: 5px 10px 10px 5px;
    width: 250px;
}

#contacts {
    width: 400px;
    height: 220px;
    background-color: rgb(59, 132, 192);
    border-radius: 40px;
    padding: 10px;
    margin-top: 15px;
}

#contacts p {
    margin: 5px 5px 20px 5px;
    font-size: 18px;
    width: 350px;
    height: auto;
}

#contacts a {
    margin: 10px 10px;
    text-decoration: none;
    color: #222;
    font-size: 18px;
}

#contacts a:hover {
    text-decoration: underline;
}

#texts {
    margin: 80px 30px 0 60px;
    font-size: 20px;
    line-height: 1.5;
    text-justify: inter-word;
}

img {
    margin: 20px 0 10px 0;
    width: 250px;
    height: auto;
}

button {
    background-color: white;
    color: black;
    border: none;
    border-radius: 20px;
    padding: 15px 30px;
    margin: 20px 0 10px 0;
    font-size: 25px;
    line-height: 1.5;
    cursor: pointer;
}

button img {
    display: block;
    margin: 0 auto 10px auto;
}

button span {
    display: block;
    text-align: center;
    font-size: 18px;
}

#buttons {
    display: flex;
    justify-content: center;
}

#exp-School {
    margin: 20px 30px 10px 0;
}

#school-window {
    background: rgba(19, 144, 194, 0.425);
    margin: 50px auto auto auto;
    width: 70vw;
    height: 800px;
    border-radius: 40px;
}

#about-school {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 50px 20px 5px 20px;
    text-align: center;
    font-size: 20px;
}

#about-school-info {
    margin-right: 120px;
    text-align: center;
}

#about-school-info h2, #about-experience h2 {
    margin-bottom: 20px;
}

#about-school-info p {
    display: flex;
    margin-bottom: 8px;
}

#about-experience {
    text-align: center;
}

#about-container-school {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#about-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

#projects-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    text-align: center;
    font-size: 20px;
}

#project-info {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

iframe {
    border: 2px solid #ccc;
    border-radius: 20px;
    margin-top: 20px;
}

#back-button {
    margin: 20px 0 10px 40px;
}

button:hover {
    background-color: rgb(19, 144, 194);
    color: white;
    transition: 0.3s;
}

button:active {
    background-color: rgb(19, 144, 194);
    color: white;
    transform: scale(0.45);
}

@media (max-width: 400px) {
    #initial-window {
        margin: 20px auto;
        padding: auto;
        width: 90vw;
        height: 60vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #about-container {
        margin: 0;
        padding: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #about-me {
        margin: 20px 0 0 0;
        padding: 10px;
    }
    #about-me-right {
        margin: 0;
        padding: auto;
    }
    #about-me-right img {
        width: 200px;
        height: auto;
        margin: 0;
        padding: auto;
    }
    #contacts {
        width: 340px;
        height: auto;
        margin: 10px 0 0 0;
        padding: 5px;
    }
    #buttons {
        margin: 280px 10px 0 10px;
        height: auto;
    }
    #texts {
        margin: 20px;
        line-height: 1.0;
        font-size: 17px;
        text-align: center;
    }
    #school-window {
        margin: 20px auto;
        padding: auto;
        width: 90vw;
        height: auto;
    }
    #about-school {
        margin: 20px 10px 5px 10px;
        font-size: 16px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #about-school-info {
        margin: 0;
        padding: auto;
        text-align: center;
    }
}