body{
    margin:0;
    font-family:"Raleway", sans-serif;
    }

    .greetings {
        width: 800px;
        margin-left: 340px;
    }
    .welcome {
        font-family: "WindSong", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 50px;
        color: aliceblue;
    }
    .web {
        font-family: "Cormorant Unicase", serif;
        font-weight: 400;
        font-style: normal;
        letter-spacing: 0.3em;
        font-size: 40px;
        color: aliceblue;
    }
    .base {
        font-family: "Cormorant Unicase", serif;
        font-weight: 500;
        font-style: normal;
        font-size: 30px;
        color: aliceblue;
    }
    .text { 
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #37353E;
    }
.firstWebsite {
    width: 300px;
    padding: 10px;
    width:300px;
border-radius:12px;
border-color: #37353E;
transition:0.4s;
cursor:pointer;
}
.firstWebsite:hover{
    transform:scale(1.05);
    box-shadow:0 10px 30px rgba(23, 1, 35, 0.767);
    }
    .project{
        transition:0.4s;
        }
        
        .project:hover{
        transform:scale(1.05);
        box-shadow:0 15px 40px rgba(0,0,0,0.3);
        }


.examples {
    text-decoration: overline;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-size: 25px;
    padding: 15px;
        text-align:center;
        font-size:28px;
        margin-top:40px;
        letter-spacing:2px;
        }

    
.videoSelection {
    display: flex;
    justify-content: center;
    flex:1;
}
.contacts {
    text-transform: uppercase;
}
h2 {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    display: flex;
    justify-content: center;

    
}
.contact {
    display:flex;
    justify-content:center;
    gap:60px;
    margin-top:30px;
    flex-wrap:wrap;
}
.one {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.one img{
    transition:0.3s;
    cursor:pointer;
    }
    
    .one img:hover{
    transform:scale(1.2);
    }
hr {
    width: 60%;
    margin: 60px auto;
    opacity: 0.3;
}
a {
    text-decoration: none;
    color: #37353E;
}
.education {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* вместо space-around */
    margin-top: 30px;
}

.diploma {
    width: 400px; /* 600px может быть слишком большим */
    border-radius: 10px;
}

.Java p:first-child {
    font-size: 60px;
}

.Java p:last-child {
    font-size: 16px;
    color: #555;
    text-align: center;
}
.Java {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.divider {
    width: 2px;
    height: 150px;
    background-color: #ccc;
}

@media (max-width: 768px) {

    /* картинка сверху */
    .greetings {
        width: 90%;
        margin-left: 0;
        display: block;
        margin: 0 auto;
    }

    /* текст */
    .welcome {
        font-size: 36px;
        text-align: center;
    }

    .web {
        font-size: 24px;
        text-align: center;
        letter-spacing: 0.15em;
    }

    .base {
        font-size: 18px;
        text-align: center;
    }

    /* видео */
    .videoSelection {
        flex-direction: column;
        align-items: center;
    }

    .firstWebsite {
        width: 90%;
    }

    /* education блок */
    .education {
        flex-direction: column;
        gap: 20px;
    }

    .divider {
        display: none;
    }

    .diploma {
        width: 90%;
    }

    /* контакты */
    .contact {
        gap: 30px;
    }

    h2 {
        font-size: 20px;
    }

    .examples {
        font-size: 20px;
    }
}


